/* ==========================================================================
   ESTILO PROLOGO - TEMA AURORA (AZUL / ESTÁVEL)
   ========================================================================== */

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Fundo Degradê Azul Profundo (Aurora Standby) */
    background: linear-gradient(to top, #000000 70%, #00222b 100%);
    
    color: #00eaff; /* Azul Ciano Neon */
    
    /* MUDANÇA: Fonte Times New Roman para alinhar com a identidade Aurora */
    font-family: 'Times New Roman', Times, serif; 
    
    min-height: 100vh;
    overflow-y: auto; 
    
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-bottom: 50px; 
    transition: background 1s, color 1s; 
}

/* --- CABEÇALHO (HUD) --- */
.hud-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #00eaff; /* Azul */
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #00eaff;
}

/* --- O CONTAINER PRINCIPAL --- */
.tactical-container {
    flex-grow: 1;
    border: 2px solid #00eaff; /* Borda Azul */
    position: relative;
    padding: 20px;
    margin: 10px;
    
    /* Recorte da Borda (Mantido) */
    clip-path: polygon(
        0 0, 100% 0, 100% 100%, 80% 100%, 
        75% 95%, 25% 95%, 20% 100%, 0 100%
    );
    
    /* Fundo translúcido azulado */
    background: rgba(0, 20, 30, 0.6); 
}

.tech-label {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 0.7rem;
    color: #00eaff;
    opacity: 0.7;
}

/* --- PAINÉIS INTERNOS --- */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    height: 100%;
    align-items: center;
}

.data-panel {
    border: 1px dashed #005566; /* Azul escuro pontilhado */
    padding: 20px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.big-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px #00eaff;
}

.label-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* --- EFEITOS ESPECIAIS --- */
.panel-inactive .data-content {
    filter: blur(5px);
    opacity: 0.3;
}

.overlay-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #00eaff;
    background: rgba(0,0,0,0.9);
    padding: 15px;
    text-align: center;
    color: #00eaff;
    font-size: 0.9rem;
    z-index: 10;
    width: 80%;
}

.hidden {
    display: none !important;
}

/* --- RODAPÉ E BOTÕES --- */
.controls-area {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
}

#decision-module {
    margin-top: 20px;
    border-top: 1px dashed #00eaff;
    padding-top: 20px;
}

.btn-tactical {
    background: #00eaff; /* Fundo Azul Neon */
    color: #000000;      /* Texto Preto */
    border: 1px solid #00eaff;
    padding: 12px 35px;  
    font-family: inherit;
    font-weight: bold;   
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    margin: 5px;
    
    /* Adicionei um leve arredondamento para não ficar pontiagudo demais, 
       mas se quiser 100% quadrado (quina seca), é só apagar essa linha abaixo: */
    border-radius: 4px; 
    
    /* A LINHA DO CLIP-PATH FOI REMOVIDA DAQUI */
}

.btn-tactical:hover {
    background: #ccffff; /* Azul quase branco no hover */
    color: #000000;      
    box-shadow: 0 0 20px #00eaff; 
}

@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 #00eaff; }
    50% { box-shadow: 0 0 20px #00eaff; }
    100% { box-shadow: 0 0 0 #00eaff; }
}
.btn-pulse {
    animation: pulse-btn 1.5s infinite;
}

/* --- INPUTS E SELECTS --- */
.input-sci-fi {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00eaff;
    color: #00eaff;
    padding: 10px;
    font-family: 'Times New Roman', Times, serif; /* Ajustado fonte */
    font-size: 1rem;
    width: 100%;
    margin-bottom: 15px;
    outline: none;
    text-transform: uppercase;
}

.input-sci-fi:focus {
    box-shadow: 0 0 10px #00eaff; 
    border-color: #00eaff;
}

/* Alerta Piscante (Pode manter amarelo ou mudar para branco/ciano piscando) */
@keyframes blink-alert-anim {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.blink-alert {
    animation: blink-alert-anim 1s infinite;
    color: #ff3333; 
    text-shadow: 0 0 10px #ff0000;
    font-weight: bold;
    margin-top: 10px;
}

/* ==========================================================================
   ESTADOS DE SISTEMA (MANTIDOS MAS AJUSTADOS AS CORES)
   ========================================================================== */

/* --- MODO SUCESSO (VERDE - SISTEMA OK) --- */
body.mode-success {
    background: linear-gradient(to top, #000000 70%, #001a00 100%);
    color: #00ff00;
}
body.mode-success .tactical-container,
body.mode-success .hud-header,
body.mode-success .data-panel,
body.mode-success .input-sci-fi, 
body.mode-success #decision-module {
    border-color: #00ff00;
    color: #00ff00;
}
body.mode-success .big-number { text-shadow: 0 0 10px #00ff00; }
body.mode-success .btn-tactical {
    background: #00ff00;
    color: #000;
    border-color: #00ff00;
}
body.mode-success .overlay-lock { border-color: #00ff00; color: #00ff00; }

/* --- MODO ALERTA (LARANJA - ATENÇÃO) --- */
body.mode-warning {
    background: linear-gradient(to top, #1a1000 70%, #332200 100%);
    color: #ffaa00;
}
body.mode-warning .tactical-container,
body.mode-warning .hud-header,
body.mode-warning .data-panel,
body.mode-warning .input-sci-fi, 
body.mode-warning #decision-module {
    border-color: #ffaa00;
    color: #ffaa00;
}
body.mode-warning .big-number { text-shadow: 0 0 10px #ffaa00; }
body.mode-warning .btn-tactical {
    background: #ffaa00;
    color: #000;
    border-color: #ffaa00;
}
body.mode-warning .overlay-lock { border-color: #ffaa00; color: #ffaa00; }