/* AvaSkill LMS — navy #101C34 + gold #D4AF69 on a light theme. */
.asa-wrap { max-width: 860px; margin: 32px auto; padding: 0 16px; color: #101C34; }
.asa-wrap h1, .asa-wrap h2, .asa-wrap h3 { color: #101C34; }
.asa-btn { display: inline-block; background: #101C34; color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; font-size: 16px; }
.asa-btn:hover { background: #D4AF69; color: #101C34; }
.asa-btn-gold { background: #D4AF69; color: #101C34; }
.asa-muted { color: #555; }
.asa-gate { max-width: 720px; margin: 48px auto; padding: 32px; border: 2px solid #101C34; border-radius: 12px; background: #fff; text-align: center; }
.asa-notice { border: 2px solid #D4AF69; border-radius: 12px; padding: 20px; background: #fffdf5; margin: 24px 0; }
.asa-release { font-weight: 700; }
.asa-player { width: 100%; max-height: 540px; background: #000; border-radius: 12px; }
.asa-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 20px 0; }
.asa-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.asa-files, .asa-summary, .asa-lesson-body { margin: 24px 0; }
.asa-lesson-list li { margin: 8px 0; }
.asa-locked { color: #777; }
.asa-done { color: #1a7a3a; font-weight: 700; }
.asa-enrolled { font-weight: 700; }
.asa-progress { height: 14px; background: #e8e8e8; border-radius: 7px; overflow: hidden; margin: 12px 0 4px; }
.asa-progress-bar { height: 100%; background: #D4AF69; }
.asa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.asa-card { border: 1px solid #ddd; border-radius: 12px; padding: 20px; background: #fff; }
.asa-card-img img { width: 100%; height: auto; border-radius: 8px; }
.asa-stars { color: #D4AF69; letter-spacing: 2px; }
.asa-rating-form { border: 2px solid #101C34; border-radius: 12px; padding: 20px; margin: 28px 0; background: #fff; }
.asa-room-header { text-align: center; margin-bottom: 16px; }
.asa-room-logo { max-height: 60px; width: auto; }
.asa-room-brand { font-size: 22px; font-weight: 700; color: #101C34; }
.asa-jitsi-room { width: 100%; height: 720px; border: 2px solid #101C34; border-radius: 12px; overflow: hidden; background: #000; }
/* ---- v1.0.2: two-column lesson layout, sidebar, nav row, activity ---- */
.asa-lesson-layout { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.asa-lesson-main { min-width: 0; }
.asa-lesson-main .comments-area { margin-top: 32px; }
.asa-lesson-sidebar { position: sticky; top: 24px; }
.asa-side-block { border: 1px solid #ddd; border-radius: 12px; padding: 20px; background: #fff; margin-bottom: 20px; }
.asa-side-block h3 { margin-top: 0; }
.asa-side-lessons { margin: 12px 0 0; padding-left: 20px; font-size: 14px; }
.asa-side-lessons li { margin: 6px 0; }
.asa-nav-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 28px 0; }
.asa-nav-row .asa-btn:last-child, .asa-nav-row > :last-child { justify-self: end; }
.asa-nav-middle { margin: 0; text-align: center; }
.asa-btn-disabled { opacity: 0.45; cursor: not-allowed; }
.asa-btn-disabled:hover { background: #101C34; color: #fff; }
.asa-nav-note { display: block; font-size: 13px; text-align: right; }
.asa-checklist { border: 1px solid #D4AF69; border-radius: 12px; padding: 16px 20px; background: #fffdf5; margin: 24px 0; }
.asa-checklist h4 { margin: 0 0 8px; }
.asa-checklist ul { margin: 0; padding-left: 4px; list-style: none; }
.asa-checklist li { margin: 4px 0; }
.asa-activity-btn { width: 100%; margin: 4px 0; }
.asa-activity-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.asa-activity-btn:disabled:hover { background: #101C34; color: #fff; }
.asa-panel { margin: 12px 0; padding-top: 12px; border-top: 1px solid #eee; }
.asa-q { border: 1px solid #ddd; border-radius: 8px; padding: 12px; margin: 12px 0; }
.asa-q legend { font-weight: 700; padding: 0 6px; }
.asa-q-text { margin: 4px 0 8px; }
.asa-q-opt { display: block; margin: 6px 0; font-size: 15px; }
.asa-q-order, .asa-q-match { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.asa-q-fill { width: 100%; padding: 8px; border: 1px solid #bbb; border-radius: 6px; }
.asa-hw-text { width: 100%; padding: 8px; border: 1px solid #bbb; border-radius: 6px; }
.asa-quiz-msg, .asa-hw-msg { font-weight: 700; min-height: 1.2em; }
.asa-quiz-review { padding-left: 20px; }
.asa-quiz-review li { margin: 8px 0; }
.asa-q-mark { font-weight: 700; }
.asa-topics { padding-left: 20px; }
.asa-hw-result { border: 1px solid #D4AF69; border-radius: 8px; padding: 12px; background: #fffdf5; margin: 12px 0; }
@media (max-width: 900px) {
  .asa-lesson-layout { grid-template-columns: 1fr; }
  .asa-lesson-sidebar { position: static; }
  .asa-nav-row { grid-template-columns: 1fr; }
  .asa-nav-row .asa-btn:last-child, .asa-nav-row > :last-child { justify-self: start; }
  .asa-nav-note { text-align: left; }
}

/* v1.0.5: [asa_course_categories] output. Chips reuse the navy/gold button
   language; the list style inherits the surrounding link colour (footer). */
.asa-cat-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.asa-cat-chip { display: inline-block; background: #101C34; color: #fff; padding: 10px 22px; border-radius: 999px; text-decoration: none; font-size: 16px; }
.asa-cat-chip:hover { background: #D4AF69; color: #101C34; }
.asa-cat-list { list-style: none; margin: 0; padding: 0; }
.asa-cat-list li { margin: 0 0 8px; }
.asa-cat-list a { color: inherit; text-decoration: none; }
.asa-cat-list a:hover { color: #D4AF69; }
