:root {
  --sl-sidebar-bg: #0F2650;
  --sl-sidebar-active: #17356B;
  --sl-primary: #29ABE2;
  --sl-primary-hover: #1C86B8;
  --sl-primary-soft: #E7F6FD;
  --sl-accent-urgent: #F5A623;
  --sl-success: #2FA84F;
  --sl-success-soft: #E9F8ED;
  --sl-danger: #E24C4C;
  --sl-danger-soft: #FCEAEA;
  --sl-warning: #F5A623;
  --sl-bg-page: #F5F7FA;
  --sl-surface: #FFFFFF;
  --sl-border: #E3E8EF;
  --sl-text-primary: #16213E;
  --sl-text-muted: #8A94A6;
}

body.sl-student-ui {
  font-family: "Inter", "Nunito", system-ui, -apple-system, sans-serif;
  background-color: #F5F7FA !important;
  color: #16213E;
}

.sl-layout {
  display: flex;
  min-height: 100vh;
  background: #F5F7FA;
}

.sl-content {
  flex: 1;
  min-width: 0;
  margin-left: 264px;
  padding: 24px;
  background: #F5F7FA;
}
@media (max-width: 991px) {
  .sl-content {
    margin-left: 0;
    padding: 16px;
  }
}

.sl-page-title {
  font-size: 24px;
  font-weight: 700;
  color: #16213E;
  margin: 0 0 8px;
}

.sl-page-subtitle {
  font-size: 14px;
  color: #8A94A6;
  margin-bottom: 24px;
}

.sl-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sl-page-head__text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sl-page-head__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: #E7F6FD;
  color: #1C86B8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-page-head .sl-page-title {
  margin: 0;
}

.sl-page-head .sl-page-subtitle {
  margin: 4px 0 0;
  max-width: 52ch;
}

.sl-page-head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sl-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 20px;
  background: #FFFFFF;
  border: 1px dashed #E3E8EF;
  border-radius: 12px;
  color: #8A94A6;
}

.sl-empty-state__title {
  font-weight: 700;
  font-size: 16px;
  color: #16213E;
  margin: 0 0 6px;
}

.sl-notif-card {
  border-left: 3px solid transparent;
  margin-top: 12px;
}

.sl-notif-card.is-unread {
  border-left-color: #29ABE2;
  background: #E7F6FD;
}

.sl-notif-card .notification-badge {
  background: #29ABE2 !important;
}

.sl-topbar.navbar,
#navbar.sl-topbar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E3E8EF;
  box-shadow: none !important;
  min-height: 60px;
  padding: 8px 20px;
}
.sl-topbar.navbar .nav-item .nav-link,
#navbar.sl-topbar .nav-item .nav-link {
  color: #16213E !important;
  font-weight: 500;
  border-radius: 8px;
  padding: 8px 12px !important;
}
.sl-topbar.navbar .nav-item .nav-link:hover,
#navbar.sl-topbar .nav-item .nav-link:hover {
  background: #E7F6FD;
  color: #29ABE2 !important;
}
.sl-topbar.navbar .navbar-nav > li.nav-item:hover,
.sl-topbar.navbar .navbar-nav > li.nav-item.active,
.sl-topbar.navbar .menu-category > ul > li:hover,
.sl-topbar.navbar .menu-category > ul > li.active,
#navbar.sl-topbar .navbar-nav > li.nav-item:hover,
#navbar.sl-topbar .navbar-nav > li.nav-item.active,
#navbar.sl-topbar .menu-category > ul > li:hover,
#navbar.sl-topbar .menu-category > ul > li.active {
  background-color: #E7F6FD !important;
}
.sl-topbar.navbar .navbar-brand,
#navbar.sl-topbar .navbar-brand {
  background: transparent !important;
  max-width: 140px;
  overflow: hidden;
}
.sl-topbar.navbar .sl-topbar-logo,
.sl-topbar.navbar .navbar-brand img,
#navbar.sl-topbar .sl-topbar-logo,
#navbar.sl-topbar .navbar-brand img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sl-topbar.navbar .nav-link-icon,
#navbar.sl-topbar .nav-link-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
  margin-right: 7px;
  flex-shrink: 0;
}
.sl-topbar.navbar .navbar-nav,
#navbar.sl-topbar .navbar-nav {
  flex-wrap: nowrap;
  overflow: hidden;
}
.sl-topbar.navbar .navbar-nav img,
#navbar.sl-topbar .navbar-nav img {
  max-width: 23px;
  max-height: 23px;
  object-fit: contain;
}

.sl-student-topbar {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 60px;
  background: #FFFFFF;
  border-bottom: 1px solid #E3E8EF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-left: 264px;
}
@media (max-width: 991px) {
  .sl-student-topbar {
    margin-left: 0;
  }
}
.sl-student-topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sl-student-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sl-student-topbar__hamburger {
  display: none;
  border: none;
  background: transparent;
  color: #16213E;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.sl-student-topbar__hamburger:hover {
  background: #E7F6FD;
  color: #29ABE2;
}
@media (max-width: 991px) {
  .sl-student-topbar__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.sl-student-topbar__page-title {
  font-size: 15px;
  font-weight: 600;
  color: #16213E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.sl-student-topbar__icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F5F7FA;
  border: 1px solid #E3E8EF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16213E;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.sl-student-topbar__icon-btn:hover {
  background: #E7F6FD;
  color: #29ABE2;
  text-decoration: none;
}
.sl-student-topbar__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F5A623;
  border: 1.5px solid #FFFFFF;
}
.sl-student-topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.sl-student-topbar__user:hover {
  background: #E7F6FD;
  text-decoration: none;
}
.sl-student-topbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0F2650;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.sl-student-topbar__user-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #16213E;
}

body.sl-student-ui #navbarVacuum,
body.sl-student-ui #navbar.sl-topbar,
body.sl-student-ui #navbar,
body.sl-has-sidebar #navbarVacuum,
body.sl-has-sidebar #navbar.sl-topbar,
body.sl-has-sidebar #navbar {
  display: none !important;
}

.sl-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 264px;
  background: #0F2650;
  color: #FFFFFF;
  z-index: 520;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 991px) {
  .sl-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sl-sidebar.is-open {
    transform: translateX(0);
  }
}

.sl-sidebar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  justify-content: center;
}

.sl-sidebar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #FFFFFF;
  text-decoration: none;
}
.sl-sidebar-brand:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.sl-sidebar-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  box-sizing: content-box;
  flex-shrink: 1;
}

.sl-sidebar-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.sl-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sl-sidebar-nav {
  flex: 1;
  padding: 12px 12px 8px;
  overflow-y: auto;
}

.sl-sidebar-section-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
  padding: 14px 12px 6px;
  font-weight: 600;
}

.sl-sidebar-menu {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
}
.sl-sidebar-menu li {
  margin-bottom: 2px;
}
.sl-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.sl-sidebar-menu a svg,
.sl-sidebar-menu a img,
.sl-sidebar-menu a i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}
.sl-sidebar-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}
.sl-sidebar-menu li.is-active > a {
  background: #29ABE2;
  color: #fff;
}
.sl-sidebar-menu li.is-active > a svg, .sl-sidebar-menu li.is-active > a i, .sl-sidebar-menu li.is-active > a img {
  opacity: 1;
}

.sl-sidebar-footer {
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
  flex-shrink: 0;
}

.sl-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.sl-sidebar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5A623;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.sl-sidebar-user-info {
  min-width: 0;
}

.sl-sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-sidebar-user-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.sl-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.sl-sidebar-logout svg, .sl-sidebar-logout i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sl-sidebar-logout:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.sl-sidebar-backdrop {
  display: none;
}
@media (max-width: 991px) {
  .sl-sidebar-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 510;
  }
}

.sl-sidebar-toggle {
  display: none;
  border: none;
  background: #E7F6FD;
  color: #29ABE2;
  border-radius: 8px;
  padding: 8px 10px;
}
@media (max-width: 991px) {
  .sl-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
.sl-sidebar-toggle--float {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 530;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sl-card, .vex-card, .sl-stat-card, .sl-filter-card, .sl-card-flush {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E3E8EF;
  padding: 20px;
}

.sl-card-flush {
  padding: 0;
  overflow: hidden;
}

.sl-quiz-card.webinar-card,
.webinar-card.sl-quiz-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E3E8EF;
  overflow: hidden;
  flex-direction: column !important;
  margin-top: 0 !important;
}
.sl-quiz-card.webinar-card .image-box,
.webinar-card.sl-quiz-card .image-box {
  width: 100% !important;
  height: 140px;
  position: relative;
}
.sl-quiz-card.webinar-card .webinar-card-body,
.webinar-card.sl-quiz-card .webinar-card-body {
  padding: 16px;
}
.sl-quiz-card.webinar-card .webinar-title,
.webinar-card.sl-quiz-card .webinar-title {
  color: #16213E !important;
  font-size: 16px !important;
}

.sl-quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sl-quiz-attempts {
  display: block;
  font-size: 13px;
  color: #E24C4C;
  margin-top: 8px;
}

.sl-quiz-class {
  display: block;
  font-size: 13px;
  color: #8A94A6;
  margin-top: 6px;
}

.btn-sl-primary, .sl-student-ui .btn-primary {
  background: #29ABE2 !important;
  border: 1px solid #29ABE2 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  height: auto !important;
  transition: background 0.2s ease;
}
.btn-sl-primary:hover, .sl-student-ui .btn-primary:hover, .btn-sl-primary:focus, .sl-student-ui .btn-primary:focus {
  background: #1C86B8 !important;
  border-color: #1C86B8 !important;
  color: #fff !important;
}
.btn-sl-primary:disabled, .sl-student-ui .btn-primary:disabled, .btn-sl-primary.disabled, .sl-student-ui .disabled.btn-primary {
  opacity: 0.6;
}

.btn-sl-secondary {
  background: transparent !important;
  border: 1px solid #29ABE2 !important;
  color: #29ABE2 !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.btn-sl-secondary:hover {
  background: #E7F6FD !important;
}

.btn-sl-danger {
  background: #E24C4C !important;
  border: 1px solid #E24C4C !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.btn-sl-danger:hover {
  background: #de3232 !important;
}

.btn-sl-locked {
  background: #9CA3AF !important;
  border: none !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  pointer-events: none;
  box-shadow: none !important;
}

.action-btn,
a.action-btn,
a.action-btn:hover,
a.action-btn:focus {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #29ABE2 !important;
  background-color: #29ABE2 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
}
a.action-btn:hover {
  background: #1C86B8 !important;
  background-color: #1C86B8 !important;
  color: #fff !important;
}

.sl-badge, .quiz-tag, .sl-badge-urgent, .sl-badge-pending, .sl-badge-done, .sl-badge-writing, .sl-badge-listening, .sl-badge-reading {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.sl-badge-reading {
  background: #E7F6FD;
  color: #29ABE2;
}

.sl-badge-listening {
  background: #E7F6FD;
  color: #29ABE2;
}

.sl-badge-writing {
  background: #EDE9FE;
  color: #8B5CF6;
}

.sl-badge-done {
  background: #E9F8ED;
  color: #15803D;
}

.sl-badge-pending {
  background: #F1F5F9;
  color: #8A94A6;
}

.sl-badge-urgent {
  background: #FFF7ED;
  color: #F5A623;
}

.sl-table, .table.sl-table,
.custom-table.sl-table {
  width: 100%;
  background: #FFFFFF;
  border-collapse: separate;
  border-spacing: 0;
}
.sl-table thead th, .table.sl-table thead th,
.custom-table.sl-table thead th {
  background: #F8FAFC !important;
  color: #8A94A6 !important;
  font-weight: 600 !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #E3E8EF !important;
  padding: 12px 16px !important;
  white-space: nowrap;
}
.sl-table tbody td, .table.sl-table tbody td,
.custom-table.sl-table tbody td {
  padding: 14px 16px !important;
  border-bottom: 1px solid #E3E8EF !important;
  font-size: 14px;
  color: #16213E;
  vertical-align: middle;
}
.sl-table tbody tr:hover {
  background: #F1F5F9 !important;
}
.sl-table .true-count,
.sl-table th.true-count {
  background: #2FA84F !important;
  color: #fff !important;
}

.sl-input,
.sl-student-ui .form-control {
  border: 1px solid #E3E8EF !important;
  border-radius: 8px !important;
  font-size: 14px;
  color: #16213E;
}
.sl-input:focus,
.sl-student-ui .form-control:focus {
  border-color: #29ABE2 !important;
  box-shadow: 0 0 0 2px rgba(41, 171, 226, 0.25) !important;
}

.sl-progress {
  height: 8px;
  background: #E3E8EF;
  border-radius: 4px;
  overflow: hidden;
}
.sl-progress .progress-bar,
.sl-progress .sl-progress-fill {
  height: 100%;
  background: #29ABE2;
  border-radius: 4px;
}
.sl-progress.is-success .progress-bar, .sl-progress.is-success .sl-progress-fill {
  background: #2FA84F;
}

.sl-student-ui .progress {
  background: #E3E8EF;
  border-radius: 4px;
  height: 8px;
}
.sl-student-ui .progress .progress-bar {
  background: #29ABE2;
}

.sl-filter-card {
  margin-bottom: 16px;
}
.sl-filter-card .filter-header,
.sl-filter-card .category-filter-title {
  color: #16213E;
  font-weight: 600;
  font-size: 15px;
}

.filters-container.sl-filter-card {
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sl-quiz-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid #E3E8EF;
}

.sl-timer-pill,
.sl-quiz-start .clock-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E9F8ED;
  color: #15803D;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

.sl-quiz-start {
  background: #F5F7FA;
}
.sl-quiz-start .clock-area {
  background: #FFFFFF;
  /* border-bottom: 1px solid #E3E8EF; */
  padding: 12px 20px;
}
.sl-quiz-start .gutter:hover {
  background-color: #29ABE2;
}
.sl-quiz-start .question-number-btn.is-active,
.sl-quiz-start .question-chip.is-active {
  background: #29ABE2;
  color: #fff;
}
.sl-quiz-start .footer-action {
  background: #FFFFFF;
  border-top: 1px solid #E3E8EF;
  padding: 12px 20px;
}

.sl-passage-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E3E8EF;
  padding: 24px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

.sl-question-panel {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E3E8EF;
  padding: 20px;
}

.sl-quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #FFFFFF;
  border-top: 1px solid #E3E8EF;
}

.sl-question-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E7F6FD;
  color: #29ABE2;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
}
.sl-question-chip.is-active {
  background: #29ABE2;
  color: #fff;
}

.sl-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sl-stat-card .sl-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7F6FD;
  color: #29ABE2;
}
.sl-stat-card .sl-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #16213E;
}
.sl-stat-card .sl-stat-label {
  font-size: 13px;
  color: #8A94A6;
}

.sl-student-ui .dashboard-stats,
.sl-student-ui .panel-section-card,
.sl-student-ui .panel-shadow,
.sl-student-ui .activities-container {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  /* border: 1px solid #E3E8EF; */
}
.sl-student-ui .section-title {
  color: #16213E !important;
  font-weight: 700;
}
.sl-student-ui .login-card,
.sl-student-ui .auth-form {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #E3E8EF;
}

.sl-auth-btn,
.login-container .btn-primary,
.auth .btn-primary {
  background: #29ABE2 !important;
  border-color: #29ABE2 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.sl-auth-btn:hover,
.login-container .btn-primary:hover,
.auth .btn-primary:hover {
  background: #1C86B8 !important;
}

.quiz-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1199px) {
  .quiz-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .quiz-cards-container {
    grid-template-columns: 1fr;
  }
}

.quiz-tag {
  background: #FFF1F2;
  color: #BE123C;
}

body.sl-has-sidebar #panel_app .panel-content {
  margin-left: 264px;
  width: calc(100% - 264px);
  max-width: none;
  background: #F5F7FA;
  padding: 24px;
  min-height: calc(100vh - 60px);
}
@media (max-width: 991px) {
  body.sl-has-sidebar #panel_app .panel-content {
    margin-left: 0;
    width: 100%;
    padding: 16px;
  }
}
body.sl-has-sidebar #app > .sl-main-wrap {
  margin-left: 264px;
  background: #F5F7FA;
  min-height: 100vh;
}
@media (max-width: 991px) {
  body.sl-has-sidebar #app > .sl-main-wrap {
    margin-left: 0;
  }
}

.vex {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.vex-card {
  padding: 24px;
}

.vex-option,
.vex-match-row {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #E3E8EF;
  border-radius: 8px;
  background: #FFFFFF;
  text-align: left;
  color: #16213E;
}

.vex-option {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.vex-option.is-selected {
  border-color: #29ABE2;
  background: #E7F6FD;
}
.vex-option:hover {
  border-color: #29ABE2;
}

.vex-match-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vex-match-row strong {
  min-width: 120px;
}
.vex-match-row select {
  flex: 1;
}

.vex-feedback {
  min-height: 28px;
  margin: 12px 0;
  font-weight: 600;
}
.vex-feedback.is-ok {
  color: #2FA84F;
}
.vex-feedback.is-bad {
  color: #E24C4C;
}

.vex-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vex-blanks {
  letter-spacing: 4px;
  color: #8A94A6;
  margin: 8px 0 16px;
}

.vex-stimulus {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #16213E;
}

.vex-audio {
  width: 100%;
  margin: 12px 0;
}

.vex-back-link {
  display: inline-block;
  margin-bottom: 8px;
  color: #29ABE2;
  font-weight: 500;
  text-decoration: none;
}
.vex-back-link:hover {
  color: #1C86B8;
  text-decoration: none;
}

.vsf-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
}

.vsf-card {
  min-height: 220px;
  border: 1px solid #E3E8EF;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  background: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.vsf-word {
  font-size: 32px;
  font-weight: 700;
  color: #16213E;
}

.vsf-meta {
  color: #8A94A6;
  margin-top: 8px;
}

.vsf-meaning {
  font-size: 22px;
  margin-top: 16px;
  color: #16213E;
  white-space: pre-line;
}

.vsf-actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.vsf-back-link {
  display: inline-block;
  margin-bottom: 8px;
  color: #29ABE2;
  font-weight: 500;
  text-decoration: none;
}
.vsf-back-link:hover {
  color: #1C86B8;
  text-decoration: none;
}

.sl-vocab-result {
  max-width: 720px;
}

.sl-vocab-result__meta {
  color: #8A94A6;
  font-size: 14px;
  margin-bottom: 20px;
}

.sl-class-set-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sl-class-set-list li {
  padding: 10px 0;
  border-bottom: 1px solid #E3E8EF;
  color: #16213E;
  font-size: 14px;
}
.sl-class-set-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sl-class-set-list li:first-child {
  padding-top: 0;
}

.sl-feedback-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  border: none;
  border-radius: 8px;
  background: rgba(41, 171, 226, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.sl-feedback-btn svg,
.sl-feedback-btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #7DD3F5;
}
.sl-feedback-btn:hover,
.sl-feedback-btn:focus {
  background: rgba(41, 171, 226, 0.28);
  color: #fff;
  outline: none;
}
.sl-feedback-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(125, 211, 245, 0.7);
}

body.sl-feedback-open {
  overflow: hidden;
}

.sl-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sl-feedback-modal[hidden] {
  display: none !important;
}

.sl-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 38, 80, 0.58);
}

.sl-feedback-dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 320px;
  max-width: calc(100vw - 48px);
  min-height: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(15, 38, 80, 0.22);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: sl-feedback-in 0.2s ease;
}

@keyframes sl-feedback-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sl-feedback-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #8A94A6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.sl-feedback-dialog__close:hover,
.sl-feedback-dialog__close:focus {
  background: #F5F7FA;
  color: #16213E;
  outline: none;
}

.sl-feedback-dialog__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E7F6FD;
  color: #29ABE2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sl-feedback-dialog__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #16213E;
  letter-spacing: -0.02em;
}

.sl-feedback-dialog__subtitle {
  margin: 6px 0 24px;
  font-size: 13px;
  color: #8A94A6;
}

.sl-feedback-channels {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.sl-feedback-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  text-decoration: none;
  color: #16213E;
}
.sl-feedback-channel:hover,
.sl-feedback-channel:focus {
  text-decoration: none;
  color: #16213E;
  outline: none;
}

.sl-feedback-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #E3E8EF;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.sl-feedback-circle svg {
  width: 30px;
  height: 30px;
}

.sl-feedback-circle--zalo {
  color: #0068FF;
}
.sl-feedback-circle--messenger {
  color: #0084FF;
}
.sl-feedback-circle--phone {
  color: #2FA84F;
}

.sl-feedback-channel:hover .sl-feedback-circle,
.sl-feedback-channel:focus .sl-feedback-circle {
  transform: translateY(-2px);
}
.sl-feedback-channel:hover .sl-feedback-circle--zalo,
.sl-feedback-channel:focus .sl-feedback-circle--zalo {
  background: #F0F6FF;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 104, 255, 0.32);
}
.sl-feedback-channel:hover .sl-feedback-circle--messenger,
.sl-feedback-channel:focus .sl-feedback-circle--messenger {
  background: #F0F7FF;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 132, 255, 0.32);
}
.sl-feedback-channel:hover .sl-feedback-circle--phone,
.sl-feedback-channel:focus .sl-feedback-circle--phone {
  background: #E9F8ED;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(47, 168, 79, 0.32);
}

.sl-feedback-channel__label {
  font-size: 12px;
  font-weight: 600;
  color: #8A94A6;
}
.sl-feedback-channel:hover .sl-feedback-channel__label,
.sl-feedback-channel:focus .sl-feedback-channel__label {
  color: #16213E;
}

@media (prefers-reduced-motion: reduce) {
  .sl-feedback-dialog,
  .sl-feedback-circle {
    animation: none;
    transition: none;
  }
}

/* ===== Sidebar v3 — theo thiết kế IELTS Login (docs/uiv3) ===== */
.sl-sidebar { background: #02315f; padding: 20px 14px; font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif; }
.sl-sidebar-brand-row { padding: 4px 10px 20px; border-bottom: 0; }
.sl-sidebar-logo { height: 32px; max-width: 176px; border-radius: 6px; padding: 4px 8px; }
.sl-sidebar-nav { padding: 0; overflow: visible; flex: 1; }
.sl-sidebar-section-label { margin: 18px 12px 6px; padding: 0; font-size: 12px; letter-spacing: .08em; font-weight: 600; color: #a9bdd6; }
.sl-sidebar-menu { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.sl-sidebar-menu li { margin: 0; }
.sl-sidebar-menu a { position: relative; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: #d7e2f0; font-size: 15px; font-weight: 500; transition: background-color .15s, color .15s, transform .15s cubic-bezier(.2,.7,.3,1); }
.sl-sidebar-menu a svg, .sl-sidebar-menu a i { width: 20px; height: 20px; opacity: 1; }
.sl-sidebar-menu a:hover { background: #0b4177; color: #fff; transform: translateX(2px); }
.sl-sidebar-menu li.is-active > a { background: #0e4a86; color: #fff; font-weight: 700; transform: none; }
.sl-sidebar-menu li.is-active > a::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 5px; border-radius: 0 5px 5px 0; background: #f1a01f; }
.sl-sidebar-footer { margin-top: auto; padding: 20px 0 0; border-top: 0; display: flex; flex-direction: column; gap: 10px; }
.sl-sidebar-user { gap: 12px; padding: 12px; margin: 0; border-radius: 16px; background: #0b4177; }
.sl-sidebar-avatar { width: 42px; height: 42px; font-size: 14px; background: #f1a01f; color: #02315f; }
.sl-sidebar-user-name { font-size: 15px; line-height: 1.2; }
.sl-sidebar-user-role { font-size: 13px; color: #b6c8de; margin-top: 2px; }
.sl-foot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sl-foot-btns .sl-feedback-btn, .sl-foot-btns .sl-sidebar-logout { min-height: 44px; margin: 0; padding: 0 8px; border: 1.5px solid #3b6a9c; border-radius: 12px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; justify-content: center; gap: 8px; width: auto; text-align: center; }
.sl-foot-btns .sl-feedback-btn svg, .sl-foot-btns .sl-feedback-btn i, .sl-foot-btns .sl-sidebar-logout svg, .sl-foot-btns .sl-sidebar-logout i { width: 18px; height: 18px; color: inherit; }
.sl-foot-btns .sl-feedback-btn:hover, .sl-foot-btns .sl-feedback-btn:focus, .sl-foot-btns .sl-sidebar-logout:hover { background: #0e4a86; color: #fff; }
.sl-foot-btns .sl-feedback-btn, .sl-foot-btns .sl-sidebar-logout { white-space: nowrap; gap: 6px; }
.sl-foot-btns .sl-sidebar-logout span, .sl-foot-btns .sl-feedback-btn span { white-space: nowrap; }
