    /* =====================================================
   GLOBAL LEVEL TEST WRAPPER
===================================================== */
.leveltest {
    max-width: 850px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    font-family: 'Poppins', sans-serif;
    animation: fadeIn .4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   HEADER
===================================================== */
.lt-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1E3C72;
    text-align: center;
    margin-bottom: .5rem;
}

.lt-header p {
    font-size: 1.05rem;
    color: #555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* =====================================================
   SECTION TITLES
===================================================== */
.lt-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1E3C72;
    margin-bottom: 1.2rem;
}

/* =====================================================
   QUESTION CARDS
===================================================== */
.lt-question-card {
    background: #F9FAFF;
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.4rem;
    border: 1px solid #E0E6FF;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lt-question-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(30, 60, 114, .12);
}

.lt-question-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: .5rem;
}

.lt-question-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

/* =====================================================
   INPUT OPTIONS
===================================================== */
.option-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .65rem .9rem;
    border-radius: 10px;
    border: 1px solid #D7DDF9;
    background: #fff;
    margin-bottom: .55rem;
    cursor: pointer;
    transition: all .25s ease;
}

.option-label:hover {
    background: #EEF2FF;
    border-color: #A9B8FF;
}

.option-label input[type="radio"] {
    transform: scale(1.3);
}

/* GAP FILL */
.gap-input {
    width: 100%;
    padding: .75rem 1rem;
    font-size: 1rem;
    border: 1px solid #D2DAFF;
    border-radius: 10px;
    transition: all .25s ease;
}

.gap-input:focus {
    border-color: #F7931E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 147, 30, .25);
    outline: none;
}

/* AUDIO PLAYER */
.lt-question-card audio {
    width: 100%;
    margin: .9rem 0 1.1rem;
    border-radius: 12px;
}

/* =====================================================
   BUTTONS
===================================================== */
.lt-btn-primary {
    background: #F7931E;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 1rem 2.8rem;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: all .25s ease;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.lt-btn-primary:hover {
    background: #E67800;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

/* Center actions */
.lt-actions {
    text-align: center;
    margin-top: 2rem;
}

/* =====================================================
   RESULTS
===================================================== */
.lt-results {
    background: #1E3C72;
    color: #fff;
    padding: 2rem;
    border-radius: 22px;
    text-align: center;
    margin-top: 2rem;
    animation: fadeIn .4s ease-out;
}

.lt-results .lt-level-tag {
    background: #F7931E;
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 1rem;
}


/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 600px) {
    .leveltest {
        padding: 1.6rem;
    }

    .lt-header h1 {
        font-size: 1.8rem;
    }

    .lt-question-card {
        padding: 1.2rem 1.3rem;
    }

    .lt-btn-primary {
        width: 100%;
    }
}
/* =============================
   EMAIL GATE CONTENEDOR
============================= */

#email-gate {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 28px 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

#email-gate h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: #111827;
}


/* =============================
   FORM
============================= */

#email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* =============================
   INPUT EMAIL
============================= */

#email-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  color: #111827;
  outline: none;
}

#email-form input[type="email"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}


/* =============================
   CHECKBOX (FORZADO VISIBLE)
============================= */

#email-form label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  text-align: left;
  cursor: pointer;
}

/* 🔥 FORZAMOS ESTILO NATIVO */
#email-form input[type="checkbox"] {
  all: revert;                /* ← ignora resets globales */
  appearance: checkbox;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;

  width: 16px;
  height: 16px;
  margin: 3px 0 0 0;

  border: 1px solid #374151;
  background-color: #ffffff;

  cursor: pointer;
  flex-shrink: 0;
}

/* Por si algún reset oculta el check */
#email-form input[type="checkbox"]:checked {
  background-color: #2563eb;
}


/* =============================
   LINK PRIVACIDAD
============================= */

#email-form label a {
  color: #2563eb;
  text-decoration: underline;
}


/* =============================
   BUTTON
============================= */

#email-form button {
  margin-top: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#email-form button:hover {
  background-color: #1e40af;
}

#email-form button:active {
  transform: scale(0.98);
}


/* =============================
   RESPONSIVE
============================= */

@media (max-width: 480px) {
  #email-gate {
    padding: 22px 18px;
  }

  #email-gate h3 {
    font-size: 20px;
  }
}
