:root {
  --bg-color: #f3f7fc;
  --primary-color: #163c8d;
  --primary-soft: #e8efff;
  --accent-color: #14b8a6;
  --accent-soft: #e7fbf7;
  --text-strong: #132238;
  --text-muted: #64748b;
  --border-soft: #d8e0ea;
  --surface-soft: #fbfdff;
}

* {
  font-family: "Fz Poppins", sans-serif;
}

.container-auth {
  max-width: 1135px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.bg-color {
  background-color: var(--bg-color);
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.login-container {
  width: 100%;
  max-width: 23rem;
}

.auth-input {
  border: 1px solid #bdbdbd;
  background-color: #f9f9f9;
  font-size: 16px;
  padding: 0.7rem 1rem;
}

.auth-icon {
  position: absolute;
  top: 12px;
  right: 7px;
  pointer-events: none;
}

#myModal .modal-header,
#myModal .modal-body,
#myModal .modal-footer {
  border: none; /* Removes the border */
}

.dismiss-btn {
  width: 230px;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5rem;
  margin: 0.5rem;
}

/* Định dạng sidebar */
.sidebar {
  min-height: calc(100vh - 103px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 46%, #eef6ff 100%) !important;
  color: var(--text-strong);
  border-right: 1px solid var(--border-soft);
  box-shadow: inset -1px 0 0 rgba(148, 163, 184, 0.12);
  /* position: relative;
  z-index: 1; */
}

.sidebar a {
  color: var(--text-strong);
  text-decoration: none;
}

.sidebar a:hover {
  background-color: var(--primary-soft);
  color: var(--text-strong);
}

.nav-item {
  padding: 0.2rem 0;
}

.nav-link {
  padding: 0.92rem 1rem;
  font-weight: 700;
  border-radius: 18px !important;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease, border-color 0.18s ease;
}

.nav-link img {
  width: 18px;
  height: 18px;
  margin-right: 0;
}

.sidebar-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef4ff 0%, #dbe8ff 100%);
  border: 1px solid rgba(22, 60, 141, 0.08);
  box-shadow: 0 10px 20px rgba(22, 60, 141, 0.08);
  flex: 0 0 auto;
}

.sidebar-label {
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-group-heading {
  list-style: none;
  padding: 0.95rem 0.35rem 0.3rem;
  margin-top: 0.35rem;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6b7280;
}

.active-link {
  background: linear-gradient(135deg, rgba(22, 60, 141, 0.12) 0%, rgba(247, 251, 255, 1) 100%);
  color: var(--primary-color) !important;
  position: relative;
  border-color: rgba(22, 60, 141, 0.12);
  box-shadow: 0 14px 26px rgba(22, 60, 141, 0.08);
}

.active-link .sidebar-icon-wrap {
  background: linear-gradient(180deg, #dbe8ff 0%, #c8dcff 100%);
  border-color: rgba(22, 60, 141, 0.16);
  box-shadow: 0 12px 22px rgba(22, 60, 141, 0.12);
}

.nav-link:hover {
  transform: translateX(2px);
  background: linear-gradient(135deg, #f9fbff 0%, #f2f7ff 100%);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.active-link img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(71%) saturate(4965%)
    hue-rotate(338deg) brightness(95%) contrast(112%);
}

.active-link::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -6px;
  width: 4px;
  height: calc(100% - 20px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.sidebar-profile-card {
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(22, 60, 141, 0.08) 0%, rgba(20, 184, 166, 0.05) 100%);
  border: 1px solid rgba(22, 60, 141, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.sidebar-profile-avatar-wrap {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  border: 1px solid rgba(22, 60, 141, 0.1);
  box-shadow: 0 10px 18px rgba(22, 60, 141, 0.08);
  flex: 0 0 auto;
}

.sidebar-profile-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.notification-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.24);
}

main {
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 103px);
}

.left-white {
  background-color: #fff;
  width: 50vw;
  height: 100vh;
  position: fixed;
  z-index: 0;
  margin-top: -103px;
}

.z-9999 {
  z-index: 9999;
}

@media (max-width: 991.98px) {
  .left-white {
    display: none;
  }

  .sidebar-title {
    display: none;
  }

  .sidebar-profile-card {
    margin-right: 0.5rem;
  }

  .table-big td,
  .table-big th {
    padding: 7px !important;
  }

  .zoom {
    zoom: 0.8;
  }
}

@media (min-width: 991.98px) {
  .sidebar {
    position: relative;
    z-index: 1;
  }
}

.p-07 {
  padding: 0.7rem;
}

.img-user {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.home-hero {
  min-height: 220px;
  padding: 28px;
  background: linear-gradient(135deg, #163c8d 0%, #2a5fc7 56%, #14b8a6 100%) !important;
  border-radius: 28px !important;
  box-shadow: 0 22px 40px rgba(22, 60, 141, 0.18);
}

.hero-img {
  width: 290px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(8, 24, 52, 0.18));
}

.hero-content {
  width: 100%;
  max-width: 47rem;
}

.line-bottom {
  width: 230px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 999px;
}

.border-line {
  border: 1px solid var(--border-soft) !important;
}

.fs-09 {
  font-size: 0.9rem;
}

.btn-update {
  border: 1px solid #bdbdbd;
  width: 115px;
  font-family: "Fz Poppins Med", sans-serif;
  color: #968f8f;
}

select[multiple] {
  overflow-y: hidden; /* Hides vertical scrollbar */
  height: fit-content; /* Set fixed height */
}

.rounded-35 {
  border-radius: 0.7rem;
}

.progress-bar {
  background: linear-gradient(90deg, var(--accent-color) 0%, #45d2d4 100%);
  border-radius: 5px;
}

.progress {
  height: 0.5rem;
}

.progress-text {
  font-size: 12px;
  text-align: right;
  margin-top: 25px;
}

.exercise-duration {
  font-size: 14px;
  color: #858383;
}

.calendar-container {
  border-radius: 10px;
  background: white;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  padding-bottom: 10px;
}

.calendar-day {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  cursor: pointer;
}

.day-green {
  background-color: #00966d;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.day-blue {
  background-color: #2f80ed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.btn-start {
  background-color: #fec9cc;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  font-weight: bold;
  border-radius: 20px;
  font-size: 14px;
  padding-left: 20px;
  padding-right: 20px;
}

.btn-start:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-start:active {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.fs-14 {
  font-size: 14px;
}

.bg-gray {
  background-color: #eaeaea;
}

.accordion-button:not(.collapsed),
.accordion-button:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
  background-color: #efefef;
  color: black !important;
}

.accordion-button {
  background-color: #efefef;
  padding: 10px;
}

.accordion-button::after {
  order: -1;
  margin-right: 0.5rem;
  margin-left: 0;
}

.fw-semi {
  font-family: "Fz Poppins SemBd", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.btn-more {
  width: 100%;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
}

.btn-more:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-more:active {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.exercise-menu {
  min-height: calc(100vh - 103px - 160px - (1.5rem * -4));
}

.btn-exercise {
  width: 100%;
  background-color: var(--bg-color);
  border-radius: 10px;
  text-align: left;
  padding: 1.3rem 1rem;
}

.btn-exercise:hover {
  background-color: var(--bg-color);
}

.btn-exercise:active {
  background-color: var(--bg-color) !important;
}

.btn-back {
  color: black;
}

.btn-back:hover {
  color: var(--primary-color);
}

.underline-hover {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.underline-hover:hover {
  border-color: var(--primary-color); /* Change to desired color */
}

.table-custom thead {
  background-color: #edf3fb !important;
  color: var(--text-strong);
}

.table-custom th {
  background-color: inherit !important;
}

.table-custom {
  border-spacing: 0 10px;
  border-collapse: separate;
}

.table-custom td {
  border: 0;
  background-color: inherit !important;
}

.table-custom tbody tr {
  background-color: #f9fbfe;
  box-shadow: 0 6px 14px rgba(15, 35, 68, 0.04);
}

.table-custom td:first-child,
.table-custom th:first-child {
  border-radius: 10px 0 0 10px;
}

.table-custom td:last-child,
.table-custom th:last-child {
  border-radius: 0 10px 10px 0;
}

.table-big td,
.table-big th {
  padding: 15px;
}

.btn-send {
  width: 220px;
}

.btn-confirm {
  background-color: #3497f9;
  color: white;
  width: 150px;
  border-radius: 10px;
}

.btn-confirm:hover {
  background-color: #2f80ed;
  color: white;
}

.btn-confirm:active {
  background-color: #2f80ed !important;
  color: white !important;
}

.pagination .active > a {
  background-color: #3497f9 !important;
  color: white;
  border-color: #3497f9;
  border-radius: 10px;
  width: 40px;
  text-align: center;
}

.page-item a {
  border-radius: 10px;
  text-align: center;
  color: #3497f9;
  border: 0;
}

.page-item .page-link {
  border-radius: 10px !important; /* Adjust the value as needed */
}

.pagination {
  gap: 12px;
  margin: 0;
}

.pagination .disabled > a {
  background-color: transparent !important;
  color: #c4c4c4;
}

.w-40 {
  width: 40px;
}

select option:checked {
  background-color: transparent !important;
  color: black !important;
}

.custom-select[multiple]:focus option:checked {
  background: var(--primary-color)
    linear-gradient(0deg, var(--primary-color) 0%, var(--primary-color) 100%);
}

.w-200 {
  width: 200px;
}

.back-link {
  color: black;
  text-decoration: none;
}

.back-link:hover {
  color: var(--primary-color);
}

.max-w-200 {
  max-width: 200px;
}

.search-icon {
  position: absolute;
  top: 12px;
  left: 10px;
  pointer-events: none;
}

.search-input {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background-color: white;
  font-size: 16px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  padding-left: 2.5rem;
  padding-right: 1rem;
}

.btn-classroom {
  background: linear-gradient(180deg, #edf4ff 0%, #dbe8ff 100%);
  color: var(--primary-color);
  border: 1px solid rgba(22, 60, 141, 0.18);
  border-radius: 12px;
  width: 110px;
  text-decoration: none;
  text-align: center;
  padding: 9px 0;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(22, 60, 141, 0.08);
  transition: all 0.18s ease;
}

.btn-classroom:hover {
  background: linear-gradient(180deg, #dfeaff 0%, #cfe0ff 100%);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.student-list-card,
.teacher-classroom-card,
.teacher-correction-card,
.analytics-chart-card,
.analytics-table-card,
.analytics-kpi-card,
.teacher-correction-summary-card,
.teacher-correction-detail-page .teacher-correction-summary-card,
.teacher-exercise-assignments-page .teacher-exercises-stat,
.student-profile-hero-card,
.notification-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.student-list-card:hover,
.teacher-classroom-card:hover,
.teacher-correction-card:hover,
.analytics-chart-card:hover,
.analytics-table-card:hover,
.analytics-kpi-card:hover,
.teacher-correction-summary-card:hover,
.teacher-correction-detail-page .teacher-correction-summary-card:hover,
.teacher-exercise-assignments-page .teacher-exercises-stat:hover,
.student-profile-hero-card:hover,
.notification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 35, 68, 0.1);
}

.btn-classroom:active,
.btn-confirm:active,
.btn-skill:active,
.analytics-tab-btn:active {
  transform: translateY(0);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(22, 60, 141, 0.28);
  box-shadow: 0 0 0 4px rgba(22, 60, 141, 0.08);
}

.table-custom tbody tr {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.table-custom tbody tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 35, 68, 0.06);
}

.classroom {
  width: 100%;
  max-width: 350px;
  background-color: #f1f1f1 !important;
}

.classroom-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-items: center;
}

.table-sticky thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}

.table-limit-height {
  max-height: 720px;
}

.number-of {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background-color: #f8fbff;
  width: 150px;
  padding: 10px 14px;
  color: var(--text-strong);
  font-weight: 600;
}

.min-w-0 {
  min-width: 0;
}

.session-id {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid #8e8e8e;
  border-radius: 10px;
  padding: 7px 35px;
  width: max-content;
}

.btn-custom {
  border: none !important; /* Remove default border */
  box-shadow: none !important; /* Remove focus outline */
  outline: none !important; /* Remove additional focus styles */
}

.right-btn {
  right: 0;
  bottom: 0;
}

@media (max-width: 768px) {
  .right-btn {
    position: initial !important;
    margin-top: 20px;
  }
}

.text-gray {
  color: #767373;
}

.score {
  background-color: #f5f7fb;
  border: 1px solid #dae1ea;
  border-radius: 10px;
  padding-left: 70px;
}

.score-text {
  top: 7px;
  left: 10px;
}

.edit-icon {
  top: 8px;
  right: 10px;
  pointer-events: none;
}

.btn-edit {
  background-color: #d1f8e8 !important;
  color: #2ec083 !important;
  border: 1px solid #2ec083 !important;
}

.btn-delete {
  background-color: #f7d3d4 !important;
  color: #fc0005 !important;
  border: 1px solid #fc0005 !important;
}

.btn-disabled {
  background-color: #d8d6d6 !important;
  color: #867f7f !important;
  border: 1px solid #c4c4c4 !important;
  pointer-events: none;
}

.btn-disabled > img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(3%) saturate(632%)
    hue-rotate(317deg) brightness(99%) contrast(86%);
}

.table-custom tbody tr.selected {
  background-color: #bed0f9;
}

#data-table tbody tr {
  cursor: pointer;
}

.btn-skill {
  background-color: #f3f6fb;
  color: var(--text-strong);
  border-radius: 999px;
  text-align: center;
  padding: 8px 14px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-skill-active {
  background-color: var(--primary-soft);
  color: var(--primary-color);
  border-color: rgba(22, 60, 141, 0.14);
}

.limit-height {
  max-height: 300px;
  overflow-y: auto;
}

.no-border-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.status-approved,
.status-attended {
  color: #065f46;
  background: #d1fae5;
  border-color: #6ee7b7;
}

.status-rejected,
.status-missed {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fca5a5;
}

.status-cancelled {
  color: #374151;
  background: #e5e7eb;
  border-color: #d1d5db;
}

.admin-form-page {
  border: 1px solid #d6dbe4;
}

.admin-form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-form-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-top: 6px;
}

.admin-form-grid {
  display: grid;
  gap: 22px;
}

.admin-form-section {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  padding: 22px;
}

.admin-form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.4;
}

.admin-form-section-hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.5;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.admin-form-radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  min-height: 38px;
  align-items: center;
}

.admin-form-radio {
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
}

.admin-form-preview {
  padding: 12px 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.teacher-dashboard-page .teacher-stats-grid,
.teacher-exercises-page .teacher-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.teacher-dashboard-page,
.teacher-exercises-page {
  overflow: hidden;
}

.teacher-dashboard-page .search-input,
.teacher-exercises-page .search-input {
  min-width: 260px;
}

.teacher-dashboard-page .teacher-stat-card,
.teacher-exercises-page .teacher-stat-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 12px 14px;
}

.teacher-dashboard-page .teacher-stat-label,
.teacher-exercises-page .teacher-stat-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.teacher-dashboard-page .teacher-stat-value,
.teacher-exercises-page .teacher-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.teacher-dashboard-page .teacher-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.teacher-dashboard-page .teacher-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.teacher-dashboard-page .teacher-card__meta {
  display: grid;
  gap: 6px;
  color: #374151;
  font-size: 14px;
}

.teacher-dashboard-page .meta-label {
  font-weight: 600;
  color: #111827;
}

.teacher-exercises-page .teacher-exercises-table {
  min-width: 880px;
}

.teacher-simple-page .teacher-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.teacher-simple-page .teacher-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.teacher-simple-page .teacher-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px 18px;
}

.teacher-simple-page .teacher-summary-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.teacher-simple-page .teacher-summary-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.teacher-simple-page .teacher-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.teacher-simple-page .teacher-list-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.teacher-simple-page .teacher-list-meta {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.5;
}

.teacher-simple-page .teacher-list-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.teacher-simple-page .search-input {
  min-width: 260px;
}

@media (max-width: 992px) {
  .teacher-dashboard-page .search-input,
  .teacher-exercises-page .search-input {
    min-width: 100%;
  }

  .teacher-dashboard-page .teacher-card-grid {
    grid-template-columns: 1fr;
  }

  .teacher-simple-page .search-input {
    min-width: 100%;
  }

  .teacher-simple-page .teacher-list-grid {
    grid-template-columns: 1fr;
  }
}

.student-dashboard-page {
  border: 1px solid #d6dbe4;
}

.student-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.student-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.student-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px 18px;
}

.student-summary-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.student-summary-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.student-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.student-list-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.student-list-meta {
  display: grid;
  gap: 8px;
  color: #374151;
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.5;
}

.student-list-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.student-dashboard-page .search-input {
  min-width: 260px;
}

.icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef4ff 0%, #dce8ff 100%);
  border: 1px solid rgba(22, 60, 141, 0.08);
  box-shadow: 0 8px 18px rgba(22, 60, 141, 0.08);
  flex: 0 0 auto;
}

.icon-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.state-banner {
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--text-strong);
}

.empty-state {
  border: 1px dashed var(--border-soft);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state .empty-state-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #eef4ff 0%, #e9fffb 100%);
  border: 1px solid rgba(22, 60, 141, 0.08);
}

.empty-state .empty-state-icon img {
  width: 26px;
  height: 26px;
}

.empty-state .empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.empty-state .empty-state-note {
  font-size: 13px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

.status-badge.status-info {
  color: #1d4ed8;
  background: #dbeafe;
  border-color: #93c5fd;
}

.status-badge.status-neutral {
  color: #475569;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

@media (max-width: 992px) {
  .student-dashboard-page .search-input {
    min-width: 100%;
  }

  .student-list-grid {
    grid-template-columns: 1fr;
  }
}
