/* ==========================================================================
   CENTRO DE CONTROL TÁCTICO - ESTILO RADAR VERDE (PRO)
   ========================================================================== */

:root {
    --color-tactical: #1DCF11; /* Verde Radar */
    --bg-dark: #060911;
    --bg-card: #0a0e1a;
    --border-dim: #1a3a16; /* Verde oscuro para bordes */
}

.tactical-control-section { 
    background-color: var(--bg-dark); 
    padding: 80px 0; 
}

.control-box {
    background-color: var(--bg-card);
    border: 1px solid var(--color-tactical);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(29, 207, 17, 0.2);
    margin-bottom: 25px;
}

.box-title {
    color: var(--color-tactical);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 10px;
}

/* --- MAPA Y RADAR --- */

#map, .map-container {
    height: 450px !important;
    width: 100%;
    position: relative;
    border: 1px solid var(--border-dim);
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fondo del mapa (Imagen) */
.map-container {
    background-image: url('../img/mapa/mapa.png');
    background-size: cover;
    background-position: center;
}

/* Overlay de Cuadrícula (Radar) */
.grid-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(29, 207, 17, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 207, 17, 0.5) 1px, transparent 1px);
    background-size: 40px 40px; 
    pointer-events: none; 
    z-index: 1;
}

/* Efecto de Escaneo */
.map-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--color-tactical);
    box-shadow: 0 0 10px var(--color-tactical);
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes scan {
    0% { top: 0; } 100% { top: 100%; }
}

/* Overlay de Texto de Estado */
.map-overlay {
    position: absolute;
    bottom: 15px; left: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 12px;
    border-left: 2px solid var(--color-tactical);
    z-index: 3;
}

.map-overlay p {
    margin: 0;
    color: var(--color-tactical) !important;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* --- TELEMETRÍA Y TABLAS --- */

.telemetry-data p {
    font-family: 'Courier New', monospace;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 5px;
}

.telemetry-data span { color: var(--color-tactical); font-weight: bold; }

.plan-vuelo-box {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--color-tactical);
}

.table-dark { background-color: transparent !important; color: #fff; }
.table-dark td { padding: 15px !important; border-color: var(--border-dim) !important; }

.badge.bg-success { 
    background-color: transparent !important; 
    border: 1px solid var(--color-tactical); 
    color: var(--color-tactical); 
    font-weight: bold; 
}