.sidebar {
    width: var(--sidebar-width);
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* Sidebar Responsive State */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    }
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    padding: 0 1.25rem;
    z-index: 999;
    justify-content: space-between;
}

@media (max-width: 1024px) {
    .mobile-header { display: flex; }
}

.btn-menu {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.sidebar-brand-stylish {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.sidebar-profile {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.avatar-wrapper {
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--success));
    border-radius: 50%;
}

.avatar-main {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--surface-color);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary-color);
}

.profile-info h4 { font-size: 0.9rem; margin: 0; }
.profile-info p { font-size: 0.7rem; color: var(--text-secondary); margin: 0; }

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

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.75rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    background: var(--background-color);
    color: var(--primary-color);
}

.nav-icon-wrapper { margin-right: 0.75rem; display: flex; }

.sidebar-footer-minimal {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-theme-minimal {
    align-self: center;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

.btn-logout-minimal {
    width: 100%;
    padding: 0.6rem;
    background: rgba(239, 68, 68, 0.05);
    color: var(--error);
    border-radius: 0.6rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.btn-logout-minimal:hover { background: var(--error); color: white; }

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .header-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
