:root {
    --sidebar-width: 250px;
}
body {
    background: #f8f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    position: sticky;
    top: 0;
    left: 0;
    transition: all 0.3s;
    z-index: 1000;
}
.sidebar .nav-link {
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.1);
}
.sidebar .nav-link.active {
    background: #0d6efd;
}
.sidebar .nav-section {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.9rem 0.75rem 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin: 0.25rem 0 0.35rem;
}
.sidebar .nav-section:first-child {
    padding-top: 0;
}
.sidebar .nav-divider {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 0.4rem;
    padding-top: 0.25rem;
}
.main-content {
    margin-left: 0;
    transition: all 0.3s;
}
.card {
    border: none;
    border-radius: 12px;
}
.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
}
.table th {
    border-top: none;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}
.icon-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
[data-bs-theme="dark"] body {
    background: #1a1a2e;
}
[data-bs-theme="dark"] .card {
    background: #16213e;
    color: #e0e0e0;
}
[data-bs-theme="dark"] .navbar {
    background: #0f3460 !important;
}
[data-bs-theme="dark"] .table {
    color: #e0e0e0;
}
@media (max-width: 768px) {
    .sidebar {
        width: 0;
        overflow: hidden;
        position: fixed;
    }
    .sidebar.show {
        width: var(--sidebar-width);
    }
    .main-content {
        margin-left: 0 !important;
    }
}
