:root {
    --bg-dark: #070a13;
    --card-bg: rgba(15, 23, 42, 0.88);
    --card-border: rgba(0, 242, 254, 0.3);
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.4);
    --secondary: #38bdf8;
    --accent: #a855f7;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 242, 254, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.12) 0%, transparent 45%);
    background-attachment: fixed;
}

/* Bright, High-Contrast Text Settings */
.text-muted {
    color: #cbd5e1 !important;
}

.text-cyan {
    color: #00f2fe !important;
}

/* High Contrast Form Inputs & Selects */
.form-control, .form-select {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
    border-radius: 10px;
    padding: 10px 14px;
}

.form-control:focus, .form-select:focus {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35) !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 1;
}

code {
    color: #fbbf24 !important;
    background-color: rgba(15, 23, 42, 0.95) !important;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
    box-shadow: 0 12px 40px 0 var(--primary-glow);
}

.glow-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn-cyber {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000000 !important;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    transition: all 0.25s ease;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary);
    color: #000000 !important;
}

.btn-outline-cyber {
    background: transparent;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-outline-cyber:hover {
    background: var(--primary);
    color: #000000 !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Sidebar Styling */
.sidebar-sticky {
    position: sticky;
    top: 20px;
}

.nav-sidebar .nav-link {
    color: #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    margin-bottom: 5px;
    transition: all 0.25s ease;
}

.nav-sidebar .nav-link:hover, .nav-sidebar .nav-link.active {
    color: #ffffff !important;
    background: rgba(0, 242, 254, 0.16);
    border-left: 4px solid #00f2fe;
}

.table-dark {
    --bs-table-bg: transparent;
    color: #f8fafc;
}

.table-dark th {
    color: #94a3b8;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.08);
}

/* 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: var(--primary);
}
