:root {
    --primary: #f59e0b; /* Amber/Warning */
    --bg-dark: #0f172a; /* Slate 900 */
    --card-bg: rgba(30, 41, 59, 0.7); /* Slate 800 with opacity */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Animations */
.main-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.blob1, .blob2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
    will-change: transform;
}

.blob1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,1) 0%, rgba(245,158,11,0) 70%);
    top: -100px; left: -200px;
}

.blob2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,1) 0%, rgba(59,130,246,0) 70%);
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.1); }
}

/* Glassmorphism Cards - High Performance Pseudo-Glass */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%), var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Inputs & Forms */
.form-control {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
}

.form-control:focus {
    background-color: rgba(15, 23, 42, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(245, 158, 11, 0.25);
    color: #fff;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: scale(1.05);
}

/* Tables */
.table-glass,
.table-glass th,
.table-glass td {
    color: #f8fafc !important;
    background-color: transparent;
}

.table-glass th, .table-glass td {
    background-color: rgba(30, 41, 59, 0.85); /* Slightly darker transparent base */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.table-glass tbody tr:hover td {
    background-color: rgba(245, 158, 11, 0.1);
}

/* Global Text Overrides for Contrast */
.text-muted {
    color: var(--text-muted) !important;
}

.form-label {
    color: #e2e8f0 !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.6 !important;
}

/* Charts container */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}
