/* Radaromat Premium Light Theme V2 */
:root {
    --bg-main: #f3f6f9;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary: #3b82f6;
    --primary-subtle: #eff6ff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f3f6f9 0%, #e2e8f0 100%) !important;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Glass Navbar */
.glass-navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Premium Cards with soft shadows */
.premium-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* Special Gradient Cards */
.card-gradient-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.4);
}

.card-gradient-primary {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
}

/* Glass Inner Boxes */
.glass-box {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}
.glass-box:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Typography Enhancements */
.fw-black { font-weight: 800; }
.tracking-wide { letter-spacing: 0.05em; }
.text-dark { color: var(--text-main) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Pulse animation for the online badge */
@keyframes pulse-light {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-badge {
    animation: pulse-light 2s infinite;
}

/* Flash Animation for Updates */
@keyframes flash-update-light {
    0% { transform: scale(0.95); color: var(--primary); text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
    50% { transform: scale(1.05); color: var(--primary); }
    100% { transform: scale(1); }
}
.flash-on-update {
    animation: flash-update-light 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ApexCharts Styling */
.apexcharts-tooltip {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
    color: var(--text-main) !important;
    border-radius: 0.75rem !important;
}
.apexcharts-tooltip-title {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
}
.apexcharts-text {
    font-family: 'Inter', sans-serif !important;
}

/* Compact Table Polishing */
.compact-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0,0,0,0.05) !important;
}
.compact-table td {
    font-size: 0.85rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
    transition: background-color 0.2s;
}
.compact-table tr:hover td {
    background-color: rgba(59, 130, 246, 0.03);
}
