
/**
 * Copyright (c) 2026 Trung tâm đào tạo lái xe Hằng Hà
 * All rights reserved.
 */
:root {
  --brand-red: #c62828;
  --brand-blue: #0d47a1;
  --brand-gold: #ffb300;
  --brand-dark: #102542;
  --text-body: #243447;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --shadow-soft: 0 20px 60px rgba(16, 37, 66, 0.12);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-body);
  background:
    radial-gradient(circle at top left, rgba(255, 179, 0, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(13, 71, 161, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
}

.site-header {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(16, 37, 66, 0.08);
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.navbar .nav-link {
  font-weight: 600;
}

.blog-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.blog-dropdown-toggle::after {
  margin-left: 0;
}

.blog-dropdown-menu {
  border: 1px solid rgba(16, 37, 66, 0.08);
  border-radius: 20px;
  padding: 0.65rem;
  min-width: 320px;
  box-shadow: 0 22px 50px rgba(16, 37, 66, 0.16);
}

.blog-dropdown-menu .dropdown-item {
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  white-space: normal;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.blog-dropdown-menu .dropdown-item:hover,
.blog-dropdown-menu .dropdown-item:focus {
  background: rgba(13, 71, 161, 0.08);
  transform: translateX(2px);
}

.blog-dropdown-menu .dropdown-item-title {
  display: block;
  font-weight: 700;
  color: var(--text-body);
}

.blog-dropdown-menu .dropdown-item-copy {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-section,
.page-shell {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-badge,
.section-badge,
.timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.hero-badge,
.section-badge {
  background: rgba(198, 40, 40, 0.08);
  color: var(--brand-red);
}

.timer-pill {
  background: rgba(198, 40, 40, 0.08);
  color: var(--brand-red);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(16, 37, 66, 0.05);
  color: var(--text-body);
  max-width: 42rem;
}

.hero-visual,
.panel-card,
.info-card,
.package-card,
.feedback-card,
.trust-card,
.support-panel,
.student-shell,
.dashboard-card,
.login-card,
.exam-card,
.result-card,
.stat-card {
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
}

.admin-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.22), transparent 28%),
    linear-gradient(135deg, #0d47a1, #1a237e 58%, #c62828 100%);
  color: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.student-shell {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.18), transparent 25%),
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.student-shell-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.student-top-actions,
.student-pill-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.student-nav-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.student-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--brand-blue);
  background: rgba(13, 71, 161, 0.08);
  font-weight: 700;
}

.student-nav-pill:hover {
  color: var(--brand-blue);
  background: rgba(13, 71, 161, 0.14);
}

.student-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.admin-hero-content {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.admin-hero-copy {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.82);
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.admin-stat-card {
  border-radius: 28px;
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
  min-height: 100%;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.question-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
}

.admin-list-shell {
  display: grid;
  gap: 0.85rem;
}

.admin-list-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(16, 37, 66, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  padding: 1rem 1.1rem;
  text-align: left;
}

.admin-list-item.is-disabled {
  opacity: 0.62;
}

.exam-question-list {
  display: grid;
  gap: 1rem;
}

.answer-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid rgba(13, 71, 161, 0.1);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.answer-option:hover {
  background: rgba(13, 71, 161, 0.04);
  border-color: rgba(13, 71, 161, 0.18);
  transform: translateY(-1px);
}

.simulation-player-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
  gap: 1.25rem;
}

.simulation-player-main,
.simulation-player-side {
  min-width: 0;
}

.simulation-player-side {
  display: grid;
  gap: 0.8rem;
  max-height: 520px;
  overflow: auto;
}

.simulation-clip-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(16, 37, 66, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 0.95rem 1rem;
}

.simulation-clip-item.is-active {
  border-color: rgba(13, 71, 161, 0.35);
  background: rgba(13, 71, 161, 0.05);
}

@media (max-width: 991.98px) {
  .simulation-player-shell {
    grid-template-columns: 1fr;
  }
}

.accent-blue .admin-stat-icon {
  background: #0d47a1;
  color: #fff;
}

.accent-orange .admin-stat-icon {
  background: #212121;
  color: #fff;
}

.accent-sky .admin-stat-icon {
  background: #0d1b2a;
  color: #fff;
}

.accent-green .admin-stat-icon {
  background: #2e7d32;
  color: #fff;
}

.accent-red .admin-stat-icon {
  background: #c62828;
  color: #fff;
}

.admin-action-grid {
  display: grid;
  gap: 1rem;
}

.admin-action-button {
  width: 100%;
  border: 1px solid rgba(16, 37, 66, 0.1);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-action-button i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--brand-blue);
}

.admin-action-button:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 71, 161, 0.24);
  box-shadow: var(--shadow-soft);
}

.admin-tabs .nav-link {
  border-radius: 999px;
  padding-inline: 1.2rem;
  font-weight: 700;
}

.admin-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: rgba(13, 71, 161, 0.03);
}

.admin-modal {
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.admin-modal .modal-body {
  padding-top: 1.25rem;
}

.hero-visual {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(198, 40, 40, 0.16), rgba(13, 71, 161, 0.14));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(16, 37, 66, 0.08));
  pointer-events: none;
}

.hero-visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stat {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(250px, 72%);
  z-index: 1;
  padding: 1rem 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.counter {
  font-size: 2rem;
  font-weight: 800;
}

.trust-card,
.support-panel {
  padding: 1.5rem;
}

.trust-card i,
.support-panel i {
  font-size: 1.5rem;
  color: var(--brand-blue);
}

.process-card {
  min-height: 100%;
}

.section-block {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
}

.info-card,
.feedback-card,
.package-card,
.panel-card,
.login-card,
.dashboard-card,
.exam-card,
.result-card,
.stat-card {
  padding: 1.5rem;
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(255, 179, 0, 0.16));
  color: var(--brand-blue);
  font-size: 1.35rem;
}

.feature-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li,
.footer-links li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
}

.feature-list li::before,
.footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), #ef6c00);
}

.package-card {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.package-card:hover,
.package-card.active {
  transform: translateY(-6px);
  border-color: rgba(198, 40, 40, 0.35);
}

.campus-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.campus-copy {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
}

.campus-photo-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(16, 37, 66, 0.14);
  box-shadow: 0 18px 38px rgba(11, 28, 53, 0.16);
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.campus-photo-main {
  min-height: 420px;
}

.campus-photo-small {
  min-height: 420px;
}

.campus-photo-wide {
  min-height: 320px;
}

.campus-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.campus-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 18, 33, 0.06), rgba(9, 18, 33, 0.86));
}

.campus-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(11, 28, 53, 0.22);
}

.campus-photo-card:hover .campus-photo-image {
  transform: scale(1.08);
}

.campus-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.2rem;
  color: #fff;
}

.campus-photo-overlay h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.25;
}

.campus-photo-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.campus-photo-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(3px);
  color: #fff;
}

.campus-photo-chip-main {
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  color: #000;
}

.reviews-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.reviews-heading {
  max-width: 44rem;
}

.reviews-copy {
  margin: 0;
  color: var(--muted);
}

.review-score-card {
  width: min(430px, 100%);
  padding: 1.4rem;
  border-radius: 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.2), transparent 40%),
    linear-gradient(135deg, #0d47a1, #1a237e 58%, #c62828 100%);
  box-shadow: var(--shadow-soft);
}

.review-score-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.84);
}

.review-score-value {
  font-size: clamp(2.15rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  margin-top: 0.4rem;
}

.review-stars {
  display: flex;
  gap: 0.22rem;
  margin: 0.75rem 0 0.5rem;
  color: #ffd269;
}

.review-score-copy {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-metric-item {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.review-metric-item strong {
  display: block;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
}

.review-metric-item span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.83rem;
}

.testimonial-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 66, 0.1);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.avatar-red { background: linear-gradient(135deg, #ef5350, #c62828); }
.avatar-blue { background: linear-gradient(135deg, #42a5f5, #1565c0); }
.avatar-gold { background: linear-gradient(135deg, #ffca28, #ef6c00); }
.avatar-green { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
.avatar-purple { background: linear-gradient(135deg, #ab47bc, #6a1b9a); }
.avatar-dark { background: linear-gradient(135deg, #546e7a, #263238); }

.testimonial-name {
  margin: 0;
  font-size: 1rem;
  color: var(--text-body);
}

.testimonial-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: #ffb300;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.testimonial-text {
  margin: 0;
  color: #31445c;
}

.blog-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 71, 161, 0.2);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-gold), var(--brand-blue));
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}

.blog-card-link:hover {
  color: var(--brand-red);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(13, 71, 161, 0.12), transparent 24%),
    linear-gradient(145deg, #ffffff, #f6f9ff);
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 40, 40, 0.16), transparent 68%);
}

.breadcrumb-shell {
  margin-bottom: 1rem;
}

.breadcrumb-shell .breadcrumb {
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.article-main,
.article-sidebar-card,
.article-related-card {
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
}

.article-main {
  padding: 2rem;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.5rem;
}

.article-sidebar-card {
  padding: 1.35rem;
}

.article-kicker,
.article-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
}

.article-kicker {
  background: rgba(198, 40, 40, 0.08);
  color: var(--brand-red);
}

.article-pill {
  background: rgba(13, 71, 161, 0.08);
  color: var(--brand-blue);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.article-title {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.08;
  font-weight: 800;
  margin-top: 1rem;
}

.article-lead {
  max-width: 52rem;
  margin-top: 1rem;
  font-size: 1.08rem;
  color: #42556c;
}

.article-main h2,
.article-main h3 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.article-main p,
.article-main li {
  color: #31445c;
  line-height: 1.8;
}

.article-main ul,
.article-main ol {
  padding-left: 1.2rem;
}

.article-main blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand-red);
  border-radius: 0 18px 18px 0;
  background: #fde0e0;
  color: #000;
}

.article-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.article-highlight-card {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.article-highlight-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-dark);
}

.article-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.article-toc a,
.article-related-card a {
  color: var(--text-body);
  text-decoration: none;
}

.article-toc a:hover,
.article-related-card a:hover {
  color: var(--brand-red);
}

.article-related-grid {
  display: grid;
  gap: 1rem;
}

.article-related-card {
  padding: 1.1rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.article-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 71, 161, 0.18);
}

.article-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(255, 179, 0, 0.14));
}

.pricing-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}

.pricing-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 66, 0.12);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pricing-plan-card.is-featured {
  border-color: rgba(13, 71, 161, 0.24);
  background: linear-gradient(180deg, #0e4f92, #13376b);
  color: #fff;
}

.pricing-plan-bar {
  height: 8px;
  background: #d9dee5;
}

.pricing-plan-card.is-featured .pricing-plan-bar {
  background: linear-gradient(90deg, #4fc3f7, #90caf9);
}

.pricing-plan-card.is-accent .pricing-plan-bar {
  background: linear-gradient(90deg, #b3e5fc, #81d4fa);
}

.pricing-plan-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.pricing-plan-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.pricing-plan-tag {
  margin-top: 0.45rem;
  color: var(--muted);
  min-height: 2.8rem;
}

.pricing-plan-card.is-featured .pricing-plan-tag {
  color: rgba(255, 255, 255, 0.82);
}

.pricing-plan-divider {
  border: 0;
  border-top: 2px solid rgba(16, 37, 66, 0.55);
  margin: 1rem 0 1.1rem;
}

.pricing-plan-card.is-featured .pricing-plan-divider {
  border-top-color: rgba(255, 255, 255, 0.55);
}

.pricing-plan-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.pricing-plan-card.is-featured .pricing-plan-price {
  color: #ffd269;
}

.pricing-plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.pricing-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #30445b;
}

.pricing-plan-card.is-featured .pricing-plan-list li {
  color: rgba(255, 255, 255, 0.92);
}

.pricing-plan-list i {
  color: var(--brand-blue);
  margin-top: 0.15rem;
}

.pricing-plan-card.is-featured .pricing-plan-list i {
  color: #bfe5ff;
}

.pricing-plan-action {
  margin-top: auto;
}

.pricing-plan-button {
  width: 100%;
  justify-content: center;
  border-width: 1.5px;
}

.cta-band {
  border-radius: 32px;
  padding: 2.5rem;
  background: linear-gradient(120deg, var(--brand-blue), #1565c0);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-red), #ef6c00);
  border: 0;
  box-shadow: 0 14px 34px rgba(198, 40, 40, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.floating-contact {
  text-decoration: none;
  position: fixed;
  right: 1.25rem;
  z-index: 1080;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 38px rgba(16, 37, 66, 0.22);
  animation: floatContact 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact:hover {
  color: #fff;
  transform: scale(1.08);
}

.floating-contact i {
  font-size: 1.55rem;
}

.floating-facebook {
  bottom: 5.85rem;
  background: linear-gradient(135deg, #1877f2, #0f5ec9);
  box-shadow: 0 16px 38px rgba(24, 119, 242, 0.35);
}

.floating-zalo {
  bottom: 1.25rem;
  background-color: #0084ff;
  box-shadow: 0 16px 38px rgba(0, 132, 255, 0.35);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

@keyframes floatContact {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.table-shell {
  max-height: 360px;
  overflow: auto;
}

.table-filter-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.chart-shell {
  position: relative;
  min-height: 320px;
}

.chart-shell canvas {
  width: 100% !important;
  height: 100% !important;
}

.proof-preview-shell {
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid rgba(16, 37, 66, 0.08);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.proof-preview-shell img {
  max-height: 65vh;
  width: auto;
}

.toolbar-shell {
  padding: 1rem;
  border: 1px solid rgba(16, 37, 66, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.question-snippet {
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
}

.compact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 71, 161, 0.08);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.85rem;
}

.compact-badge.danger {
  background: rgba(198, 40, 40, 0.08);
  color: var(--brand-red);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
}

.question-card {
  border: 1px solid rgba(16, 37, 66, 0.1);
  border-radius: 22px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.student-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.student-course-block {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(16, 37, 66, 0.08);
}

.student-label {
  display: block;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.student-latest-status {
  font-size: 1.4rem;
}

.lesson-list {
  display: grid;
  gap: 0.75rem;
}

.lesson-item-btn {
  width: 100%;
  border: 1px solid rgba(16, 37, 66, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
}

.lesson-item-btn.active {
  border-color: rgba(13, 71, 161, 0.35);
  box-shadow: 0 10px 24px rgba(13, 71, 161, 0.12);
}

.lesson-item-btn.locked {
  opacity: 0.72;
}

.lesson-item-order {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(13, 71, 161, 0.1);
  color: var(--brand-blue);
  flex-shrink: 0;
}

.lesson-item-main {
  display: grid;
  flex: 1;
}

.lesson-item-main small {
  color: var(--muted);
}

.lesson-video-shell {
  border-radius: 20px;
  border: 1px solid rgba(16, 37, 66, 0.1);
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.lesson-video {
  width: 100%;
  border-radius: 14px;
  background: #0f172a;
  max-height: 440px;
}

.lesson-quiz-shell {
  border-radius: 20px;
  border: 1px solid rgba(16, 37, 66, 0.1);
  padding: 1rem;
  background: #fff;
}

.lesson-quiz-questions.locked {
  opacity: 0.58;
  pointer-events: none;
}

.simulation-clip-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.simulation-clip-card .lesson-video {
  margin-top: 0.4rem;
}

.result-state {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
}

.result-state.pass {
  color: #1b8a5a;
}

.result-state.fail {
  color: var(--brand-red);
}

.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.82);
}

.footer-title,
.footer-heading {
  color: #fff;
}

.footer-copy {
  max-width: 28rem;
}

.footer-contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-contact-list div {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-map-shell {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand-dark);
}

.footer-map-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-map-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 179, 0, 0.6);
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-map-title {
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.footer-map-copy {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-map-card {
  height: 100%;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 19, 35, 0.72);
  box-shadow: 0 22px 55px rgba(2, 8, 23, 0.28);
  backdrop-filter: blur(10px);
}

.footer-map-card-main {
  padding: 1.5rem;
}

.footer-map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.location-chip-main {
  background: #ffb300;
  color: #000;
}

.footer-map-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-map-link:hover {
  color: #ffd269;
}

.footer-map-card-title {
  color: #fff;
  margin-bottom: 0.45rem;
}

.footer-map-address {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.footer-map-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-map-meta-compact {
  font-size: 0.9rem;
}

.footer-map-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 4 / 3;
}

.footer-map-frame-main {
  aspect-ratio: 16 / 10;
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lazy-map-embed {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 179, 0, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.lazy-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lazy-map-button {
  min-width: 140px;
}

.login-helper {
  display: grid;
  gap: 0.85rem;
}

.login-helper-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.toast-container {
  z-index: 1095;
}

.form-control,
.form-select {
  border-radius: 16px;
  padding: 0.8rem 1rem;
  border-color: rgba(16, 37, 66, 0.15);
}

.nav-pills .nav-link.active {
  background: var(--brand-blue);
}

@media (max-width: 991.98px) {
  .blog-dropdown-menu {
    min-width: 100%;
    box-shadow: none;
    border-radius: 18px;
  }

  .hero-section,
  .page-shell {
    padding-top: 6rem;
  }

  .student-hero,
  .admin-hero-content {
    flex-direction: column;
  }

  .student-top-actions,
  .admin-hero-actions {
    justify-content: flex-start;
  }

  .campus-header,
  .reviews-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-score-card {
    width: 100%;
  }

  .campus-photo-main {
    min-height: 360px;
  }

  .campus-photo-small,
  .campus-photo-wide {
    min-height: 290px;
  }

  .footer-map-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .blog-hero,
  .article-main,
  .article-sidebar-card,
  .article-related-card {
    border-radius: 22px;
  }

  .blog-hero,
  .article-main {
    padding: 1.25rem;
  }

  .hero-visual,
  .panel-card,
  .cta-band,
  .dashboard-card,
  .login-card,
  .exam-card,
  .result-card,
  .stat-card {
    border-radius: 22px;
  }

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

  .campus-photo-card,
  .campus-photo-main,
  .campus-photo-small,
  .campus-photo-wide {
    min-height: 240px;
    border-radius: 22px;
  }

  .campus-photo-main {
    min-height: 320px;
  }

  .campus-photo-small,
  .campus-photo-wide {
    min-height: 240px;
  }

  .campus-photo-overlay {
    padding: 1rem;
  }

  .review-score-card,
  .testimonial-card {
    border-radius: 22px;
  }

  .review-metrics {
    grid-template-columns: 1fr;
  }

  .footer-map-card,
  .footer-map-card-main {
    padding: 1rem;
    border-radius: 22px;
  }

  .footer-map-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-map-frame,
  .footer-map-frame-main {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .blog-dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Student dashboard refactor */
.next-action-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.06), rgba(255, 179, 0, 0.1));
  border: 1px solid rgba(13, 71, 161, 0.12);
}

.next-action-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.test-cta-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(16, 37, 66, 0.08);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.test-cta-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
}

.test-cta-icon.accent-blue {
  background: #0d47a1;
}

.test-cta-icon.accent-orange {
  background: #ef6c00;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted, #6c757d);
}

.empty-state i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
