/* --- CORE STYLES (MATCHING STYLE.CSS) --- */
body { 
    font-family: 'Inter', sans-serif; 
    -webkit-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    overflow-x: hidden;
}

/* Map Styling (Applied to hlrMap) */
#hlrMap { 
    height: 100%; 
    min-height: 400px;
    width: 100%; 
    z-index: 1; 
    background: #0f172a;
}

/* Glass Panel Modern */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Detail Data Grid */
.data-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
}
.data-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    font-family: 'Inter', monospace;
    word-break: break-word;
}

/* Toast Notification */
.toast-enter { transform: translateY(100%); opacity: 0; }
.toast-active { transform: translateY(0); opacity: 1; }
.toast-exit { transform: translateY(100%); opacity: 0; }

/* Custom Scrollbar */
.custom-scroll::-webkit-scrollbar { width: 6px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb:hover { background: #8b5cf6; }

/* Loading Screen */
#introOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f172a;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ec4899; /* Pink accent from main site, or #8b5cf6 for purple */
    font-family: 'Share Tech Mono', monospace;
    transition: opacity 0.8s ease-out;
}

.progress-bar-container {
    width: 300px;
    height: 4px;
    background: #1e293b;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #8b5cf6; /* Purple for HLR */
    width: 0%;
    box-shadow: 0 0 10px #8b5cf6;
    transition: width 0.1s linear;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: scan 2s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Leaflet Control Overrides */
.leaflet-control-layers {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.user-pin {
    display: flex;
    align-items: center;
    justify-content: center;
}