/* Estilos base del plugin -- pensados para que la demo se vea presentable de entrada.
   Pablo: esto se puede sobreescribir libremente desde Divi (Theme Options / CSS del
   Divi Builder) sin tocar el plugin -- son clases genéricas con prefijo aelms-. */

.aelms-lang-switcher { display: flex; gap: 12px; margin-bottom: 20px; }
.aelms-lang-switcher a { text-decoration: none; color: #666; padding: 4px 10px; border-radius: 4px; }
.aelms-lang-switcher a.aelms-lang-active { background: #0c71c3; color: #fff; }

.aelms-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.aelms-course-card { border: 1px solid #e2e2e2; border-radius: 8px; padding: 20px; }
.aelms-course-card h3 { margin-top: 0; }

.aelms-btn { display: inline-block; padding: 10px 20px; border-radius: 4px; background: #eee; color: #222; text-decoration: none; border: none; cursor: pointer; font-size: 15px; }
.aelms-btn-primary { background: #0c71c3; color: #fff; }

.aelms-lesson-outline { padding-left: 20px; }
.aelms-lesson-outline ul { margin: 4px 0 8px 20px; color: #555; }
.aelms-quiz-link { margin-left: 10px; font-size: 13px; }

.aelms-quiz-form fieldset.aelms-question { border: none; border-top: 1px solid #eee; padding: 16px 0; }
.aelms-quiz-form legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.aelms-answer-option { display: block; margin: 6px 0; cursor: pointer; }

.aelms-result { padding: 24px; border-radius: 8px; margin-top: 20px; }
.aelms-result.aelms-passed { background: #e8f7ee; border: 1px solid #34a853; }
.aelms-result.aelms-failed { background: #fdecea; border: 1px solid #ea4335; }

.aelms-certificate { border: 2px solid #0c71c3; padding: 40px; text-align: center; margin-top: 20px; background: #fff; }

.aelms-document-list { list-style: none; padding: 0; }
.aelms-document-list li { padding: 8px 0; border-bottom: 1px solid #eee; }

.aelms-error { color: #ea4335; }
