:root {
    --dark-bg: #050816;
    --dark-card: rgba(15, 23, 42, 0.88);
    --neon-blue: #38bdf8;
    --neon-green: #22c55e;
    --neon-purple: #8b5cf6;
    --text-light: #e5e7eb;
    --text-muted: #94a3b8;
    --glass-border: rgba(148, 163, 184, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

body.dashboard-body {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.20), transparent 40%),
        linear-gradient(135deg, #020617, #0f172a);
    color: var(--text-light);
    min-height: 100vh;
}

.navbar {
    background: rgba(2, 6, 23, 0.92) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

.navbar-brand {
    letter-spacing: 0.5px;
}

.sidebar {
    min-height: calc(100vh - 56px);
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.95));
    padding-left: 18px;
    padding-right: 18px;
    border-right: 1px solid rgba(56, 189, 248, 0.18);
}

.sidebar h5 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--text-muted) !important;
}

.sidebar-link {
    display: block;
    padding: 12px 14px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 9px;
    transition: 0.25s;
    border: 1px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.14));
    color: white;
    border: 1px solid rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.14);
    transform: translateX(4px);
}

.futuristic-hero {
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(34, 197, 94, 0.12)),
        rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.10);
    position: relative;
    overflow: hidden;
}

.futuristic-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    right: -90px;
    top: -110px;
    filter: blur(8px);
}

.futuristic-title {
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.4px;
}

.futuristic-subtitle {
    color: #cbd5e1;
    max-width: 720px;
}

.dashboard-card,
.card {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    color: var(--text-light);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.dashboard-card {
    min-height: 120px;
    transition: 0.25s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.12);
}

.dashboard-card .text-muted,
.card .text-muted,
p.text-muted {
    color: var(--text-muted) !important;
}

.dashboard-card h3 {
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.card-header {
    background: rgba(2, 6, 23, 0.72) !important;
    color: white;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px 18px 0 0 !important;
}

.table {
    color: var(--text-light);
}

.table-dark {
    --bs-table-bg: #020617;
}

.table-bordered {
    border-color: rgba(148, 163, 184, 0.2);
}

.table > :not(caption) > * > * {
    background-color: rgba(15, 23, 42, 0.4);
    color: var(--text-light);
    border-color: rgba(148, 163, 184, 0.16);
}

.form-control,
.form-select {
    background-color: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: white;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(15, 23, 42, 0.9);
    color: white;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.18);
}

.form-control::placeholder {
    color: #64748b;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #facc15);
    border: none;
    color: #111827;
}

.btn-dark {
    background: linear-gradient(135deg, #111827, #334155);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.btn-secondary {
    background: rgba(100, 116, 139, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.alert {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.alert-success {
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.16);
    color: #fde68a;
}

.progress {
    background-color: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}

.progress-bar {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
}

.auth-body {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 35%),
        radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.22), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a);
}

.auth-card {
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.86);
    color: white;
    backdrop-filter: blur(14px);
}

.hero-img {
    max-height: 420px;
    object-fit: cover;
}

.feature-list {
    font-size: 18px;
    line-height: 1.8;
}

.feature-card {
    border: none;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.neon-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.32);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

pre {
    color: #cbd5e1;
    background: rgba(2, 6, 23, 0.75);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .dashboard-card h3 {
        font-size: 26px;
    }
}