/* ===================================================
   ENGLISH SIDEBAR – GREEN ACADEMY PRO V5
   Profesional • Moderno • Educativo • 2025
=================================================== */

.lhp-english-sidebar-widget {
    padding: 16px 14px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #dfe9e2;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    font-family: "Inter", sans-serif;
}

/* ====================================
   BLOQUES DE NIVEL + ICONOS PREMIUM
==================================== */

.lhp-widget-level {
    font-size: 15px;
    font-weight: 900;
    margin: 28px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.6px;
}

/* ICONOS DE NIVEL */
.lhp-widget-level::before {
    font-size: 17px;
}

/* Básico A1 */
.lhp-widget-level:nth-of-type(1) {
    color: #0faa4b;
}
.lhp-widget-level:nth-of-type(1)::before {
    content: "🌿";
}

/* Medio A2 */
.lhp-widget-level:nth-of-type(2) {
    color: #0a8e3e;
}
.lhp-widget-level:nth-of-type(2)::before {
    content: "🍏";
}

/* Avanzado B1 */
.lhp-widget-level:nth-of-type(3) {
    color: #086f32;
}
.lhp-widget-level:nth-of-type(3)::before {
    content: "🌲";
}

/* SEPARADORES ENTRE BLOQUES */
.lhp-widget-level + .lhp-widget-topic-list {
    border-left: 2px solid #e1f2e8;
    margin-left: 6px;
    padding-left: 12px;
}

/* ====================================
   TEMAS DEL CURSO
==================================== */

.lhp-widget-topic-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

/* Botón del tema */
.lhp-widget-topic-link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 9px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #1a1a1a;
    background: #f9fbfa;
    border: 1px solid #dfe8e2;
    transition: all .20s ease;
}

/* Hover PRO */
.lhp-widget-topic-link:hover {
    background: #e9f9ee;
    border-color: #b6edc5;
    color: #0ca84b;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(14, 143, 69, 0.2);
}

/* ====================================
   TEMA ACTIVO • FULL PREMIUM
==================================== */

.lhp-widget-active {
    background: linear-gradient(135deg, #18c46c, #0a8f44) !important;
    border-color: #0a8f44 !important;
    color: white !important;
    font-weight: 700 !important;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(26, 166, 93, 0.45);
}

/* Transiciones suaves */
.lhp-widget-topic-link,
.lhp-widget-active {
    transition: all 0.20s ease-in-out;
}
/* ===================================================
   TEST – GREEN ACADEMY PRO 2025
=================================================== */

/* Caja principal del test */
.lhp-english-test-only,
.lhp-test-wrapper {
    background: #ffffff;
    padding: 25px 28px;
    border-radius: 16px;
    border: 1px solid #dfe9e2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    font-family: "Inter", sans-serif;
    margin-bottom: 30px;
}

/* Título del test */
.lhp-test-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #0a8f44;
    letter-spacing: 0.6px;
}

/* Pregunta */
.lhp-question {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef4ef;
}

.lhp-question strong {
    color: #0a8f44;
    font-size: 16px;
}

/* Opciones del test */
.lhp-option {
    padding: 12px 16px;
    border: 1px solid #dfe8e2;
    background: #fafdfb;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .20s ease;
}

/* Hover */
.lhp-option:hover {
    border-color: #b6edc5;
    background: #eaf9ee;
    transform: translateX(5px);
}

/* CORRECTA */
.lhp-correct {
    background: #d7f5e3 !important;
    border-color: #58cf83 !important;
    color: #0a8f44 !important;
    font-weight: 600;
}

/* INCORRECTA */
.lhp-incorrect {
    background: #ffe5e5 !important;
    border-color: #ff9c9c !important;
    color: #d93131 !important;
    font-weight: 600;
}

/* Mensaje de aviso */
.lhp-warning {
    background: #fff7d1;
    border: 1px solid #f1d97c;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    color: #7c6413;
    font-weight: 600;
}

/* Botón "Revisar" */
.lhp-submit-btn {
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #1FAF5B, #0E8F45);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all .20s ease;
    margin-top: 18px;
}

/* Hover revisar */
.lhp-submit-btn:hover {
    background: linear-gradient(135deg, #25c96b, #0fad52);
    box-shadow: 0 4px 12px rgba(14, 143, 69, 0.35);
    transform: translateY(-2px);
}

/* Botón "Nuevo Test" */
.lhp-new-test-btn {
    display: inline-block;
    padding: 12px 20px;
    margin-top: 20px;
    background: #0ca84b;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all .20s ease;
}

.lhp-new-test-btn:hover {
    background: #0fad52;
    box-shadow: 0 4px 12px rgba(26, 166, 93, 0.35);
    transform: translateY(-2px);
}
