[ng-cloak] { display: none; }
body { background: #f5f7fb; }
.hero { background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%); }
.resume-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 1rem; box-shadow: 0 .75rem 2rem rgba(0,0,0,.06); }
.app-shell { min-height: 70vh; background: #fff; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
.lesson-sidebar { max-height: calc(100vh - 72px); overflow: auto; position: sticky; top: 56px; }
.lesson-list { display: grid; gap: .25rem; padding: .75rem; }
.lesson-list-item { width: 100%; display: grid; grid-template-columns: 82px 1fr; gap: .75rem; text-align: left; border: 1px solid transparent; background: transparent; border-radius: .85rem; padding: .65rem; }
.lesson-list-item:hover, .lesson-list-item.active { background: #f0f6ff; border-color: #cfe2ff; }
.lesson-thumb { width: 82px; height: 62px; object-fit: cover; border-radius: .65rem; background: #e9ecef; }
.lesson-meta { min-width: 0; }
.lesson-title { display: block; font-weight: 650; color: #1f2937; }
.lesson-summary { display: block; color: #6b7280; font-size: .9rem; line-height: 1.25; margin: .15rem 0 .35rem; }
.lesson-badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.lesson-viewer { background: #fff; min-height: 70vh; }
.lesson-cover { min-height: 220px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(0,0,0,.08); }
.empty-state { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3rem 1rem; color: #4b5563; }
.content-block { font-size: 1.06rem; line-height: 1.7; }
.content-block h3 { margin-top: 1.5rem; }
.content-block iframe { width: 100%; max-width: 100%; min-height: 320px; border-radius: .75rem; border: 1px solid rgba(0,0,0,.15); }
.content-block .practice-box { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1rem; margin: 1rem 0; }
@media (max-width: 991.98px) {
    .lesson-sidebar { max-height: none; position: static; border-right: 0 !important; }
    .lesson-viewer { border-top: 1px solid rgba(0,0,0,.08); }
    .app-shell.mobile-lesson-mode .lesson-sidebar { display: none; }
    .app-shell.mobile-list-mode .lesson-viewer { display: none; }
}
@media (min-width: 992px) {
    .app-shell .lesson-sidebar, .app-shell .lesson-viewer { display: block !important; }
}
.lesson-pagination { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.page-buttons { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 575.98px) {
    .lesson-pagination { align-items: stretch; flex-direction: column; }
    .lesson-pagination .btn { width: 100%; }
    .page-buttons .btn { width: auto; }
    .page-buttons {display: none !important }
}
.tag-filter { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag-filter .small { flex: 0 0 100%; }
.lesson-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.audio-word { border: 0; background: #eef5ff; color: #0d6efd; border-radius: .45rem; padding: .05rem .35rem; cursor: pointer; font: inherit; }
.audio-word::after { content: ' 🔊'; font-size: .85em; }
.audio-word:hover { background: #d9eaff; }
.level-filter { display: flex; gap: .4rem; flex-wrap: wrap; }
.level-filter .small { flex: 0 0 100%; }
.audio-word-group { display: inline-flex; align-items: center; gap: .15rem; vertical-align: baseline; }
.audio-word-group .audio-word { border-radius: .45rem 0 0 .45rem; }
.audio-word-group .audio-word-slow { border-radius: 0 .45rem .45rem 0; font-size: .85em; padding-left: .3rem; padding-right: .3rem; }
.audio-word-group .audio-word::after { content: ''; }
.audio-word-group .audio-word:first-child::after { content: ' 🔊'; font-size: .85em; }
.navbar:not(.bg-white):not(.navbar-cdark) {
    background: #0057B7 !important;
}
.audio-word-group {
    white-space: nowrap;
}
 .orange { color: #DD8800;}
.pointer { cursor: pointer; }
    .purple {
        color: #AA00AA;
    }
    .blue {
        color: #0000AA;
    }
@media (max-width: 575.98px) {
.lesson-pagination-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-direction: row;
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
}

    .lesson-pagination-fixed .btn {
      width: auto;
    }
.lesson-pagination-fixed .page-buttons {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.15rem 0;
}

.has-fixed-pagination {
    padding-bottom: 8rem !important;
}
}
@media (min-width: 992px) {
    .lesson-pagination-fixed {
        left: 33.333333%;
    }
}

@media (min-width: 1200px) {
    .lesson-pagination-fixed {
        left: 25%;
    }
}

@media (max-width: 575.98px) {
 
    .lesson-pagination-fixed .btn {
        white-space: nowrap;
    }

    .lesson-pagination-fixed .page-buttons {
        max-width: 40vw;
    }
}
.lesson-list {
    overflow: auto;
    max-height: 60vh;
}
.btn-previous:disabled {
    opacity: 0;
}
.lesson-pagination button { min-width: 140px; }
@media (max-width: 767.98px) {
  table.table.responsive-list,
  table.table.responsive-list thead,
  table.table.responsive-list tbody,
  table.table.responsive-list tr,
  table.table.responsive-list td {
    display: block;
    width: 100% !important;
    height: auto !important;
    
  } 
  table.table.responsive-list thead {
    display: none;
  }

  table.table.responsive-list tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    padding: .75rem;
  }

  table.table.responsive-list td {
    border: 0;
    padding: .25rem 0;
  }

  table.table.responsive-list td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
  }

  table.table.responsive-list td:empty,
  table.table.responsive-list td[data-empty="true"] {
    display: none;
  }
  
    table.table.responsive-list > tbody > tr { height: auto !important; }
}


.content-block .story-box {
    background: #fffffd;
    border: 1px solid #e5e7eb;
    border-radius:  0;
    padding: 1rem;
    margin: 1rem 0;
} 