/* || Info banner */
#info-banner {
    background-color: #1D1B1A;
    position: relative;
}

#info-banner .back-to-previous-version-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#info-banner .back-to-previous-version {
    color: #B5B3B3 !important;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: underline !important;
}

#info-banner .back-to-previous-version:hover {
    text-decoration: none !important;
    color: #FFF !important;
}

#info-banner .info-text {
    font-size: 14px;
    margin: 0;
}

#navbarDropdown {
    height: 25px;
}

#info-banner .dropdown-menu {
    min-width: 140px !important;
    padding: 0;
    border-radius: 6px;
    border: none;
}

#info-banner .dropdown-menu,
#header .dropdown-menu {
    min-width: 140px !important;
    padding: 0;
    border-radius: 6px;
    border: none;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
}

#info-banner .dropdown-menu .dropdown-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#info-banner .dropdown-menu .language-label {
    font-size: 0.813rem;
    color: #000000;
    margin-left: 18px;
}

#info-banner .dropdown-menu .dropdown-item:hover {
    border-radius: 3px;
    font-weight: 600;
}

#info-banner .dropdown-menu .dropdown-item:hover,
#header .dropdown-menu .dropdown-item:hover {
    background-color: #F9F9F9;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    content: none !important;
}

/* || Header */
#header {
    background-color: #fff;
    border-bottom: 0.5px solid #CDCDCD;
}

#header .header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

#header .header-logo-container {
    display: flex;
    align-items: center;
}


#header .mobile-menu {
    width: 32px;
    aspect-ratio: 1 / 1;
    position: relative;
    cursor: pointer;
    display: none;
}

#header .white-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml,<svg width="31" height="31" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15.5" cy="15.5" r="15.5" fill="%23000"/><rect x="8.5" y="11.6" width="13.9" height="1.1" rx=".6" fill="%23fff"/><rect x="8.5" y="15.4" width="13.9" height="1.1" rx=".6" fill="%23fff"/><rect x="8.5" y="19.3" width="13.9" height="1.1" rx=".6" fill="%23fff"/></svg>');
    background-size: contain;
    width: 100%;
    height: 100%;
}

#header .user-middle-cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#header #current-time {
    font-size: 0.75rem;
    text-wrap: nowrap;
}

#header .user-fullName {
    font-size: 1.125rem;
    font-weight: 600;
}

#header .user-autoNumber,
#current-time-mobile {
    font-size: 1rem;
}

#header .header-nav>ul {
    gap: 32px;
}

#header .header-nav>ul {
    gap: 32px;
}

#header .header-nav>ul>li {
    flex-shrink: 0;
}

#header .header-nav>ul .nav-link {
    gap: 6px;
}

#header .header-nav .picto {
    height: 22px;
    min-width: 22px;
}

#header .header-nav .picto.h-20 {
    height: 20px;
    min-width: 20px;
}

#header .header-nav .picto.fav {
    padding: 2px;
}

#header .cont-picto .picto-label {
    color: #000000;
}

#header .home,
#header .bell,
#header .purchases {
    padding: 0 1px;
}

#header .logout {
    padding: 1px;
}

#header .cont-picto:nth-child(1) {
    display: none;
}

#header .cont-picto .picto {
    opacity: 0.6;
}

#header .cont-cart .badge {
    font-size: 7px;
    top: 5px;
    right: -10px;
}

#header .cont-picto.dropdown-menu {
    padding: 10px
}

#header .cont-picto.dropdown-menu .nav-link {
    padding: 0 10px;
    border-radius: 3px;
    height: 36px;
}

#header .cont-picto.dropdown-menu .nav-link.active-page {
    background-color: #F9F9F9;
}

#header .cont-picto.dropdown-menu .active-page .picto,
#header .cont-picto.dropdown-menu .active-page .picto-label {
    opacity: 1;
    font-weight: 500 !important;
}

#header .cont-picto.dropdown-menu .nav-link+.nav-link {
    margin-top: 4px;
}

#header .cont-picto .nav-link:hover .picto {
    opacity: 1;
}

#header .cont-picto .nav-link:hover .picto-label {
    opacity: 1;
}

#header .btn-logout-header {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    margin: 0.5rem 1rem !important;
    font-size: 0.625rem !important;
    text-align: center;
    width: 90%;
}

#sidebar-mobile {
    display: none;
}

.status-indicator {
    position: absolute;
    top: 1px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #31D569;
}

@media screen and (max-width: 991px) {

    /* || Header */
    #header {
        border-bottom: 0.5px solid #CDCDCD;
        box-shadow: 0px 3px 15px 0px #0000000D;
        position: sticky;
        top: 0px;
        left: 0px;
        z-index: 1035;
    }

    #header .header-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    #header .menu-mobile {
        display: block;
    }

    #header .header-nav>ul {
        gap: 12px;
    }

    #header .cont-picto:nth-child(1) {
        display: list-item;
    }

    #header .cont-picto:nth-child(2),
    #header .cont-picto:nth-child(3),
    #header .cont-picto:nth-child(4) {
        display: none;
    }

    #header .cont-picto .picto-label {
        display: none;
    }

    #header .logo {
        height: 35px;
        object-fit: contain;
    }

    #header .mobile-menu {
        display: block;
    }

    #header .user-middle-cont {
        padding-bottom: 0px;
        flex-direction: column-reverse;
        align-items: center;
    }


    #header .user-info-subwrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }


    #header .user-middle-cont .user-fullName {
        display: none;
    }

    #header .user-middle-cont .user-autoNumber {
        text-align: center;
        font-size: 0.75rem;
    }

    #header .open-menu-mobile .picto {
        opacity: 1 !important;
        height: 30px;
        width: 30px;
        min-width: 30px;
    }

    /* || Sidebar-mobile */
    #sidebar-mobile {
        display: grid;
        grid-template-columns: 0fr;
        transition: grid-template-columns 0.25s ease;
        -webkit-transition: grid-template-columns 0.25s ease;
        position: absolute !important;
        top: 0;
        left: 0;
        z-index: 2000;
        background-color: #FFF;
    }

    #sidebar-mobile.mobile-collapse {
        grid-template-columns: 1fr !important;
        box-shadow: 4px 0px 20px 170vh #00000050;
    }

    #sidebar-mobile .sidebar-wrapper {
        padding-left: 14px;
    }

    #sidebar-mobile .close-mobile-menu {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    #sidebar-mobile .user-info-wrapper {
        align-items: start;
        padding-right: 30px;
        padding-left: 6px;
        margin-bottom: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    #sidebar-mobile .user-fullName {
        font-size: 1.25rem;
        text-wrap: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #sidebar-mobile .grid-collapse {
        overflow: hidden;
    }

    #sidebar-mobile .sidebar-wrapper {
        padding: 12px;
        border-radius: 6px;
        width: 280px;
        height: 100vh;
    }

    #sidebar-mobile .sidebar-wrapper>a+a {
        margin-top: 6px;
    }

    #sidebar-mobile .grid-collapse>.nav-link {
        margin-bottom: 8px;
    }

    #sidebar-mobile button {
        height: 28px;
    }

    #sidebar-mobile .nav-link {
        padding: 0 16px;
        height: 45px;
        overflow: hidden;
    }

    #sidebar-mobile .nav-link .picto {
        min-width: 20px;
        opacity: 0.6;
    }

    #sidebar-mobile .nav-link:hover,
    #sidebar-mobile .nav-link:focus {
        background-color: #F6F6F6 !important;
    }

    #sidebar-mobile .nav-link:hover,
    #sidebar-mobile .nav-link:focus,
    #sidebar-mobile .nav-link.active-page {
        background-color: #F6F6F6 !important;
    }

    #sidebar-mobile .nav-link.active-page .picto-label {
        font-weight: 500 !important;
    }

    #sidebar-mobile .nav-link:hover .picto,
    #sidebar-mobile .nav-link.active-page .picto {
        opacity: 1;
    }

    #sidebar-mobile .nav-link:hover .picto-label,
    #sidebar-mobile .nav-link.active-page .picto-label {
        opacity: 1;
    }
}