/* ===== SIDEBAR ===== */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(8, 145, 178, 0.15);
    z-index: 100;
}

body.dark .sidebar {
    background: linear-gradient(180deg, #0c4a6e, #0e7490);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.sidebar-header h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav button {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    text-align: left;
    border-left: 3px solid transparent;
}

.sidebar-nav button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-nav button.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: white;
}

.theme-toggle {
    margin: 1.5rem;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}
