.sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    color: var(--text-sidebar);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 20px;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid #334155;
}

.sidebar-nav {
    padding: 10px 0;
}

.nav-group {
    display: flex;
    flex-direction: column;
}

.nav-dropdown-btn,
.nav-single-link {
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-sidebar);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-dropdown-btn:hover,
.nav-single-link:hover {
    background-color: #334155;
    color: #fff;
}

.nav-dropdown-content {
    display: none;
    background-color: #0f172a;
}

.nav-dropdown-content a {
    display: block;
    padding: 10px 20px 10px 40px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-dropdown-content a:hover,
.active-link {
    color: #fff !important;
    font-weight: bold;
}

/* États ouverts du menu */
.nav-group.open .nav-dropdown-content {
    display: block;
}

.nav-group.open .arrow {
    transform: rotate(90deg);
}

.arrow {
    transition: transform 0.2s;
    font-size: 0.8rem;
}
