@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;900&family=Orbitron:wght@400;900&display=swap');

:root {
    --neon-cyan: #00F3FF;
    --neon-green: #39FF14;
    --neon-red: #FF003C;
    --bg-dark: #050505;
    --bg-card: #121212;
}

body { 
    margin: 0; 
    font-family: 'Inter', sans-serif; 
    background: var(--bg-dark); 
    color: white; 
    overflow-x: hidden; 
}

h1, h2, h3, h4, .tactical-font {
    font-family: 'Orbitron', sans-serif;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }

#map-container { 
    height: 100vh !important; 
    width: 100vw !important; 
    background: #080808 !important;
    position: absolute;
    top: 0;
    left: 0;
}

.leaflet-container { background: #080808 !important; outline: none; }

.leaflet-popup-content-wrapper { 
    background: var(--bg-card); 
    color: white; 
    border: 1px solid rgba(255,255,255,0.2); 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.leaflet-popup-tip { background: var(--bg-card); }
.leaflet-div-icon { background: transparent !important; border: none !important; }

.zone-reveal-aura { pointer-events: none; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

/* Animaciones */
.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.leaflet-control-zoom { display: none; }

/* Estilos de Auth */
.glass-panel {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-border {
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.5);
}

.tactical-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.tactical-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* Panel Derecho Dinámico */
.intel-sidebar-right {
    position: absolute;
    top: 90px;
    right: 32px;
    width: 340px;
    height: calc(100vh - 120px);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    z-index: 1002;
    overflow: hidden;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.intel-sidebar-right.hidden {
    transform: translateX(400px);
    opacity: 0;
}

.mission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

/* --- ESTILOS TÁCTICOS v2.4.0 --- */
.tactical-tooltip {
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.tactical-tooltip:before { border-top-color: rgba(255, 255, 255, 0.2) !important; }

.custom-tactical-pin {
    --pin-scale: 1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-tactical-pin:hover {
    --pin-scale: 1.25;
    z-index: 10000 !important;
}

.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

.animate-slide-in-right { animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in-left { animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Filtro Cyber Dark para mapas de alto detalle */
.cyber-dark-tiles {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}


