/*----------------------------------
sidebar
-----------------------------------*/

:root {
    --sidebar-w: 300px;
    --sidebar-w-collapsed: 0px;
}

.navbar {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
}

.container-side {
    position: fixed;
    top: 10rem;
    left: 0px;
    width: fit-content;
    z-index: 9999;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-w);
    background: #FFF;
    box-shadow: 10px 17px 16.1px 0 rgba(0, 0, 0, 0.25);
    height: calc(100vh - 10rem);
    overflow-y: auto;
    transition: display .25s ease;
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #4c4c4c;
}

.sidebar.collapsed {
    display: block;
    position: absolute;
    z-index: 9999;
}

/* Toggle bubble */
.toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 110, 253, .3);
}


/* Contenu */
.content {
    margin-left: var(--sidebar-w);
    margin-top: 10rem;
    padding: 20px;
    transition: margin-left .25s ease;
    height: calc(100vh - 10rem);
    overflow-y: auto;
}

.content::-webkit-scrollbar {
    width: 5px;
}

.content::-webkit-scrollbar-thumb {
    background: #4c4c4c;
    border-radius: 10px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: #4c4c4c;
}

.sidebar.collapsed~.content {
    margin-left: 0rem !important;
}

/* Petites finitions */
.sidebar .menu-link.active,
.sidebar .menu-link[aria-expanded="true"] {
    background: #e9f1ff;
}

.sidebar .menu-inner {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #007BFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar .icon svg {
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.sidebar .icon svg path {
    fill: #fff;
}

.sidebar .nav-item {
    border-bottom: 2px solid var(--foundation-soft-gray-fonds-yellow-700, #B3B1A3);
    background: var(--foundation-soft-gray-fonds-yellow-50, #FFFEFD);
    margin-bottom: 9px;
}

.sidebar .nav-item:last-child {
    margin-bottom: 0px;
}

.sidebar .menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--Foundation-Primaire-Primary-Blue-Deep, #00346B);
    /* H4 */
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    /* 136.364% */
    border-left: 2px solid #007BFF;
    padding: 9px 9px;
}

.sidebar .menu-link:hover {
    background: #e9ecef;
}

.sidebar .menu-sub {
    list-style: none;
    padding-left: 25px;
    margin: 5px 0;
}

.sidebar .menu-sub .menu-link {
    color: var(--foundation-soft-gray-fonds-yellow-700, #B3B1A3);

    /* Body Medium */
    font-family: Manrope;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    padding: 6px 10px;
    border-left: none;
}
@media(min-width: 1900px) {
    .content {
        margin-left: 0px;
    }
}
@media(max-width:992px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0px;
    }

    .sidebar .icon {
        width: 35px;
        height: 35px;
    }
    .sidebar .menu-link {
        font-size: 13px;
    }
    .sidebar .menu-sub .menu-link {
        font-size: 11px;
    }
}

/*-----------------------
search-nav
-------------------------*/
.search-nav {
    background: var(--Foundation-Secondaire-orange-50, #FFF6E6);
}

.search-nav .input-group {
    border-radius: 8px;
    border: 1px solid var(--Foundation-Secondaire-orange-500, #FFA500);
    background: var(--Gray-Palette-100, #FFF);
    height: 48px;
    max-width: 678px;
}

.search-nav .input-group span {
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-nav .input-group span i {
    color: #6F757E;
    font-size: 1rem;
}

.search-nav .input-group input {
    border: none;
    background-color: transparent;
    color: var(--Gray-Palette-700, #3F4753);

    /* M3/body/small */
    font-family: var(--Static-Body-Small-Font, Roboto);
    font-size: var(--Static-Body-Small-Size, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Static-Body-Small-Line-Height, 16px);
    /* 133.333% */
    letter-spacing: var(--Static-Body-Small-Tracking, 0.4px);
}