/* ================================
   SIDEBAR CONTAINER
================================ */

.sidebar {
    width: 240px;
    background: linear-gradient(180deg, var(--sidebar-bg-start), var(--sidebar-bg-end));
    color: var(--sidebar-color);
    display: flex;
    flex-direction: column;
}

/* ================================
   SIDEBAR HEADER
================================ */

.sidebar-header {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid var(--sidebar-border);
}

/* ================================
   SIDEBAR NAV
================================ */

.sidebar-nav {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
}

/* ================================
   SIDEBAR SECTIONS
================================ */

.nav-section {
    margin-top: 18px;
}

.nav-section-title {
    display: block;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text-muted);
}

/* ================================
   NAV ITEMS
================================ */

.nav-item {
    display: block;
    padding: 12px 20px;
    color: var(--sidebar-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-section .nav-item {
    padding-left: 36px;
}

.nav-item:hover {
    background-color: var(--sidebar-hover-bg);
    color: var(--sidebar-color);
}

.nav-item.active {
    background-color: var(--sidebar-active-bg);
    font-weight: 600;
    color: var(--sidebar-color);
    border-left: 3px solid var(--sidebar-color);
}

/* ================================
   NAV STATES
================================ */

.nav-item.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-item--sub {
    padding-left: 52px;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Mini group label inside a nav section (e.g. "People", "Attendance") */
.nav-subhead {
    padding: 10px 20px 3px 36px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sidebar-text-muted);
    opacity: 0.8;
}
