footer {
    height: max-content;
    background-color: #0f172a !important;
    box-shadow: var(--shadow-medium);
    box-sizing: border-box;
    margin:0;
    color: #fff;
    padding: 10px;
    width:100%;
    max-width: 1800px;
    margin-bottom:0 !important;
    margin-top: 35px;
}

#fcontent{
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
.footer_section_title {
    color:white !important;
    font-size: 16px;
    font-weight: bold;
}

#fcontent a {
    text-decoration: none;
    color: rgb(0, 153, 230);
}

#fcontent a:hover{
    color: white;
}
#administration_contact_links a, #extra_pages_access_links a, #users_accounts_login_pages a{
    display:block;
    white-space: nowrap;
}

#extra_pages_access_links, #users_accounts_login_pages {
    width: 200px;
    box-sizing: border-box;
    white-space:nowrap;
}

#extra_pages_access_links a, #users_accounts_login_pages a {
    margin: 15px 0 10px 0px;
    font-size:13px;
}

#administration_contact_links {
    box-sizing: border-box;
    margin-right: 20px;
    max-width:300px;
    white-space:nowrap;
    display: block;
}
#administration_contact_links a {
    font-size:13px;
    white-space: nowrap;
}

footer #copyright{
    text-align: center;
    margin-top: 25px;
    color:white
}
.socialmedia {
    display:inline-block !important;
    font-size: 14px;

}
.socialmedia:not(first-of-type){

}
.socialmedia img{
    width: 35px;
    border-radius: 3px;

}
.socialmedia img:hover{
    transform: scale(1.1);
    box-shadow: 1px 1px 7px 2px white;
}
.admin_contact_elmt {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.admin_contact_elmt img{
    width: 25px;
    border-radius: 3px;
    margin-right: 15px;
}

.get_app_on_app_store img {
    width:100px !important; 
    height: auto !important;
    position:static;
}
/* for handling scroll to top button  */
#scroll_to_top_button_section {
    text-align:right;
    display:none;
    position:fixed;
    top:90vh;
    right:20px;
    z-index:1000;
    text-align:center
}
#scroll_to_top {
    display:inline-block;
    height:50px;
    width:50px;
    background-color:lightgray;
    border-width:0;
    border-radius:25px;
    box-sizing:border-box;
    text-align:center;
    transition: all .5s ease
}
#scroll_to_top:hover {
    cursor:pointer;
    background-color:white;
    box-shadow:0 0 15px 1px darkgray;
}
#scroll_to_top img {
    position:relative;
    top:15px;
    width:20px;
    height:20px;
}
#catalogues_section_display_switch{
    cursor: pointer;
}
#catalogues_links_section {
    margin-left:25px;
    display:none
}

.app_installation_invite {
    box-sizing: border-box;
    font-size:14px;
    line-height: 1.7em;
    width:100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    left:0;
    background-color: black;
    color:white;
    padding:35px 0;
    z-index:999999;
    display: none;
}
.app_installation_invite a {
    font-weight: bold;
    color:rgb(0, 140, 230);
    font-size:14px;

}

/* --- Fixed Bottom Banner Styling --- */
.fixed-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Allows clicking page content behind the outer wrapper */
}

.banner-container {
    max-width: 900px;
    width: 100%;
    background-color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    pointer-events: auto; /* Re-enable clicks for the banner itself */
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 30px;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/*.banner-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}*/
.banner-info{
    width: 100%;
}
.illustration-mini{
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    border: 1px solid #EEEBE3;
    flex-shrink: 0;
}

.banner-container .text-content {
    text-align: left;
}

.banner-info h1 {
    font-size: 16px;
    color: green;
    margin: 0;
    font-weight: 800;
    height: max-content;
    position: relative;
    top:20px
}

.banner-info p {
    font-size: 14px;
    color: var(--bg-primary);
    line-height: 1.4;
    margin: 4px 0 0 0;
}

.close-banner {
    background: none;
    border: none;
    color: var(--bg-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        padding: 25px 20px;
        gap: 15px;
        text-align: center;
    }
    .banner-info {
        flex-direction: column;
        gap: 10px;
    }
    .text-content {
        text-align: center;
    }
}


@media only screen and (max-width:802px){
    footer {
        font-size:14px;
        height:max-content;
    }

    #extra_pages_access_links, #users_accounts_login_pages {
        width: 200px;
        box-sizing: border-box;
        margin-top: 20px;
    }
    #extra_pages_access_links a, #users_accounts_login_pages a {
        display: block;
        margin: 15px 0 10px 20px;
        font-size:12px;
    }
   
    footer #copyright{
        text-align: center;
        margin-top: 25px;
    }
   
    .socialmedia img{
        border-radius: 3px;
        width: 30px;
    }
    .socialmedia img:hover{
        transform: scale(1.1);
        box-shadow: 1px 1px 15px 2px white;
    }
    #fcontent{
        justify-content: space-between;
    }
}

@media only screen and (max-width:602px){
    #catalogues_links_section {
        margin-left:15px;
    }
    #administration_contact_links a {
        font-size:12px;
    }

}