.lms-admin-page .rbt-dashboard-content {
  border-radius: 8px;
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(26, 32, 44, 0.04);
}

.lms-admin-page .rbt-dashboard-content .content {
  padding: 22px;
}

.lms-admin-page .rbt-title-style-3 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 0;
}

.lms-admin-page label,
.lms-admin-page .form-label {
  display: block;
  margin: 0 0 8px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.lms-admin-page .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 18px;
}

.lms-admin-page .form-group label {
  position: static;
  order: -1;
  width: auto;
  top: auto;
  left: auto;
  z-index: auto;
  margin-bottom: 8px;
  color: var(--color-heading);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lms-admin-page .form-group.focused label {
  top: auto;
  color: var(--color-heading);
  font-size: 15px;
}

.lms-admin-page .form-group .focus-border {
  display: none;
}

.lms-admin-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lms-admin-page select,
.lms-admin-page textarea,
.lms-admin-page .form-control,
.lms-admin-page .form-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dfe4f1;
  border-radius: 6px;
  background-color: #fff;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  padding: 12px 16px;
  box-shadow: none;
}

.lms-admin-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.lms-admin-page select,
.lms-admin-page .form-control,
.lms-admin-page .form-select {
  height: 50px;
}

.lms-admin-page select,
.lms-admin-page .form-select {
  padding-right: 36px;
}

.lms-admin-page .bootstrap-select.form-control,
.lms-admin-page .bootstrap-select.form-select,
.lms-admin-page .bootstrap-select {
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px;
  background: transparent !important;
  box-shadow: none !important;
}

.lms-admin-page .bootstrap-select > .dropdown-toggle,
.lms-admin-page .bootstrap-select > button.dropdown-toggle,
.lms-admin-page .rbt-modern-select .bootstrap-select button.btn-light {
  display: inline-flex;
  align-items: center;
  width: 100%;
  height: 50px !important;
  min-height: 50px !important;
  border: 1px solid #dfe4f1 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--color-heading) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  padding: 0 36px 0 16px !important;
  box-shadow: none !important;
}

.lms-admin-page .bootstrap-select .dropdown-toggle .filter-option {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 0;
}

.lms-admin-page .bootstrap-select .dropdown-toggle .filter-option-inner,
.lms-admin-page .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  line-height: 1.35;
}

.lms-admin-page textarea,
.lms-admin-page textarea.form-control {
  height: auto;
  min-height: 128px;
  resize: vertical;
}

.lms-admin-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.lms-admin-page select:focus,
.lms-admin-page textarea:focus,
.lms-admin-page .form-control:focus,
.lms-admin-page .form-select:focus,
.lms-admin-page .bootstrap-select.show > .dropdown-toggle,
.lms-admin-page .bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--color-primary);
  box-shadow: none;
  outline: 0;
}

.lms-admin-page input::placeholder,
.lms-admin-page textarea::placeholder {
  color: #6b7890;
  opacity: 1;
}

.lms-admin-page .rbt-btn,
.lms-admin-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-height: 50px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 0 20px !important;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}

.lms-admin-page .rbt-btn:hover,
.lms-admin-page .btn:hover {
  transform: none;
}

.lms-admin-page .rbt-btn.btn-sm,
.lms-admin-page .btn.btn-sm {
  height: 50px;
  min-height: 50px;
  padding: 0 18px !important;
  font-size: 14px;
}

.lms-admin-page .table-actions .btn.btn-sm {
  height: 34px !important;
  min-width: 34px;
  min-height: 34px !important;
  padding: 7px 9px !important;
  font-size: 13px;
}

.lms-admin-page .rbt-dashboard-table,
.lms-admin-page .rbt-dashboard-table.table-responsive {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.lms-admin-page .rbt-table {
  width: 100%;
  table-layout: auto;
}

.lms-admin-page .rbt-table thead th {
  background: #f7f9fc;
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid #e6ebf3;
}

.lms-admin-page .rbt-table th,
.lms-admin-page .rbt-table td {
  padding: 9px 12px;
  vertical-align: middle;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.lms-admin-page .rbt-table tbody td,
.lms-admin-page .rbt-table tbody th {
  color: var(--color-body);
  font-size: 14px;
  font-weight: 400;
}

.lms-admin-page .rbt-table tbody tr:nth-child(even) th,
.lms-admin-page .rbt-table tbody tr:nth-child(even) td {
  background: var(--color-grey);
}

.lms-admin-page .rbt-table tfoot th,
.lms-admin-page .rbt-table tfoot td {
  background: var(--color-grey);
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 600;
}

/* Action column stays compact and never wraps buttons */
.lms-admin-page .rbt-table td.table-actions {
  white-space: nowrap;
  width: 1%;
  min-width: max-content;
}

.lms-admin-page .rbt-table td .form-control {
  min-width: 0;
  width: 100%;
}

.lms-admin-page .rbt-table td input.form-control,
.lms-admin-page .rbt-table td select.form-control {
  min-height: 34px;
  padding: 5px 9px;
}

.lms-admin-page .rbt-table td:first-child {
  width: 1%;
  white-space: nowrap;
}

.lms-admin-page .badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
}

.lms-admin-page .section-title,
.lms-admin-page .lms-block {
  margin-bottom: 16px;
}

.lms-admin-page .rbt-search-style-1 {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lms-admin-page .rbt-search-style-1 input {
  min-width: 0;
}

.lms-admin-page .table-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.lms-admin-page .lms-sort-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lms-admin-page .lms-sort-button:hover {
  color: var(--color-primary);
}

.lms-admin-page .lms-sort-label {
  min-width: 0;
}

.lms-admin-page .lms-sort-icon {
  flex: 0 0 auto;
  font-size: 13px;
  color: #9aa7bd;
  opacity: 0.65;
  transition: transform 0.15s ease, opacity 0.15s ease, color 0.15s ease;
}

.lms-admin-page th.is-sorted-asc .lms-sort-icon,
.lms-admin-page th.is-sorted-desc .lms-sort-icon {
  color: var(--color-primary);
  opacity: 1;
}

.lms-admin-page th.is-sorted-desc .lms-sort-icon {
  transform: rotate(180deg);
}

.lms-admin-page .lms-filter-actions {
  display: flex;
  gap: 8px;
}

.lms-admin-page .student-select-column {
  width: 76px;
  min-width: 76px;
  text-align: center;
}

.lms-admin-page .student-select-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #41506b;
  cursor: pointer;
  user-select: none;
}

.lms-admin-page .student-select-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #d1d9e8;
  background: #f8fbff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lms-admin-page .student-select-control:hover {
  border-color: #7c9fff;
  background: #eef4ff;
  box-shadow: 0 6px 14px rgba(49, 86, 183, 0.12);
}

.lms-admin-page .student-select-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lms-admin-page .student-select-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #8ca0c3;
  background: #ffffff;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lms-admin-page .student-select-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(-50%, -60%) rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.lms-admin-page .student-select-control input:checked + .student-select-mark {
  border-color: #2563eb;
  background: #2563eb;
  transform: scale(1.05);
}

.lms-admin-page .student-select-control input:checked + .student-select-mark::after {
  transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.lms-admin-page .student-row {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lms-admin-page .student-row:hover td {
  background: #f7faff;
}

.lms-admin-page .student-row td.table-actions,
.lms-admin-page .student-row td[data-no-row-toggle="true"] {
  cursor: default;
}

.lms-admin-page .student-row-selected td {
  background: #eaf2ff;
}

.lms-admin-page .student-row-selected:nth-child(even) td {
  background: #eaf2ff;
}

.lms-admin-page .student-row-selected td:first-child {
  box-shadow: inset 4px 0 0 #2563eb;
}

.lms-admin-page .pagination-area {
  margin-top: 18px;
}

.lms-admin-page > .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(16px, 2vw, 28px);
  padding-right: clamp(16px, 2vw, 28px);
}

.lms-admin-page .rbt-dashboard-area,
.lms-admin-page .row,
.lms-admin-page .col-lg-3,
.lms-admin-page .col-lg-9,
.lms-admin-page .col-lg-12 {
  min-width: 0;
}

.lms-admin-page .rbt-dashboard-content .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.lms-admin-page .rbt-default-sidebar.sticky-top {
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lms-admin-page .rbt-default-sidebar.sticky-top::-webkit-scrollbar {
  display: none;
}

.lms-admin-page .dashboard-sidebar {
  border-radius: 16px;
  border: 1px solid #e7edf6;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(18, 33, 61, 0.06);
  overflow-x: hidden;
  z-index: auto;
}

.lms-admin-page .dashboard-sidebar.rbt-gradient-border::before {
  display: none;
}

.lms-admin-page .dashboard-sidebar .inner,
.lms-admin-page .dashboard-sidebar .content-item-content,
.lms-admin-page .dashboard-sidebar .rbt-default-sidebar-wrapper {
  min-height: 100%;
  background: #fff;
}

.lms-admin-page .dashboard-sidebar .inner {
  padding: 0;
}

.lms-admin-page .dashboard-sidebar .content-item-content {
  padding: 26px 28px;
}

.lms-admin-page .dashboard-sidebar .section-title {
  margin-bottom: 18px;
}

.lms-admin-page .dashboard-sidebar .section-title .rbt-title-style-2 {
  margin: 0;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lms-admin-page .dashboard-sidebar .student-sidebar__role {
  margin: 8px 0 0;
  color: #6d7a92;
  font-size: 13px;
}

.lms-admin-page .dashboard-sidebar .single-sidebar-widget + .single-sidebar-widget {
  margin-top: 24px;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu {
  margin: 0;
  padding: 0;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu li {
  display: block;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu li + li {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid #e3e8f2;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--color-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a i {
  flex: 0 0 auto;
  margin-right: 0;
  color: currentColor;
  font-size: 16px;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a span {
  min-width: 0;
  color: currentColor;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a.is-active {
  background: #eef4ff;
  color: #1746a2;
  font-weight: 700;
}

.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a.is-active i,
.lms-admin-page .dashboard-sidebar .dashboard-mainmenu a.is-active span {
  color: inherit;
}

.lms-admin-page.dashboard-shell .dashboard-hero,
.lms-admin-page.dashboard-shell .dashboard-panel,
.lms-admin-page.dashboard-shell .dashboard-stat-card,
.lms-admin-page.dashboard-shell .dashboard-action-card,
.lms-admin-page.dashboard-shell .dashboard-management-card,
.lms-admin-page.dashboard-shell .dashboard-subject-card {
  border: 1px solid #e6edf6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 34, 61, 0.05);
}

.lms-admin-page.dashboard-shell .dashboard-hero {
  padding: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fe 60%, #eef4ff 100%);
}

.lms-admin-page.dashboard-shell .dashboard-eyebrow {
  margin: 0 0 8px;
  color: #667791;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lms-admin-page.dashboard-shell .dashboard-title {
  margin: 0;
  color: #1b2741;
  font-size: 34px;
  line-height: 1.08;
}

.lms-admin-page.dashboard-shell .dashboard-copy {
  margin: 12px 0 0;
  color: #5f6f89;
  font-size: 15px;
  line-height: 1.7;
  max-width: 860px;
}

.lms-admin-page.dashboard-shell .dashboard-chip-row,
.lms-admin-page.dashboard-shell .dashboard-subject-meta,
.lms-admin-page.dashboard-shell .dashboard-subject-card__footer,
.lms-admin-page.dashboard-shell .dashboard-management-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lms-admin-page.dashboard-shell .dashboard-chip-row {
  margin-top: 18px;
}

.lms-admin-page.dashboard-shell .dashboard-chip,
.lms-admin-page.dashboard-shell .dashboard-pill,
.lms-admin-page.dashboard-shell .dashboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #40516d;
  font-size: 13px;
  font-weight: 600;
}

.lms-admin-page.dashboard-shell .dashboard-pill.is-accent,
.lms-admin-page.dashboard-shell .dashboard-badge.is-success {
  background: #e8f8ef;
  color: #1d8f52;
}

.lms-admin-page.dashboard-shell .dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lms-admin-page.dashboard-shell .dashboard-stat-card {
  padding: 20px;
}

.lms-admin-page.dashboard-shell .dashboard-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: #6d7a92;
  font-size: 13px;
  font-weight: 600;
}

.lms-admin-page.dashboard-shell .dashboard-stat-card strong {
  display: block;
  color: #17243d;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.lms-admin-page.dashboard-shell .dashboard-stat-card small {
  display: block;
  margin-top: 10px;
  color: #7a879b;
  font-size: 12px;
  line-height: 1.55;
}

.lms-admin-page.dashboard-shell .dashboard-panel {
  padding: 24px;
}

.lms-admin-page.dashboard-shell .dashboard-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.lms-admin-page.dashboard-shell .dashboard-panel__title {
  margin: 0;
  color: #1d2841;
  font-size: 24px;
  line-height: 1.12;
}

.lms-admin-page.dashboard-shell .dashboard-panel__desc {
  margin: 8px 0 0;
  color: #6d7a92;
  font-size: 14px;
  line-height: 1.6;
}

.lms-admin-page.dashboard-shell .dashboard-empty {
  border: 1px dashed #d8e0ec;
  border-radius: 14px;
  background: #fafcff;
  color: #6f8099;
  padding: 24px;
  text-align: center;
}

.lms-admin-page.dashboard-shell .dashboard-action-grid,
.lms-admin-page.dashboard-shell .dashboard-management-grid,
.lms-admin-page.dashboard-shell .dashboard-subject-grid {
  display: grid;
  gap: 16px;
}

.lms-admin-page.dashboard-shell .dashboard-action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lms-admin-page.dashboard-shell .dashboard-management-grid,
.lms-admin-page.dashboard-shell .dashboard-subject-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lms-admin-page.dashboard-shell .dashboard-action-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lms-admin-page.dashboard-shell .dashboard-action-card:hover,
.lms-admin-page.dashboard-shell .dashboard-management-card:hover,
.lms-admin-page.dashboard-shell .dashboard-subject-card:hover {
  transform: translateY(-1px);
  border-color: #ced9ea;
  box-shadow: 0 16px 34px rgba(20, 34, 61, 0.08);
}

.lms-admin-page.dashboard-shell .dashboard-action-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #edf3ff;
  color: #2556b6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.lms-admin-page.dashboard-shell .dashboard-action-card__body strong,
.lms-admin-page.dashboard-shell .dashboard-list-item strong,
.lms-admin-page.dashboard-shell .dashboard-management-card h5,
.lms-admin-page.dashboard-shell .dashboard-subject-card h5 {
  display: block;
  margin: 0;
  color: #17243d;
}

.lms-admin-page.dashboard-shell .dashboard-action-card__body small,
.lms-admin-page.dashboard-shell .dashboard-list-item span,
.lms-admin-page.dashboard-shell .dashboard-management-card p,
.lms-admin-page.dashboard-shell .dashboard-subject-card p,
.lms-admin-page.dashboard-shell .dashboard-subject-copy,
.lms-admin-page.dashboard-shell .dashboard-subject-meta span {
  display: block;
  color: #6c7c94;
  font-size: 13px;
  line-height: 1.6;
}

.lms-admin-page.dashboard-shell .dashboard-list {
  display: grid;
  gap: 12px;
}

.lms-admin-page.dashboard-shell .dashboard-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #ebf0f7;
  border-radius: 14px;
  background: #fff;
}

.lms-admin-page.dashboard-shell .dashboard-management-card,
.lms-admin-page.dashboard-shell .dashboard-subject-card {
  padding: 20px;
}

.lms-admin-page.dashboard-shell .dashboard-management-card p,
.lms-admin-page.dashboard-shell .dashboard-subject-copy {
  margin: 10px 0 0;
}

.lms-admin-page.dashboard-shell .dashboard-management-card__meta,
.lms-admin-page.dashboard-shell .dashboard-subject-card__footer {
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.lms-admin-page.dashboard-shell .dashboard-subject-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.lms-admin-page.dashboard-shell .dashboard-subject-meta {
  margin-top: 14px;
}

.settings-password-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #f8fbff;
  color: #53647f;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
}

.settings-password-note i {
  color: #2556b6;
  font-size: 18px;
  line-height: 1.4;
}

.settings-qr-card {
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.help-page .help-section {
  margin-bottom: 20px;
}

.help-page .help-guide-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.help-page .help-guide-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  background: #fff;
  color: #29374f;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 14px;
  text-decoration: none;
}

.help-page .help-guide-switcher a.is-active {
  border-color: #dbe7ff;
  background: #eef4ff;
  color: #1746a2;
}

.help-page .help-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.help-page .help-visual {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  min-height: 280px;
  border: 1px solid #e6edf6;
  border-radius: 16px;
  background: #f8fbff;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.help-page .help-visual-teacher,
.help-page .help-visual-student {
  grid-template-columns: 1fr;
}

.help-page .help-visual-sidebar,
.help-page .help-visual-main,
.help-page .help-subject-card,
.help-page .help-student-hero {
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #fff;
}

.help-page .help-visual-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.help-page .help-visual-sidebar span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border-radius: 8px;
  color: #29374f;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}

.help-page .help-visual-sidebar span.active {
  background: #eef4ff;
  color: #1746a2;
}

.help-page .help-visual-main {
  position: relative;
  min-height: 246px;
  padding: 18px;
}

.help-page .help-visual-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.help-page .help-input,
.help-page .help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
}

.help-page .help-input {
  min-width: 160px;
  justify-content: flex-start;
  border: 1px solid #dfe6f2;
  background: #fff;
  color: #7a879c;
}

.help-page .help-button {
  border: 1px solid #dfe6f2;
  background: #fff;
  color: #1d2841;
}

.help-page .help-button.accent {
  border-color: transparent;
  background: linear-gradient(90deg, #c63725 0%, #f2c532 100%);
  color: #fff;
}

.help-page .help-visual-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e6edf6;
  border-radius: 12px;
  overflow: hidden;
}

.help-page .help-visual-table span,
.help-page .help-visual-table strong {
  min-height: 44px;
  border-bottom: 1px solid #edf2f8;
  color: #1d2841;
  font-size: 13px;
  padding: 12px;
}

.help-page .help-visual-table span {
  background: #f5f8fc;
  font-weight: 800;
}

.help-page .help-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 26px !important;
  border-radius: 999px;
  background: #e7f7ef;
  color: #087443 !important;
  padding: 4px 10px !important;
}

.help-page .help-callout {
  position: absolute;
  max-width: 210px;
  border: 1px solid #c7d8ff;
  border-radius: 10px;
  background: #fff;
  color: #294066;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  padding: 9px 11px;
  box-shadow: 0 10px 24px rgba(25, 50, 92, 0.12);
}

.help-page .help-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.help-page .help-card {
  border: 1px solid #e6edf6;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.help-page .help-card h5,
.help-page .help-subject-card h5,
.help-page .help-student-hero h5 {
  margin: 0;
  color: #17243d;
  font-size: 17px;
}

.help-page .help-card p,
.help-page .help-subject-card p,
.help-page .help-student-hero span,
.help-page .help-faq-list p {
  margin: 8px 0 0;
  color: #65758e;
  font-size: 14px;
  line-height: 1.65;
}

.help-step-list {
  display: grid;
  gap: 12px;
}

.help-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.help-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1746a2;
  flex: 0 0 auto;
}

.help-step span {
  color: #53647f;
  font-size: 14px;
  line-height: 1.6;
}

.help-page .help-subject-card,
.help-page .help-student-hero {
  max-width: 520px;
  padding: 22px;
}

.help-page .help-subject-card {
  display: grid;
  gap: 14px;
}

.help-page .help-student-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f6f9ff 70%, #eef6ff 100%);
}

.help-page .help-faq-list {
  display: grid;
  gap: 12px;
}

.help-page .help-faq-list details {
  border: 1px solid #e6edf6;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
}

.help-page .help-faq-list summary {
  cursor: pointer;
  color: #17243d;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .help-page .help-guide-layout,
  .help-page .help-visual,
  .help-page .help-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Client-side pagination widget */
.lms-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lms-pagination .rbt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lms-pagination .rbt-pagination li {
  margin: 8px;
}

.lms-pagination .rbt-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 6px;
  border: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-1);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-body);
  padding: 0;
  text-decoration: none;
  transition: 0.4s;
}

.lms-pagination .rbt-pagination li a:hover,
.lms-pagination .rbt-pagination li a.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.lms-pagination .lms-pag-ellipsis span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 4px;
  color: #8a93a6;
  font-size: 14px;
}

.lms-pag-info {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--color-body);
}

.lms-page-is-busy {
  overflow: hidden;
}

.lms-page-loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.52);
  backdrop-filter: blur(3px);
  cursor: wait;
}

.lms-page-loading.is-visible {
  display: flex;
}

.lms-page-loading__panel {
  width: min(360px, 100%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  padding: 28px;
  text-align: center;
}

.lms-page-loading__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 4px solid #e8edf5;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: lms-loading-spin 0.8s linear infinite;
}

.lms-page-loading__title {
  display: block;
  color: var(--color-heading);
  font-size: 18px;
  line-height: 1.35;
}

.lms-page-loading__message {
  margin: 8px 0 0;
  color: #6b7890;
  font-size: 14px;
  line-height: 1.6;
}

@keyframes lms-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.lms-admin-page .mobile-table-750,
.lms-admin-page .table-responsive {
  overflow-x: visible !important;
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .lms-admin-page > .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lms-admin-page .rbt-dashboard-content .content {
    padding: 18px;
  }

  .lms-admin-page .rbt-title-style-3 {
    font-size: 20px;
  }

  .lms-pagination .rbt-pagination li {
    margin: 4px;
  }

  .lms-admin-page .rbt-search-style-1 {
    margin-top: 10px;
  }

  .lms-admin-page .rbt-default-sidebar.sticky-top {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .lms-admin-page.dashboard-shell .dashboard-title {
    font-size: 28px;
  }

  .lms-admin-page.dashboard-shell .dashboard-stat-grid,
  .lms-admin-page.dashboard-shell .dashboard-action-grid,
  .lms-admin-page.dashboard-shell .dashboard-management-grid,
  .lms-admin-page.dashboard-shell .dashboard-subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .lms-admin-page.dashboard-shell .dashboard-hero,
  .lms-admin-page.dashboard-shell .dashboard-panel,
  .lms-admin-page.dashboard-shell .dashboard-stat-card,
  .lms-admin-page.dashboard-shell .dashboard-action-card,
  .lms-admin-page.dashboard-shell .dashboard-management-card,
  .lms-admin-page.dashboard-shell .dashboard-subject-card {
    border-radius: 16px;
  }

  .lms-admin-page.dashboard-shell .dashboard-hero {
    padding: 22px;
  }

  .lms-admin-page.dashboard-shell .dashboard-title {
    font-size: 24px;
  }

  .lms-admin-page.dashboard-shell .dashboard-panel {
    padding: 18px;
  }

  .lms-admin-page.dashboard-shell .dashboard-panel__header,
  .lms-admin-page.dashboard-shell .dashboard-list-item,
  .lms-admin-page.dashboard-shell .dashboard-subject-card__header,
  .lms-admin-page.dashboard-shell .dashboard-management-card__meta,
  .lms-admin-page.dashboard-shell .dashboard-subject-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .lms-admin-page.dashboard-shell .dashboard-stat-grid,
  .lms-admin-page.dashboard-shell .dashboard-action-grid,
  .lms-admin-page.dashboard-shell .dashboard-management-grid,
  .lms-admin-page.dashboard-shell .dashboard-subject-grid {
    grid-template-columns: 1fr;
  }
}
