/* SL Course Outline – styles */

/* Lesson Topics Wrapper (op lesson page) */
.sl-lesson-topics-outline {
  border: 2px solid rgba(59, 130, 246, 0.5) !important;
  border-radius: 20px !important;
  padding: 1em !important;
  background: rgba(12, 18, 40, .55) !important;
  margin-top: 0 !important;
}
.sl-lesson-topics-outline:hover {
  background: rgba(12, 18, 40, .95) !important;
}

.sl-section {
  border: 2px solid rgba(59, 130, 246, 0.5);
  border-radius: 20px;
  padding: 1em;
  margin-bottom: 1em;
  background: rgba(12, 18, 40, .55);
}
.sl-section:hover {
  background: rgba(12, 18, 40, .95);
}

.sl-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
  cursor: pointer;
}

/* Maak de sl-chapter-meta een flex container */
.sl-chapter-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 2em 2em 2em 0em;
}


/* Wrapper voor titel en counts (verticaal) */
.sl-section-header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sl-section-title { 
  font-weight: 700; 
  margin: 0;
  font-size: 1.1em;
  color: #ffffff;
}

/* Module badge - in blokje */
.sl-module-badge {
    display: inline-block;
    padding: 1px 0px;
    border: solid rgba(63, 76, 148, 0.5);
    border-width: 0px 0px 4px 0px;
    border-radius: 0px;
    font-size: 0.55em;
    font-weight: 600;
    color: rgb(255 255 255 / 80%);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    display: block;
    width: fit-content;
}

/* Container voor de counts - compact blokje */
.sl-section-counts {
  display: inline-flex;
  gap: 1em;
  flex-wrap: wrap;
}

.sl-section-count { 
  display: inline;
  padding: 6px 12px;
  background: rgba(63, 76, 148, 0.3);
  border: 1px solid rgba(63, 76, 148, 0.5);
  border-radius: 6px;
  font-size: 0.6em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  white-space: nowrap;
  width: fit-content;
}

.sl-section-toggle {
  background: transparent !important;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  color: #fff;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background .2s, transform .15s ease;
  font-size: 0.7em !important;
  flex-shrink: 0;
  margin-top: 2px;
}
.sl-section-toggle:hover { background: rgba(63, 76, 148, .3); }
.sl-section-toggle.is-closed { transform: rotate(-90deg); }

.sl-chapter-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px;
  max-height: 10000px;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sl-chapter-list[style*="display:none"] {
  max-height: 0;
}

/* Wrapper voor chapters - voor dividers */
.sl-chapter-wrapper {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
}

.sl-chapter-wrapper--lesson {
  border-bottom: 1px solid rgba(63, 76, 148, 0.3);
  padding-bottom: 0;
}

/* Divider tussen items */
.sl-chapter-divider {
  height: 1px;
  background: rgba(63, 76, 148, 0.2);
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
}
.sl-chapter {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(63, 76, 148, 0.2);
  color: #ffffff;
}

.sl-chapter:hover,
.sl-chapter:focus,
.sl-chapter:visited {
  color: #ffffff;
}

.sl-chapter:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sl-chapter-thumb-wrap {
  width: 10vh; height: 10vh; flex: 0 0 10vh;
  border-radius: 12px; overflow: hidden;
  margin: 1em;
}
.sl-chapter-thumb,
.sl-chapter-thumb-wrap img {
  width: 100%; height: 100% !important;
  object-fit: cover; object-position: center center;
  display: block;
}
.sl-thumb--placeholder { width: 100%; height: 100%; background: rgba(255, 255, 255, .06); }

.sl-chapter-title { 
  font-weight: 700; 
  line-height: 1.3; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex: 1;
  margin: 0;
  color: #ffffff;
}

.sl-check { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16x;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  background: #339cde;
  border-radius: 50%;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  animation: slideInCheck 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
}

@keyframes slideInCheck {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*
 * Extra stijl voor Les Introductie vs. Topics vs. Quiz
 */

/* --- Icon Overlay Styling --- */
.sl-chapter .sl-chapter-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.sl-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease;
  pointer-events: none;
}

.sl-chapter:hover .sl-icon-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.sl-icon-overlay svg {
  width: 50%;
  height: 50%;
  fill: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sl-chapter:hover .sl-icon-overlay svg {
    opacity: 1;
}

/* Font Awesome icons in overlay */
.sl-icon-overlay i {
  font-size: 3em;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.sl-chapter:hover .sl-icon-overlay i {
    opacity: 1;
}

/* Fallback SVG (verborgen tenzij Font Awesome niet laadt) */
.sl-icon-overlay .fa-fallback {
  width: 50%;
  height: 50%;
  fill: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: none;
}

/* Toon fallback SVG als Font Awesome icon niet geladen is */
.sl-icon-overlay i:not(.fa-solid):not(.fas):not(.far):not(.fab) + .fa-fallback,
.sl-icon-overlay i.fa-solid:empty + .fa-fallback {
  display: block;
}

.sl-chapter:hover .sl-icon-overlay .fa-fallback {
    opacity: 1;
}

/* --- 1. Les Introductie & Quiz (groot, vierkant) --- */

.sl-chapter--lesson-intro,
.sl-chapter--quiz {
  background: rgba(255, 255, 255, .05);
  border-radius: 12px;
  gap: 16px; 
  padding: 0;
  margin: 0;
}

.sl-chapter--lesson-intro .sl-chapter-thumb-wrap,
.sl-chapter--quiz .sl-chapter-thumb-wrap {
  width: 10vh; 
  height: 10vh;
  flex: 0 0 10vh;
  border-radius: 12px; 
}

/* --- 2. Topic (klein, rond) --- */

.sl-chapter--topic {
  margin: 0;
  gap: 12px; 
  transition: background .2s ease;
  padding: 0;
  background: transparent;
  padding-left: 1em;
}

.sl-chapter--topic .sl-chapter-thumb-wrap {
  width: 5vh; 
  height: 5vh;
  flex: 0 0 5vh;
  border-radius: 50%; 
}

.sl-chapter--topic .sl-chapter-title {
  font-size: 0.8em;
}

/* --- 3. Hover en Actieve staten --- */

.sl-chapter--topic:hover { 
  background: rgba(191, 190, 219, .07); 
}

.sl-chapter--lesson-intro:hover,
.sl-chapter--quiz:hover {
  background: rgba(191, 190, 219, .15);
}

.sl-chapter.sl-chapter--lesson-intro.is-current,
.sl-chapter.sl-chapter--quiz.is-current {
  background: rgba(63, 76, 148, .5);
}
.sl-chapter.sl-chapter--lesson-intro.is-current .sl-chapter-lesson-title,
.sl-chapter.sl-chapter--quiz.is-current .sl-chapter-quiz-title {
  font-style: normal;
  opacity: 1;
}

.sl-chapter.sl-chapter--topic.is-current {
  background: rgba(191, 190, 219, .1);
}

/* --- Nieuwe classes voor introductie en quiz --- */
.sl-chapter-intro-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sl-chapter-intro-text {
  font-size: 0.85em;
  font-style: italic;
  opacity: 0.8;
}

.sl-chapter-lesson-title {
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.sl-chapter-topic-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sl-chapter-topic-number {
  font-size: 0.6em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  color: rgb(255 255 255 / 70%);
}

.sl-chapter-quiz-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sl-chapter-quiz-text {
  font-size: 0.85em;
  font-style: italic;
  opacity: 0.8;
}

.sl-chapter-quiz-title {
  font-weight: 700;
  line-height: 1.3;
  font-size: 1em;
  color: #ffffff;
}

/* --- Locked state styling (niet ingelogd) --- */
.sl-chapter.is-locked {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.sl-chapter.is-locked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  border-radius: 12px;
}

.sl-chapter.is-locked:hover {
  background: rgba(255, 255, 255, .03);
}

.sl-chapter.is-locked .sl-icon-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.sl-chapter.is-locked .sl-icon-overlay i,
.sl-chapter.is-locked .sl-icon-overlay svg {
  color: #fffffff1;
  fill: #fffffff1;
}

/* Specifieke styling voor locked lesson-intro en quiz */
.sl-chapter--lesson-intro.is-locked,
.sl-chapter--quiz.is-locked {
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(63, 76, 148, 0.4);
}

.sl-chapter--lesson-intro.is-locked:hover,
.sl-chapter--quiz.is-locked:hover {
  background: rgba(255, 255, 255, .05);
}

/* Specifieke styling voor locked topics */
.sl-chapter--topic.is-locked {
  background: transparent;
}

.sl-chapter--topic.is-locked:hover {
  background: rgba(255, 255, 255, .03);
}

/* Verwijder check mark voor locked items */
.sl-chapter.is-locked .sl-check {
  display: none;
}

/* --- Verberg contentbox op lesson pages zonder video en topics --- */
.sl-no-video-no-topics .contentbox {
  display: none;
}

.sl-no-video-no-topics .contentcontainer {
  width: 65%;
}
/* ============================================

/* ============================================

/* ============================================

/* ============================================
   MOBILE COURSE OUTLINE STYLES - v3.3
   ============================================ */

/* Sticky Bottom Bar - v3.6 */
.sl-mobile-bottom-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 12px 16px !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4) !important;
    z-index: 200 !important;
    transform: translateY(100%) !important;
    opacity: 0 !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

.sl-mobile-bottom-bar.visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.sl-mobile-bottom-bar-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Header met image + course info */
.sl-mobile-bar-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.sl-mobile-course-thumb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: rgba(59, 130, 246, 0.1) !important;
    flex-shrink: 0 !important;
}

.sl-mobile-course-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.sl-mobile-course-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.sl-mobile-course-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.sl-mobile-course-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* Buttons container - twee knoppen naast elkaar */
.sl-mobile-bar-buttons {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: hidden !important;
}

.sl-mobile-action-button,
.sl-mobile-bar-button {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 12px 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sl-mobile-bar-button.modules-button {
    background: rgba(255, 255, 255, 0.08) !important;
}

.sl-mobile-bar-button.modules-button:active {
    background: rgba(255, 255, 255, 0.12) !important;
}

.sl-mobile-action-button {
    background: #3b82f6 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.sl-mobile-action-button:active {
    transform: scale(0.98) !important;
    background: #2563eb !important;
}

/* Different states - allemaal blauw/donkerblauw huisstijl */
.sl-mobile-action-button.continue {
    background: #2563eb !important; /* Donkerblauw voor "Ga verder" */
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

.sl-mobile-action-button.continue:active {
    background: #1d4ed8 !important;
}

.sl-mobile-action-button.start {
    background: #3b82f6 !important; /* Normaal blauw voor "Start" */
}

.sl-mobile-action-button.completed {
    background: #1e40af !important; /* Nog donkerder blauw voor "Voltooid" */
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3) !important;
}

.sl-mobile-action-button.completed:active {
    background: #1e3a8a !important;
}

.sl-mobile-action-button.login {
    background: #3b82f6 !important; /* Ook blauw voor "Login" */
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.sl-mobile-action-button.login:active {
    background: #2563eb !important;
}

/* LearnDash enrollment buttons in bottom bar */
.sl-mobile-bar-buttons form {
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
}

.sl-mobile-bar-buttons .learndash_join_button,
.sl-mobile-bar-buttons input[type="submit"] {
    width: 100% !important;
    padding: 12px 16px !important;
    background: #3b82f6 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.sl-mobile-bar-buttons .learndash_join_button:active,
.sl-mobile-bar-buttons input[type="submit"]:active {
    transform: scale(0.98) !important;
    background: #2563eb !important;
}

.sl-mobile-bar-button svg,
.sl-mobile-action-button svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    fill: currentColor !important;
}

/* Arrow icon altijd aan het einde */
.sl-mobile-action-button {
    flex-direction: row-reverse !important;
}

.sl-mobile-action-button span {
    flex: 1 !important;
    text-align: center !important;
}

/* Responsive */
@media (max-width: 380px) {
    .sl-mobile-course-label {
        display: none !important;
    }
    
    .sl-mobile-course-title {
        font-size: 13px !important;
        -webkit-line-clamp: 1 !important;
    }
    
    .sl-mobile-bar-button {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

/* Overlay */
.sl-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sl-mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Slide Panel */
.sl-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #0f172a;
    z-index: 300;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

.sl-mobile-panel.active {
    right: 0;
}

.sl-mobile-panel-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #0f172a;
    z-index: 10;
}

.sl-mobile-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    flex: 1;
    padding-right: 10px;
}

/* Close button with !important - Firefox compatible */
.sl-mobile-close-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    color: #fff !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.sl-mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.sl-mobile-close-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.sl-mobile-panel-content {
    padding: 20px;
}

/* Module Items - desktop styling met Firefox fixes */
.sl-mobile-module-item {
    border: 2px solid rgba(63, 76, 148, 1);
    border-radius: 20px;
    padding: 1em;
    margin-bottom: 1em;
    background: rgba(12, 18, 40, .55);
    overflow: visible;
    display: block;
}

.sl-mobile-module-item:hover {
    background: rgba(12, 18, 40, .95);
}

.sl-mobile-module-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: space-between;
    cursor: pointer;
    padding: 0;
}

.sl-mobile-module-info {
    flex: 1;
    min-width: 0;
}

/* Kleinere module titels */
.sl-mobile-module-title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #fff;
}

/* Desktop counts styling - Firefox compatible */
.sl-mobile-module-item .sl-section-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 0.5em;
}

.sl-mobile-module-item .sl-section-count {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(63, 76, 148, 0.3);
    border: 1px solid rgba(63, 76, 148, 0.5);
    border-radius: 6px;
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    white-space: nowrap;
    width: auto;
}

.sl-mobile-module-chevron {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    fill: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    margin-top: 4px;
    flex-shrink: 0;
}

.sl-mobile-module-item.expanded .sl-mobile-module-chevron {
    transform: rotate(180deg);
}

.sl-mobile-topics-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    margin-top: 1em;
}

.sl-mobile-module-item.expanded .sl-mobile-topics-list {
    max-height: 2000px;
}

.sl-mobile-lesson-group {
    margin-bottom: 16px;
}

.sl-mobile-lesson-group:last-child {
    margin-bottom: 0;
}

.sl-mobile-lesson-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 6px;
}

.sl-mobile-lesson-header svg {
    fill: #60a5fa;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.sl-mobile-lesson-header a {
    color: #60a5fa;
    text-decoration: none;
    flex: 1;
}

.sl-mobile-lesson-header a:hover {
    text-decoration: underline;
}

.sl-mobile-topic-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.sl-mobile-topic-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Topic Thumbnail - Firefox compatible */
.sl-mobile-topic-thumbnail {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sl-mobile-topic-info {
    flex: 1;
    min-width: 0;
}

.sl-mobile-topic-title {
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
}

.sl-mobile-topic-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sl-mobile-topic-check svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.sl-mobile-topic-check.incomplete {
    background: rgba(255, 255, 255, 0.1);
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .sl-mobile-fab {
        display: -moz-inline-box !important;
        -moz-box-orient: horizontal !important;
        -moz-box-align: center !important;
        -moz-box-pack: center !important;
    }
    
    .sl-mobile-module-header {
        display: -moz-box !important;
        -moz-box-orient: horizontal !important;
    }
    
    .sl-section-counts {
        display: -moz-box !important;
        -moz-box-orient: horizontal !important;
    }
}

/* Responsive - hide on desktop by default */
@media (min-width: 769px) {
    .sl-course-outline-mobile {
        display: none;
    }
}
