/* CABELAB 2025 - Dark Theme */
:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1d2e;
    --bg-card: rgba(26, 29, 46, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #ced4da;
    /* Lightened from dark gray */
    --accent-blue: #3b82f6;
    --accent-cyan: #00d9ff;
}

/* Global readability override */
.text-muted {
    color: #e0e0e0 !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

html {
    background: #000000;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
}

/* Card Styles */
.bg-dark-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    backdrop-filter: blur(10px);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Table Styles */
.table-dark {
    --bs-table-bg: rgba(15, 20, 25, 0.6);
    --bs-table-border-color: var(--border-color);
    color: var(--text-primary);
}

.table-dark thead {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 2px solid var(--accent-blue);
}

/* Badge Styles */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
}

/* Stat Icons */
.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}