.rb-lms-cursus, .rb-lms-examen, .rb-lms-dashboard { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; max-width: 860px; margin: 0 auto; }
.rb-lms-cursus__head h2, .rb-lms-examen__head h2 { font-size: 28px; margin: 0 0 8px; color: #0f172a; }
.rb-lms-cursus__desc { font-size: 15px; color: #475569; margin-bottom: 22px; }
.rb-lms-examen__meta { color: #64748b; font-size: 14px; margin: 0 0 18px; }
.rb-lms-lessen { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rb-lms-les { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; transition: border-color .15s, transform .15s; }
.rb-lms-les:hover { border-color: #1e3a8a; transform: translateY(-1px); }
.rb-lms-les__nr { background: #1e3a8a; color: #fff; font-weight: 800; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.rb-lms-les__body { flex: 1; min-width: 0; }
.rb-lms-les__title { font-size: 16px; font-weight: 700; color: #0f172a; text-decoration: none; display: block; margin-bottom: 4px; }
.rb-lms-les__title:hover { color: #1e3a8a; }
.rb-lms-les__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.rb-lms-chip { background: #f1f5f9; color: #475569; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.rb-lms-chip--time { background: #fef3c7; color: #92400e; }
.rb-lms-les__excerpt { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.rb-lms-empty { color: #64748b; font-style: italic; padding: 20px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 10px; }
.rb-lms-examens { margin-top: 28px; padding: 20px; background: #f8fafc; border-radius: 12px; }
.rb-lms-examens h3 { margin: 0 0 12px; font-size: 18px; color: #0f172a; }
.rb-lms-btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.rb-lms-btn--primary { background: #1e3a8a; color: #fff !important; }
.rb-lms-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,58,138,.3); }
.rb-lms-error { color: #dc2626; padding: 12px 16px; background: #fef2f2; border-radius: 8px; border-left: 4px solid #dc2626; }
.rb-lms-examen__quiz { margin-top: 20px; }
.rb-lms-vraag { background: #fff; padding: 20px; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 14px; }
.rb-lms-vraag__nr { font-size: 13px; color: #64748b; margin-bottom: 6px; }
.rb-lms-vraag__tekst { font-size: 17px; font-weight: 600; margin: 0 0 14px; color: #0f172a; }
.rb-lms-opties { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rb-lms-optie { padding: 12px 14px; border: 2px solid #e2e8f0; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color .15s, background .15s; }
.rb-lms-optie:hover { border-color: #1e3a8a; background: #f8fafc; }
.rb-lms-optie input { margin: 0; }
.rb-lms-optie--selected { border-color: #1e3a8a; background: #eef2ff; }
.rb-lms-timer { position: sticky; top: 10px; background: #1e3a8a; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; display: inline-block; margin-bottom: 14px; }
.rb-lms-timer--warn { background: #dc2626; }
.rb-lms-progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: 14px; }
.rb-lms-progress__bar { height: 100%; background: #1e3a8a; transition: width .25s; }
.rb-lms-examen__result { padding: 24px; border-radius: 12px; }
.rb-lms-examen__result--pass { background: #ecfdf5; border: 1px solid #10b981; }
.rb-lms-examen__result--fail { background: #fef2f2; border: 1px solid #ef4444; }
.rb-lms-examen__result h3 { margin: 0 0 10px; font-size: 24px; }
.rb-lms-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 16px; }
.rb-lms-stats > div { background: #fff; padding: 18px; border: 1px solid #e2e8f0; border-radius: 10px; text-align: center; }
.rb-lms-stats strong { display: block; font-size: 32px; color: #1e3a8a; font-weight: 800; }
.rb-lms-stats span { display: block; font-size: 13px; color: #64748b; margin-top: 4px; }
@media (max-width: 480px) { .rb-lms-cursus__head h2, .rb-lms-examen__head h2 { font-size: 22px; } .rb-lms-les { padding: 12px; } }

/* Les single-template */
.rb-lms-les-page { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }
.rb-lms-crumbs { font-size: 13px; color: #64748b; margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rb-lms-crumbs a { color: #1e3a8a; text-decoration: none; }
.rb-lms-crumbs a:hover { text-decoration: underline; }
.rb-lms-crumbs__current { color: #0f172a; font-weight: 600; }
.rb-lms-les-page .rb-lms-progress { height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.rb-lms-les-page .rb-lms-progress__bar { height: 100%; background: linear-gradient(90deg, #1e3a8a, #3b82f6); transition: width .4s; }
.rb-lms-les-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.rb-lms-les-sidebar { position: sticky; top: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.rb-lms-les-sidebar h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.rb-lms-sidebar-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.rb-lms-sidebar-list li a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #334155; font-size: 14px; align-items: center; transition: background .15s; }
.rb-lms-sidebar-list li a:hover { background: #fff; color: #1e3a8a; }
.rb-lms-sidebar-list li.is-current a { background: #1e3a8a; color: #fff; font-weight: 700; }
.rb-lms-sidebar-list li.is-current .rb-lms-sidebar-nr { background: #fff; color: #1e3a8a; }
.rb-lms-sidebar-nr { background: #e2e8f0; color: #334155; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.rb-lms-sidebar-title { flex: 1; line-height: 1.3; }
.rb-lms-sidebar-cta { width: 100%; text-align: center; box-sizing: border-box; }
.rb-lms-les-main { min-width: 0; }
.rb-lms-les-head { margin-bottom: 22px; }
.rb-lms-les-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rb-lms-les-title { font-size: 32px; margin: 0; color: #0f172a; line-height: 1.2; }
.rb-lms-les-body { font-size: 16px; line-height: 1.65; color: #334155; }
.rb-lms-les-body p { margin: 0 0 14px; }
.rb-lms-les-body h2, .rb-lms-les-body h3 { color: #0f172a; margin: 28px 0 12px; }
.rb-lms-les-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #e2e8f0; }
.rb-lms-nav-btn { padding: 14px 18px; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #334155; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, background .15s; background: #fff; }
.rb-lms-nav-btn:hover { border-color: #1e3a8a; background: #f8fafc; }
.rb-lms-nav-btn--next { text-align: right; align-items: flex-end; }
.rb-lms-nav-btn--exam { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }
.rb-lms-nav-btn--exam:hover { background: #1e293b; border-color: #1e293b; color: #fff; }
.rb-lms-nav-btn__dir { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: inherit; opacity: .7; }
.rb-lms-nav-btn__title { font-size: 15px; font-weight: 700; }
@media (max-width: 860px) {
    .rb-lms-les-layout { grid-template-columns: 1fr; }
    .rb-lms-les-sidebar { position: static; }
    .rb-lms-les-title { font-size: 24px; }
    .rb-lms-les-nav { grid-template-columns: 1fr; }
    .rb-lms-nav-btn--next { text-align: left; align-items: flex-start; }
}

/* Interactie: Hotspot */
.rb-lms-hotspot { margin: 28px 0; padding: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; }
.rb-lms-hotspot__opdracht { margin: 0 0 14px; font-size: 15px; color: #0f172a; }
.rb-lms-hotspot__wrap { position: relative; display: inline-block; max-width: 100%; cursor: crosshair; border-radius: 10px; overflow: hidden; border: 2px solid #e2e8f0; transition: border-color .15s; }
.rb-lms-hotspot__wrap:hover { border-color: #1e3a8a; }
.rb-lms-hotspot__img { display: block; max-width: 100%; height: auto; user-select: none; pointer-events: none; }
.rb-lms-hotspot__marker { position: absolute; width: 28px; height: 28px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; box-shadow: 0 0 0 4px rgba(255,255,255,.8); animation: rbPulse .5s ease; }
.rb-lms-hotspot__marker.is-goed { background: #10b981; }
.rb-lms-hotspot__marker.is-fout { background: #ef4444; }
@keyframes rbPulse { 0% { transform: translate(-50%,-50%) scale(.4); opacity: 0; } 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; } }
.rb-lms-hotspot__feedback { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.rb-lms-hotspot__feedback.is-goed { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.rb-lms-hotspot__feedback.is-fout { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.rb-lms-hotspot__feedback.is-info { background: #eff6ff; color: #1e3a8a; border-left: 4px solid #1e3a8a; }
.rb-lms-hotspot__target { position: absolute; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; border: 3px solid #1e3a8a; background: rgba(30,58,138,.15); box-shadow: 0 0 0 6px rgba(30,58,138,.2); animation: rbTargetPulse 1.4s ease-out infinite; }
@keyframes rbTargetPulse { 0% { box-shadow: 0 0 0 0 rgba(30,58,138,.4); } 100% { box-shadow: 0 0 0 18px rgba(30,58,138,0); } }
.rb-lms-hotspot__hint, .rb-lms-invul__hint { margin-top: 10px; }
.rb-lms-btn--ghost { background: transparent !important; color: #1e3a8a !important; border: 1px solid #cbd5e1 !important; }
.rb-lms-btn--ghost:hover:not(:disabled) { background: #eff6ff !important; border-color: #1e3a8a !important; }
.rb-lms-btn--ghost:disabled { opacity: .55; cursor: default; }
.rb-lms-invul__acties { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-lms-invul__acties > .rb-lms-invul__hint { margin-top: 0; }

/* Interactie: Invul */
.rb-lms-invul { margin: 28px 0; padding: 20px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; }
.rb-lms-invul__opdracht { margin: 0 0 14px; font-size: 15px; color: #78350f; }
.rb-lms-invul__tekst { font-size: 16px; line-height: 2; color: #1e293b; margin-bottom: 16px; }
.rb-lms-invul__input { display: inline-block; border: 0; border-bottom: 2px dashed #d97706; background: rgba(217,119,6,.08); padding: 2px 10px; font-size: 16px; min-width: 120px; color: #1e293b; border-radius: 4px 4px 0 0; transition: all .15s; }
.rb-lms-invul__input:focus { outline: none; background: #fff; border-bottom-color: #1e3a8a; border-bottom-style: solid; }
.rb-lms-invul__input.is-goed { background: #ecfdf5; border-bottom-color: #10b981; color: #065f46; font-weight: 700; }
.rb-lms-invul__input.is-fout { background: #fef2f2; border-bottom-color: #ef4444; color: #991b1b; }
.rb-lms-invul__feedback { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.rb-lms-invul__feedback.is-goed { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.rb-lms-invul__feedback.is-fout { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.rb-lms-invul__feedback.is-info { background: #eff6ff; color: #1e3a8a; border-left: 4px solid #1e3a8a; }

/* Interactie: Micro-quiz */
.rb-lms-micro { margin: 28px 0; padding: 20px; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 14px; }
.rb-lms-micro__titel { margin: 0 0 14px; font-size: 15px; color: #3730a3; }
.rb-lms-micro__vraag .rb-lms-vraag__nr { font-size: 12px; color: #4f46e5; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.rb-lms-micro__vraag .rb-lms-vraag__tekst { font-size: 16px; font-weight: 600; color: #1e1b4b; margin-bottom: 12px; }
.rb-lms-micro .rb-lms-opties { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rb-lms-micro .rb-lms-optie { padding: 10px 14px; border: 2px solid #e0e7ff; border-radius: 8px; cursor: pointer; background: #fff; transition: all .15s; }
.rb-lms-micro .rb-lms-optie label { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.rb-lms-micro .rb-lms-optie:hover:not(.is-beantwoord) { border-color: #4f46e5; background: #f5f3ff; }
.rb-lms-micro .rb-lms-optie.is-beantwoord { cursor: default; }
.rb-lms-micro .rb-lms-optie--goed { border-color: #10b981 !important; background: #ecfdf5 !important; color: #065f46; font-weight: 600; }
.rb-lms-micro .rb-lms-optie--fout { border-color: #ef4444 !important; background: #fef2f2 !important; color: #991b1b; }
.rb-lms-micro__uitleg { margin-top: 12px; padding: 10px 14px; background: #fff; border-left: 4px solid #4f46e5; border-radius: 4px; font-size: 14px; color: #1e1b4b; }
.rb-lms-micro__nav { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.rb-lms-micro__counter { font-size: 13px; color: #4f46e5; font-weight: 600; }
.rb-lms-micro__next { background: #4f46e5; color: #fff; border: 0; padding: 10px 18px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.rb-lms-micro__next:hover { background: #3730a3; }
.rb-lms-micro__result { padding: 20px; border-radius: 10px; text-align: center; }
.rb-lms-micro__result h4 { margin: 0 0 8px; font-size: 28px; }
.rb-lms-micro__result p { margin: 0; font-size: 14px; }
.rb-lms-micro__result--perfect { background: #ecfdf5; color: #065f46; border: 2px solid #10b981; }
.rb-lms-micro__result--ok { background: #fffbeb; color: #78350f; border: 2px solid #f59e0b; }
.rb-lms-micro__result--zwak { background: #fef2f2; color: #991b1b; border: 2px solid #ef4444; }

/* AI-tutor */
.rb-lms-tutor { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #c7d2fe; }
.rb-lms-tutor__bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rb-lms-tutor__label { font-size: 13px; color: #4f46e5; font-weight: 600; }
.rb-lms-tutor__lang { background: #fff; border: 1px solid #c7d2fe; color: #4f46e5; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s; }
.rb-lms-tutor__lang:hover { background: #4f46e5; color: #fff; }
.rb-lms-tutor__lang:disabled { opacity: .5; cursor: not-allowed; }
.rb-lms-tutor__out { margin-top: 10px; padding: 10px 14px; background: #fafafa; border-left: 3px solid #8b5cf6; border-radius: 4px; font-size: 14px; color: #334155; line-height: 1.6; }

/* Bordkeuze */
.rb-lms-bordkeuze { margin: 28px 0; padding: 20px; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 14px; }
.rb-lms-bordkeuze__opdracht { margin: 0 0 14px; font-size: 15px; color: #075985; }
.rb-lms-bordkeuze__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.rb-lms-bord { background: #fff; border: 2px solid #e0f2fe; border-radius: 10px; padding: 14px 10px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.rb-lms-bord:hover:not(:disabled) { transform: translateY(-3px); border-color: #0284c7; box-shadow: 0 6px 16px rgba(2,132,199,.2); }
.rb-lms-bord img { width: 100%; max-width: 110px; aspect-ratio: 1; object-fit: contain; }
.rb-lms-bord__code { font-size: 12px; color: #64748b; font-weight: 700; font-family: ui-monospace, monospace; }
.rb-lms-bordkeuze.is-beantwoord .rb-lms-bord { cursor: default; }
.rb-lms-bord.is-goed { border-color: #10b981 !important; background: #ecfdf5; box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.rb-lms-bord.is-fout { border-color: #ef4444 !important; background: #fef2f2; opacity: .7; }
.rb-lms-bord.is-juist-antwoord:not(.is-goed) { border-color: #10b981 !important; background: #ecfdf5; }
.rb-lms-bordkeuze__feedback { margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.rb-lms-bordkeuze__feedback.is-goed { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.rb-lms-bordkeuze__feedback.is-fout { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.rb-lms-bordkeuze__feedback code { background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 3px; font-family: ui-monospace, monospace; }
