:root {
    --bg-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --accent-cyan: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.25);
    --border-glow: rgba(56, 189, 248, 0.2);
    --text-muted: #94a3b8;
}

body {
    background-color: var(--bg-dark) !important;
    color: #f8fafc !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar Style */
.navbar-futuristic {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
}

.navbar-dark .navbar-nav .nav-link {
    color: #cbd5e1 !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #38bdf8 !important;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow) !important;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 10px 30px -5px var(--accent-glow);
}

/* Neon Button */
.btn-neon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
    color: #ffffff !important;
    font-weight: 600;
    border: none !important;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Text Overrides for Dark Theme */
.text-muted {
    color: #94a3b8 !important;
}

/* ---------------------------------------------------
   SINKRONISASI TAB NAVIGASI (Fix Tab Putih)
--------------------------------------------------- */
.nav-tabs {
    border-bottom: 1px solid var(--border-glow) !important;
}

.nav-tabs .nav-link {
    color: #94a3b8 !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: #38bdf8 !important;
    background-color: rgba(56, 189, 248, 0.05) !important;
}

.nav-tabs .nav-link.active {
    color: #38bdf8 !important;
    background-color: rgba(6, 182, 212, 0.15) !important;
    border-bottom: 2px solid #06b6d4 !important;
}

/* ---------------------------------------------------
   SINKRONISASI TABEL BOOTSTRAP (Fix Latar Putih Table)
--------------------------------------------------- */
.table-responsive {
    background-color: transparent !important;
}

.table-futuristic,
.table-futuristic > :not(caption) > * > * {
    background-color: transparent !important;
    color: #f8fafc !important;
    border-color: var(--border-glow) !important;
    box-shadow: none !important;
}

.table-futuristic th {
    background-color: rgba(15, 23, 42, 0.8) !important;
    color: #38bdf8 !important;
    font-weight: 700;
    border-bottom: 2px solid var(--border-glow) !important;
}

.table-futuristic td {
    background-color: transparent !important;
    color: #f8fafc !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1) !important;
    vertical-align: middle;
}

.table-futuristic tbody tr:hover > * {
    background-color: rgba(56, 189, 248, 0.05) !important;
    color: #ffffff !important;
}

/* Wrapper Layout Fix */
.main-wrapper {
    flex: 1;
}