/* Custom CSS for DharaAlert-NER Landslide Early Warning System - Clean Light Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism & High-Tech Cards for White Theme */
.glass-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.glass-panel-glow {
    background: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.12);
}

/* Pulse & Radar Animations */
@keyframes radar-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.radar-ping {
    position: relative;
}

.radar-ping::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 9999px;
    border: 2px solid #ef4444;
    animation: radar-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* Leaflet Map Customizations */
.leaflet-container {
    background: #f1f5f9 !important;
    font-family: 'Inter', sans-serif;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.leaflet-popup-content-wrapper {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-popup-tip {
    background: #ffffff !important;
}

/* Custom Marker Pins */
.custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.custom-pin:hover {
    transform: scale(1.25);
    z-index: 1000 !important;
}

/* Siren Audio Animation */
@keyframes flash-siren {
    0%, 100% { background-color: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.5); }
    50% { background-color: rgba(239, 68, 68, 0.25); border-color: rgba(239, 68, 68, 0.9); }
}

.siren-active {
    animation: flash-siren 1s infinite ease-in-out;
}

/* Print Friendly Styles for NDMA/MDoNER Situation Reports */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .glass-panel, .glass-panel-glow {
        background: #ffffff !important;
        color: #000000 !important;
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
    }
}
