/* =========================================
   MODAL DE INSCRIPCIÓN
   ========================================= */

.modal-inscripcion {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    padding: 20px;
    box-sizing: border-box;
}


/* CONTENIDO DEL MODAL */

.modal-inscripcion-contenido {
    width: 100%;
    max-width: 470px;

    background: #ffffff;

    border-radius: 14px;

    padding: 40px 35px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);

    animation: modalEntrada 0.3s ease;
}


/* ICONO DE ÉXITO */

.modal-icono-exito {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    background: #28a745;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 42px;
    font-weight: bold;
}


/* TÍTULO */

.modal-inscripcion-contenido h2 {
    margin: 0 0 15px;

    color: #8B2E24;

    font-size: 27px;

    font-weight: 700;
}


/* TEXTO */

.modal-inscripcion-contenido p {
    margin: 8px 0;

    color: #666666;

    font-size: 15px;

    line-height: 1.6;
}


/* BOTÓN */

.modal-btn-aceptar {
    margin-top: 25px;

    padding: 12px 30px;

    border: none;

    border-radius: 6px;

    background: #8B2E24;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.modal-btn-aceptar:hover {
    background: #A94435;

    transform: translateY(-2px);

    box-shadow: 0 5px 12px rgba(139, 46, 36, 0.25);
}


/* ANIMACIÓN */

@keyframes modalEntrada {

    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* RESPONSIVE */

@media (max-width: 480px) {

    .modal-inscripcion {
        padding: 15px;
    }

    .modal-inscripcion-contenido {
        padding: 30px 22px;
    }

    .modal-icono-exito {
        width: 65px;
        height: 65px;

        font-size: 34px;
    }

    .modal-inscripcion-contenido h2 {
        font-size: 23px;
    }

}