﻿
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f1efeb;
}

.wrapper {
    height: 94vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}

.contenedor {
    width: 70%;
    height: 82vh;
    max-width: 1100px;
    background: linear-gradient(120deg, #f9f9f9, #ffffff);
    border-radius: 18px;
    box-shadow: 0 10px 45px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    padding: 40px;
    position: relative;
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    width: 140px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    text-align: center;
    font-size: 2.3rem;
    color: #003a70;
    margin-bottom: 10px;
}

.scroll-area {
    flex: 1;
    overflow-y: auto;
    position: relative;
    padding-right: 12px;
    margin-bottom: 35px;
}

    .scroll-area::-webkit-scrollbar {
        width: 8px;
    }

    .scroll-area::-webkit-scrollbar-thumb {
        background: #b8c3cf;
        border-radius: 10px;
    }

p {
    font-size: 1.12rem;
    color: #3d4f60;
    line-height: 1.7rem;
    text-align: justify;
}

.scroll-area::before,
.scroll-area::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 5;
    pointer-events: none;
}

.scroll-area::before {
    top: 0;
    background: linear-gradient(to bottom, #ffffff, transparent);
}

.scroll-area::after {
    bottom: 0;
    background: linear-gradient(to top, #ffffff, transparent);
}

.botonera {
    display: flex;
    justify-content: center;
    gap: 200px; /* antes 25px, ahora más separación */
}

.boton {
    background: #eaf1f7; /* fondo base más suave */
    color: #003a70;
    padding: 14px 28px;
    border-radius: 10px;
    border: 2px solid #003a70;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: not-allowed;
    min-width: 260px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
    opacity: 0.6;
    transition: transform .3s ease, box-shadow .3s ease;
}

    /* Animación al habilitarse */
    .boton.enabled {
        cursor: pointer;
        opacity: 1;
        animation: activarBoton 0.6s ease forwards;
    }

        /* Animación al pasar el puntero */
        .boton.enabled:hover {
            transform: scale(1.05);
            animation: hoverPulse 1s infinite;
        }

@keyframes activarBoton {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes hoverPulse {
    0% {
        box-shadow: 0 0 0 rgba(0,58,112,0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(0,58,112,0.6);
    }

    100% {
        box-shadow: 0 0 0 rgba(0,58,112,0.6);
    }
}

@media (max-width: 900px) {
    .contenedor {
        width: 92%;
        height: 88vh;
    }

    .botonera {
        flex-direction: column;
    }
}

/* ===== BLOQUE "MOTIVO DE REGISTRO" MEJORADO ===== */

.mensaje-registro {
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f4f7fb;
    border: 1px solid #c9d5e5;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.mensaje-registro-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.mensaje-registro-icon {
    font-size: 1.4rem;
}

.mensaje-registro-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #003a70;
}

.mensaje-registro-texto {
    margin: 0;
    font-size: 0.98rem;
    color: #4b5a6b;
    line-height: 1.4rem;
}


/* ===== CHECKBOX PREMIUM INSTITUCIONAL ===== */

.aceptacion-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.check-institucional {
    appearance: none;
    width: 26px;
    height: 26px;
    border: 3px solid #003a70;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all .25s ease, box-shadow .25s ease;
    position: relative;
}

    .check-institucional:hover {
        box-shadow: 0 0 8px rgba(0, 58, 112, 0.4);
    }

    .check-institucional:checked {
        background: #003a70;
        border-color: #003a70;
        box-shadow: 0 0 12px rgba(0, 58, 112, 0.6);
        transform: scale(1.05);
    }

        .check-institucional:checked::after {
            content: "✔";
            position: absolute;
            color: white;
            font-size: 18px;
            top: -1px;
            left: 4px;
            font-weight: 800;
        }

.aceptacion-label {
    font-size: 1.20rem;
    color: #003a70;
    font-weight: 700;
    letter-spacing: .3px;
}

