/* Sidebar */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background: #111827;
    box-shadow: 2px 0 20px rgba(0,0,0,0.3);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.show {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #374151;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sidebar-content {
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #f3f4f6;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.sidebar-menu a.active {
    background: rgba(102, 126, 234, 0.2);
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: #374151;
    margin: 10px 20px;
    opacity: 0.7;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        left: -100%;
    }
} 