/* ============================================
   CONTENEDOR GENERAL DEL EXAMEN
============================================ */
#ct-examen-container {
    max-width: 680px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    font-family: "Inter", Arial, sans-serif;
}

/* ============================================
   TIMER
============================================ */
#ct-timer {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    text-align: right;
}

/* ============================================
   BARRA DE PROGRESO
============================================ */
#ct-progress {
    background: #e6e6e6;
    border-radius: 20px;
    height: 10px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

#ct-progress-bar {
    background: #ffd200;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

/* ============================================
   PREGUNTA Y TEXTO
============================================ */
.ct-pregunta-titulo {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

.ct-pregunta-texto {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222;
}

/* ============================================
   IMAGEN DE LA PREGUNTA
============================================ */
.ct-imagen-pregunta {
    width: 75%;
    max-width: 320px;
    margin: 20px auto 25px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    text-align: center;
}

.ct-imagen-pregunta img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BOTONES DE RESPUESTA (ESTILO PREMIUM)
============================================ */
/* Botón base */
.ct-opcion-btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 3px solid #102F45; /* borde azul corporativo */
    color: #102F45; /* texto azul */
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

/* Hover */
.ct-opcion-btn:hover {
    background: #102F45;
    color: #ffffff;
    transform: scale(1.02);
}

/* Seleccionado */
.ct-opcion-btn.seleccionado {
    background: #102F45 !important;
    color: #ffffff !important;
    border-color: #102F45 !important;
    transform: scale(1.03);
}


/* ============================================
   BOTONES "SIGUIENTE" Y "FINALIZAR"
============================================ */
#ct-btn-siguiente,
#ct-btn-finalizar {
    margin-top: 28px;
    width: 100%;
    background: #ffd200;
    border: none;
    font-size: 18px;
    padding: 15px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

#ct-btn-siguiente:hover,
#ct-btn-finalizar:hover {
    background: #ffcb00;
    transform: translateY(-2px);
}

/* ============================================================
   ESTILO PROFESIONAL PARA LA PANTALLA DE RESULTADOS
============================================================ */

.ct-resultado-wrapper {
    max-width: 520px;
    margin: 50px auto;
    background: #ffffff;
    padding: 45px 55px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    font-family: "Inter", Arial, sans-serif;
}

.ct-resultado-wrapper h2 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 12px;
    color: #102F45;
}

.ct-resultado-wrapper p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 22px;
}

/* PUNTAJE */
.ct-puntaje-final {
    font-size: 36px;
    font-weight: 800;
    color: #0048ff;
    margin: 25px 0 10px 0;
}

.ct-puntaje-final span {
    font-size: 48px;
    display: block;
    margin-top: 8px;
}

/* BOTÓN MASTERCLASS */
.ct-btn-masterclass {
    display: inline-block;
    margin-top: 25px;
    background: #e9b24c;
    color: #111;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}

.ct-btn-masterclass:hover {
    transform: scale(1.05);
    background: #f2c15a;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .ct-resultado-wrapper {
        padding: 30px 25px;
        max-width: 90%;
    }

    .ct-puntaje-final {
        font-size: 30px;
    }

    .ct-puntaje-final span {
        font-size: 40px;
    }

    .ct-btn-masterclass {
        width: 100%;
        font-size: 15px;
        padding: 14px;
    }
}


/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 600px) {

    #ct-examen-container {
        padding: 25px;
    }

    #ct-timer {
        text-align: center;
        margin-bottom: 25px;
    }

    #ct-btn-siguiente,
    #ct-btn-finalizar {
        font-size: 16px;
        padding: 13px;
    }

    .ct-puntaje-final {
        font-size: 45px;
    }
}


/* ===============================
   PANTALLA DE INSTRUCCIONES
=============================== */

.ct-instrucciones-wrapper {
    max-width: 720px;
    margin: 40px auto;
    background: #ffffff;
    padding: 45px 55px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    font-family: "Inter", Arial, sans-serif;
}

.ct-instr-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: #222;
}

.ct-instr-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: center;
    color: #444;
}

.ct-instr-list {
    margin: 0 0 30px 0;
    padding-left: 22px;
}

.ct-instr-list li {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.45;
}

.ct-instr-button {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    background: #ffd200;
    border-radius: 14px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.25s;
}

.ct-instr-button:hover {
    background: #ffcb00;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px){
    .ct-instrucciones-wrapper {
        padding: 28px;
    }

    .ct-instr-title {
        font-size: 26px;
    }

    .ct-instr-subtitle,
    .ct-instr-list li {
        font-size: 16px;
    }
}

/* ===============================
   BOTÓN DE INSTRUCCIONES
=============================== */

/* Botón estilo CreaTech */
.ct-btn-start-exam {
    display: inline-block;
    padding: 10px 24px; /* antes 16px 40px */
    background: #e9b44c;
    color: #0d1b2a;
    font-size: 16px; /* antes 20px */
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px; /* más pequeño y acorde al nuevo tamaño */
    border: 2px solid #0d1b2a;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.ct-btn-start-exam:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ================================
     FORMULARIO REGISTRO — IPN
================================ */

.ct-registro-wrapper {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.ct-registro-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1d;
    margin-bottom: 25px;
    line-height: 1.4;
}

.ct-registro-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Grupo de input con ícono --- */
.ct-input-group {
    position: relative;
    width: 100%;
}

.ct-input-group .ct-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.8;
    color: #6c7a89;
}

.ct-input-group input {
    width: 100%;
    padding: 14px 18px 14px 45px;
    border-radius: 12px;
    border: none;
    background: #dde9f1;
    font-size: 16px;
    font-family: inherit;
    color: #000;
    outline: none;
}

.ct-input-group input::placeholder {
    color: #647788;
}

/* --- BOTÓN ENVIAR --- */

.ct-registro-btn {
    background: #e9b759;   /* Amarillo-ocre */
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #1f2a32;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-registro-btn:hover {
    transform: scale(1.06);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

/* FORZAR estilo del botón de registro */
.ct-registro-wrapper .ct-registro-btn {
    background: #e9b759 !important;   /* Amarillo-ocre */
    border: none !important;
    width: 100% !important;
    padding: 16px !important;
    border-radius: 35px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    color: #1f2a32 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ct-registro-wrapper .ct-registro-btn:hover {
    transform: scale(1.06) !important;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.15) !important;
    background: #e5b04e !important;
}

