 
    /* Sidebar styles */
.sidebar {
    min-height: 100vh;
    transition: all 0.3s ease;
    z-index: 1;
    width: 250px;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .menu-label,
.sidebar.collapsed .menu-list a span:last-child,
.sidebar.collapsed .submenu-header span:last-child {
    display: none;
}

.sidebar.collapsed .menu-list a i,
.sidebar.collapsed .submenu-header i {
    justify-content: center;
    margin-right: 0 !important;
}

.sidebar .menu-list a,
.sidebar .submenu-header {
    display: flex;
    align-items: center;
}

.sidebar .menu-list a i,
.sidebar .submenu-header i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

/* Overlay for mobile */
.overlay {
    display: none;
}
@media (max-width: 1023px) {
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 0;
    }
    .overlay.active {
        display: block;
    }
}

@media (max-width: 1023px) {
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
}

.main-content {
    flex: 1;
    transition: margin-left 0.3s ease;
}

/* Theme Toggle Switch */
.theme-toggle {
    display: inline-block;
    width: 50px;
    height: 24px;
    position: relative;
    background: #ccc;
    border-radius: 15px;
    transition: background 0.3s;
    cursor: pointer;
}
.theme-toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}
html[data-theme="dark"] .theme-toggle {
    background: #4a4a4a;
}
html[data-theme="dark"] .theme-toggle::before {
    transform: translateX(26px);
}

/* Submenu */
.submenu {
    display: none;
    margin-left: 24px;
}
.submenu.active {
    display: block;
}

/* Custom scrollbar */
.sidebar {
    overflow-y: auto;
    scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 3px;
} 