.sidebar {
    width: 280px;
    position: sticky;
    top: 5.75rem;
    left: 100vw;
    height: fit-content;
    max-width: 15%;
    min-width: 15%;
    overflow-y: auto;
    padding-right: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: var(--color-bg-light);
    margin-right: 35px;
    border-radius: 0.5rem;
    border-color: var(--color-border);
}

.sidebar-general {
    width: 280px;
    position: sticky;
    top: 5.75rem;
    height: calc(100vh - 7.75rem);
    max-width: 13%;
    min-width: 13%;
    overflow-y: auto;
    padding-right: 1rem;
    padding-top: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: var(--color-bg-light);
    margin-right: 5px;
    border-radius: 0.5rem;
    border-color: var(--color-border);
}

/** Set the sidebar not glued to the left */
.sidebar-container {
    display: flex;
    min-height: 90vh;
}

.sidebar-sub-container {
    margin-left: -16%;
    margin-right: 20%;
    width: 62vw;
}

.sidebar::-webkit-scrollbar, .sidebar-general::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track, .sidebar-general::-webkit-scrollbar-track{
    background: var(--color-bg-medium);
}

.sidebar::-webkit-scrollbar-thumb, .sidebar-general::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover, .sidebar-general::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-primary-light);
    text-align: center;
}

.nav-list {
    list-style-type: none;
    padding: 0;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
}

.nav-list li {
    margin-bottom: 0.25rem;
}

.nav-list a {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    transition: all 0.2s;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-list a:hover {
    color: var(--color-text-light);
    text-decoration: none;
    border-left-color: var(--color-primary);
    background-color: rgba(20, 50, 184, 0.1);
}

.nav-list a.active {
    color: var(--base-color-light);
    border-left-color: var(--color-primary);
    border-left-width: 0.2rem;
    font-weight: 600;
    background-color: rgba(20, 50, 184, 0.2);
}

/*---------- SUBNAV-LIST ----------*/
.subnav-list {
    list-style-type: none;
    padding-left: 0rem;
    margin-bottom: 0.5rem;
    border-left-color: var(--color-primary);
    border-left-width: 0.2rem;
    
}

.subnav-list li {
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: var(--color-border);
}

.subnav-list li:hover {
    border-left-style: none;
    border-width: 4px;
    transition: all 0s;
    border-left-color: var(--color-border);
}

.subnav-list a {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    font-weight: normal;

}

