/* Observatorio Climatológico Académico · Tecnológico Universitario EuroAmericano · © Prof. Feddor Derenzin M.
   Ventanas modales (información, fecha, simulador 3D). */

/* Modales de Consulta con Tipografía Grande y Legible */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 16, 0.82);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal-card {
    width: 100%;
    max-width: 640px;
    background: rgba(13, 19, 34, 0.98);
    border: 1px solid rgba(0, 229, 255, 0.42);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.88);
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    color: #e2e8f0;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: rgba(244, 63, 94, 0.25);
    color: #ffffff;
    border-color: var(--accent-red);
}

.formula-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.32);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    color: #e0f2fe;
    margin: 8px 0;
    line-height: 1.55;
    overflow-x: auto;
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.modal-btn-search {
    background: linear-gradient(135deg, #00e5ff, #0096ff);
    border: none;
    color: #060b18;
    padding: 9px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
