/* 
 * css/risk_alerts.css 
 * Estilos para el modal de alerta IMT (Solo icono prohibido)
 */

.imt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647; /* Máximo z-index para garantizar visibilidad sobre ChatGPT */
    backdrop-filter: blur(4px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.imt-popup {
    background-color: #ffffff;
    color: #333333;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 420px;
    width: 90%;
    animation: imt-pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.imt-icono-contenedor {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.imt-svg-prohibido {
    width: 64px;
    height: 64px;
    color: #d93025; /* Rojo de advertencia estándar */
    stroke-width: 2.5;
    animation: imt-pulse-error 2s infinite;
}

.imt-popup h2 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #111111;
    font-weight: 600;
}

.imt-popup p {
    margin: 0 0 25px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

.imt-btn-cerrar {
    background-color: #d93025; /* Rojo haciendo juego con el icono */
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
}

.imt-btn-cerrar:hover {
    background-color: #b3261e;
}

.imt-btn-cerrar:active {
    transform: scale(0.98);
}

/* Animación de entrada fluida */
@keyframes imt-pop-in {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ligera animación de pulso para el icono rojo de prohibido */
@keyframes imt-pulse-error {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}