:root {
    --primary: #6366f1;
    --primary-muted: rgba(99, 102, 241, 0.2);
    --secondary: #a855f7;
    --accent: #10b981;
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
}

body {
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
    color: white;
}

.form-control, .form-select {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid var(--border-color);
    color: white !important;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-muted);
}

.table {
    border-radius: 0.75rem;
    overflow: hidden;
    --bs-table-bg: transparent;
}

.table th {
    background: rgba(51, 65, 85, 0.5);
    color: var(--text-dim) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border: none;
}

.table td {
    padding: 1.25rem 1rem;
    border-color: var(--border-color);
}

.sidebar-nav .nav-link {
    color: var(--text-dim);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s;
}

.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.badge {
    padding: 0.5em 0.75em;
    border-radius: 0.5rem;
    font-weight: 500;
}

.stats-card {
    text-align: center;
    border-bottom: 4px solid var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }