* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    overflow: hidden;
}

.app-container {
    display: grid;
    grid-template-areas:
        "header"
        "map";
    grid-template-columns: 1fr;
    grid-template-rows: 60px 1fr;
    height: 100vh;
}

/* ── Header ──────────────────────────────────────────── */
.header {
    grid-area: header;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 2px solid #ef4444;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    font-size: 28px;
    color: #ef4444;
    animation: pulse 2s infinite;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #334155;
    border: none;
    color: #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover { background: #475569; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.header-left h1 { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.header-right { display: flex; align-items: center; gap: 15px; }
.last-update { font-size: 12px; color: #94a3b8; }

.refresh-btn {
    background: #334155;
    border: none;
    color: #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.refresh-btn:hover { background: #475569; transform: rotate(180deg); }

/* ── Sidebar (floating overlay on left) ──────────────── */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 340px;
    height: calc(100vh - 60px);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    border-right: 1px solid #334155;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 200;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar-close {
    display: block;
    text-align: right;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #94a3b8;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 199;
}

.sidebar-overlay.open {
    display: block;
}

/* ── Simulator Section (in sidebar) ──────────────────── */
.sim-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #334155;
}

.sim-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #a78bfa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sim-row label { font-size: 12px; color: #94a3b8; white-space: nowrap; }

.sim-date {
    font-size: 13px;
    font-weight: 600;
    color: #a78bfa;
    font-family: monospace;
}

.sim-speed-btns { display: flex; gap: 4px; }

.sim-speed-btn {
    background: #334155;
    border: 1px solid #475569;
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.sim-speed-btn.active { background: #6d28d9; border-color: #7c3aed; color: white; }

.sim-controls { display: flex; gap: 6px; }

.sim-btn {
    flex: 1;
    border: none;
    color: white;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sim-btn-play { background: #6d28d9; }
.sim-btn-play:hover { background: #7c3aed; }
.sim-btn-play.running { background: #dc2626; }
.sim-btn-play.running:hover { background: #ef4444; }
.sim-btn-danger { background: #475569; flex: 0; padding: 7px 12px; }
.sim-btn-danger:hover { background: #64748b; }

.sim-manual-btns { display: flex; gap: 4px; }

.sim-btn-event { background: #b45309; }
.sim-btn-event:hover { background: #d97706; }
.sim-btn-nuke { background: #7f1d1d; }
.sim-btn-nuke:hover { background: #991b1b; }
.sim-btn-missile { background: #1e3a5f; }
.sim-btn-missile:hover { background: #1e40af; }

/* ── Filters ─────────────────────────────────────────── */
.filters h3, .crisis-list h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #334155;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.filter-group label:hover { background: #334155; }
.filter-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: #ef4444; }
.filter-group i { width: 20px; text-align: center; }

/* ── Crisis List ─────────────────────────────────────── */
.crisis-list h3 { display: flex; align-items: center; gap: 10px; }

.badge {
    background: #ef4444;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

.crisis-items { display: flex; flex-direction: column; gap: 8px; }

.crisis-item {
    background: #334155;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.crisis-item:hover { background: #475569; transform: translateX(4px); }
.crisis-item.critical { border-left-color: #dc2626; }
.crisis-item.high { border-left-color: #ea580c; }
.crisis-item.medium { border-left-color: #ca8a04; }
.crisis-item.low { border-left-color: #16a34a; }

.crisis-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 4px; }
.crisis-title { font-weight: 600; font-size: 12px; }
.crisis-type { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.crisis-location { font-size: 11px; color: #94a3b8; margin-bottom: 4px; }
.crisis-severity { display: flex; align-items: center; gap: 5px; font-size: 11px; }

.severity-indicator {
    height: 4px;
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.severity-indicator span { display: block; height: 100%; border-radius: 2px; transition: width 0.5s ease; }
.severity-indicator.critical span { background: #dc2626; width: 100%; }
.severity-indicator.high span { background: #ea580c; width: 75%; }
.severity-indicator.medium span { background: #ca8a04; width: 50%; }
.severity-indicator.low span { background: #16a34a; width: 25%; }

/* ── Map (full screen) ────────────────────────────────── */
.map-container { grid-area: map; position: relative; overflow: hidden; }
#map { width: 100%; height: 100%; background: #0f172a; z-index: 1; }

/* SVG animation overlay */
.anim-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 450;
}


/* ── Custom Markers ──────────────────────────────────── */
.crisis-marker { background: transparent; border: none; }

.marker-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    animation: markerPulse 2s infinite;
    transition: background 0.5s ease;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.marker-icon.critical { background: #dc2626; }
.marker-icon.high { background: #ea580c; }
.marker-icon.medium { background: #ca8a04; }
.marker-icon.low { background: #16a34a; }

/* ── Explosion marker ────────────────────────────────── */
.explosion-marker { background: transparent; border: none; }

.explosion-ring {
    border-radius: 50%;
    border: 3px solid #ef4444;
    animation: explode 1.2s ease-out forwards;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes explode {
    0% { width: 10px; height: 10px; opacity: 1; border-color: #fbbf24; box-shadow: 0 0 30px #fbbf24; }
    30% { border-color: #f97316; box-shadow: 0 0 60px #f97316; }
    100% { width: 120px; height: 120px; opacity: 0; border-color: #ef4444; box-shadow: 0 0 0px transparent; }
}

.explosion-core {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24, #ef4444, transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: explodeCore 0.8s ease-out forwards;
}

@keyframes explodeCore {
    0% { width: 8px; height: 8px; opacity: 1; }
    50% { width: 40px; height: 40px; opacity: 0.8; }
    100% { width: 60px; height: 60px; opacity: 0; }
}

/* ── Nuke effect ─────────────────────────────────────── */
.nuke-marker { background: transparent; border: none; }

.nuke-mushroom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, #fbbf24, #ef4444, #7f1d1d);
    animation: nukeFlash 2.5s ease-out forwards;
    box-shadow: 0 0 80px 20px rgba(251, 191, 36, 0.8);
}

@keyframes nukeFlash {
    0% { width: 20px; height: 20px; opacity: 1; box-shadow: 0 0 80px 20px rgba(255,255,255,0.9); }
    10% { width: 80px; height: 80px; box-shadow: 0 0 120px 40px rgba(251,191,36,0.8); }
    40% { width: 60px; height: 60px; opacity: 0.7; }
    100% { width: 100px; height: 100px; opacity: 0; box-shadow: none; }
}

.nuke-shockwave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(251, 191, 36, 0.6);
    border-radius: 50%;
    animation: nukeWave 3s ease-out forwards;
}

@keyframes nukeWave {
    0% { width: 20px; height: 20px; opacity: 1; border-width: 6px; }
    100% { width: 400px; height: 400px; opacity: 0; border-width: 1px; }
}

.nuke-shockwave2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    animation: nukeWave2 4s 0.5s ease-out forwards;
}

@keyframes nukeWave2 {
    0% { width: 30px; height: 30px; opacity: 1; }
    100% { width: 500px; height: 500px; opacity: 0; }
}

/* ── Radiation zone ──────────────────────────────────── */
.radiation-zone {
    background: transparent;
    border: none;
}

.radiation-circle {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.05), transparent);
    border: 2px dashed rgba(168, 85, 247, 0.5);
    animation: radPulse 2s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes radPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ── Fire / smoke markers ────────────────────────────── */
.fire-marker { background: transparent; border: none; }

.fire-glow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.8), rgba(239, 68, 68, 0.3), transparent);
    animation: fireFlicker 0.5s ease-in-out infinite alternate;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes fireFlicker {
    0% { width: 20px; height: 20px; opacity: 0.7; }
    100% { width: 30px; height: 30px; opacity: 1; }
}

/* ── Drone swarm markers ─────────────────────────────── */
.drone-marker { background: transparent; border: none; }

.drone-dot {
    width: 5px;
    height: 5px;
    background: #38bdf8;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 6px #38bdf8;
}

.drone-dot:nth-child(1) { animation: droneOrbit1 2s linear infinite; }
.drone-dot:nth-child(2) { animation: droneOrbit2 2.5s linear infinite; }
.drone-dot:nth-child(3) { animation: droneOrbit3 1.8s linear infinite; }
.drone-dot:nth-child(4) { animation: droneOrbit4 3s linear infinite; }

@keyframes droneOrbit1 { 0% { top: -10px; left: 5px; } 25% { top: 5px; left: 20px; } 50% { top: 20px; left: 5px; } 75% { top: 5px; left: -10px; } 100% { top: -10px; left: 5px; } }
@keyframes droneOrbit2 { 0% { top: 5px; left: -12px; } 25% { top: -8px; left: 8px; } 50% { top: 5px; left: 22px; } 75% { top: 18px; left: 8px; } 100% { top: 5px; left: -12px; } }
@keyframes droneOrbit3 { 0% { top: 18px; left: 10px; } 25% { top: 8px; left: -8px; } 50% { top: -5px; left: 10px; } 75% { top: 8px; left: 24px; } 100% { top: 18px; left: 10px; } }
@keyframes droneOrbit4 { 0% { top: 0px; left: 15px; } 25% { top: 15px; left: 20px; } 50% { top: 22px; left: 0px; } 75% { top: -5px; left: -5px; } 100% { top: 0px; left: 15px; } }

/* ── Ship / naval markers ────────────────────────────── */
.ship-marker { background: transparent; border: none; }

.ship-icon {
    font-size: 18px;
    color: #60a5fa;
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
    animation: shipBob 3s ease-in-out infinite;
}

@keyframes shipBob {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-4px) rotate(5deg); }
}

/* ── Aircraft markers ────────────────────────────────── */
.aircraft-marker { background: transparent; border: none; }

.aircraft-icon {
    font-size: 16px;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* ── Sanctions dashed border ─────────────────────────── */
.sanctions-zone { background: transparent; border: none; }

.sanctions-ring {
    border: 3px dashed #ef4444;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: sanctionsRotate 8s linear infinite;
    opacity: 0.5;
}

@keyframes sanctionsRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Cyber attack lines ──────────────────────────────── */
.cyber-line {
    stroke: #22d3ee;
    stroke-width: 2;
    stroke-dasharray: 8 4;
    fill: none;
    opacity: 0.7;
    filter: drop-shadow(0 0 4px #22d3ee);
}

.cyber-line-anim {
    animation: cyberDash 1s linear infinite;
}

@keyframes cyberDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -24; }
}

/* ── Refugee flow dots ───────────────────────────────── */
.refugee-dot {
    fill: #fbbf24;
    opacity: 0.8;
}

/* ── Modal ───────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #1e293b;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    border: 1px solid #334155;
    box-shadow: 0 20px 25px rgba(0,0,0,0.5);
    max-height: 85vh;
    overflow-y: auto;
}

.close { color: #94a3b8; float: right; font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.2s; }
.close:hover { color: #e2e8f0; }

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #334155;
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.modal-icon.critical { background: #dc2626; }
.modal-icon.high { background: #ea580c; }
.modal-icon.medium { background: #ca8a04; }
.modal-icon.low { background: #16a34a; }

.modal-title h2 { font-size: 18px; margin-bottom: 5px; }
.modal-title .location { color: #94a3b8; font-size: 13px; }
.modal-body { line-height: 1.6; }
.modal-section { margin-bottom: 16px; }
.modal-section h4 { color: #94a3b8; font-size: 11px; text-transform: uppercase; margin-bottom: 8px; }
.modal-section p { font-size: 13px; color: #cbd5e1; }

.risk-meter { height: 8px; background: #334155; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.risk-meter span { display: block; height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.risk-label { display: flex; justify-content: space-between; font-size: 11px; margin-top: 5px; color: #94a3b8; }

/* ── News Ticker ─────────────────────────────────────── */
.news-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 34px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid #334155;
    display: flex;
    align-items: center;
    z-index: 50;
    overflow: hidden;
}

.ticker-label {
    background: #dc2626;
    color: white;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: tickerPulse 1.5s infinite;
}

@keyframes tickerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ticker-content { flex: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }

.ticker-scroll {
    display: flex;
    gap: 60px;
    animation: tickerMove 30s linear infinite;
    white-space: nowrap;
    padding-left: 100%;
}

.ticker-scroll span { font-size: 12px; color: #cbd5e1; white-space: nowrap; }

.ticker-severity {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ── Toast Notifications ─────────────────────────────── */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 280px;
    max-width: 380px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    animation: toastIn 0.4s ease, toastOut 0.4s ease 4s forwards;
    pointer-events: auto;
}

.toast.escalation { border-left: 4px solid #dc2626; }
.toast.deescalation { border-left: 4px solid #16a34a; }
.toast.new-crisis { border-left: 4px solid #d97706; }
.toast.event { border-left: 4px solid #6d28d9; }
.toast.nuke { border-left: 4px solid #fbbf24; }
.toast.missile { border-left: 4px solid #3b82f6; }

.toast-title { font-size: 12px; font-weight: 700; margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.toast-title.escalation { color: #fca5a5; }
.toast-title.deescalation { color: #86efac; }
.toast-title.new-crisis { color: #fcd34d; }
.toast-title.event { color: #c4b5fd; }
.toast-title.nuke { color: #fde68a; }
.toast-title.missile { color: #93c5fd; }

.toast-body { font-size: 11px; color: #94a3b8; line-height: 1.4; }

@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(100px); } }

/* ── Screen flash for nuke ───────────────────────────── */
.screen-flash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    animation: screenFlash 1.5s ease-out forwards;
}

@keyframes screenFlash {
    0% { background: rgba(255, 255, 255, 0.9); }
    20% { background: rgba(251, 191, 36, 0.4); }
    100% { background: transparent; }
}

.map-flash {
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, 0.15);
    z-index: 40;
    pointer-events: none;
    animation: mapFlash 0.6s ease forwards;
}

@keyframes mapFlash {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .sidebar { width: 280px; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .header-left h1 { font-size: 16px; }
    .toast { min-width: unset; max-width: calc(100vw - 40px); }
}

/* ── Forecast Panel ──────────────────────────────────── */
.forecast-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #334155;
}

.forecast-section h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forecast-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forecast-item {
    background: #334155;
    border-radius: 6px;
    padding: 8px 10px;
    border-left: 3px solid transparent;
}

.forecast-item.fc-critical { border-left-color: #dc2626; }
.forecast-item.fc-high { border-left-color: #ea580c; }
.forecast-item.fc-medium { border-left-color: #ca8a04; }
.forecast-item.fc-low { border-left-color: #16a34a; }

.forecast-title {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #e2e8f0;
}

.forecast-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forecast-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.forecast-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.forecast-pct {
    font-size: 11px;
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

.forecast-detail {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
    line-height: 1.3;
}

.forecast-global {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 4px;
}

.forecast-global-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f87171;
    margin-bottom: 6px;
    font-weight: 700;
}

.forecast-global-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 2px;
}

.forecast-global-row .label { color: #94a3b8; }
.forecast-global-row .value { font-weight: 700; }
.forecast-global-row .value.danger { color: #f87171; }
.forecast-global-row .value.warning { color: #fbbf24; }
.forecast-global-row .value.ok { color: #4ade80; }

/* ── Leaflet Customization ───────────────────────────── */
.leaflet-container { background: #0f172a !important; }
.leaflet-popup-content-wrapper { background: #1e293b; color: #e2e8f0; border-radius: 8px; border: 1px solid #334155; }
.leaflet-popup-tip { background: #1e293b; }
.leaflet-popup-content h3 { margin: 0 0 8px 0; font-size: 15px; }
.leaflet-popup-content p { margin: 0; font-size: 12px; color: #94a3b8; }
