/* =========================================================
   بوابة المدرب - واجهة احترافية جديدة
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #f5f8ff;
  --bg-secondary: #eef4ff;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(248, 250, 252, 0.94);
  --surface-border: rgba(15, 23, 42, 0.08);
  --surface-border-strong: rgba(15, 23, 42, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --accent: #14b8a6;
  --accent-soft: #ccfbf1;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  direction: rtl;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(20, 184, 166, 0.07), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #f1f5ff 45%, #eef4ff 100%);
  color: var(--text-primary);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.06), transparent 20%),
    radial-gradient(circle at 85% 12%, rgba(20, 184, 166, 0.06), transparent 18%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.guest-nav-info {
  display: flex;
  align-items: center;
}

.portal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #059669;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.user-nav-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.main-wrapper {
  width: min(1320px, calc(100% - 48px));
  margin: 36px auto 60px;
}

.glass-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 58, 237, 0.22);
}

.stats-grid,
.courses-grid {
  display: grid;
  gap: 24px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 34px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 26px;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.16), transparent 28%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.24);
}

.stat-value {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

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

.trainee-dashboard-shell {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.trainee-hero {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.trainee-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.trainee-hero h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.trainee-hero p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.trainee-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.trainee-quick-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.trainee-quick-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.trainee-quick-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-card,
.results-shell {
  padding: 30px;
}

.profile-form {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

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

.result-summary-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.05));
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.result-summary-card .summary-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-summary-card .summary-value {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.results-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
}

.result-card .result-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.result-card .result-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.result-card .result-score {
  font-size: 1.4rem;
  font-weight: 900;
}

.result-card .result-score.passed {
  color: var(--success);
}

.result-card .result-score.failed {
  color: var(--danger);
}

.dashboard-title h1 {
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 900;
  line-height: 1.05;
}

.dashboard-title p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 720px;
}

.trainees-grid {
  display: grid;
  gap: 18px;
}

.trainer-course-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.trainer-course-card .course-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 6px;
}

.trainer-course-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trainee-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trainee-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.trainee-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.trainee-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.trainee-email {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.trainee-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

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

.trainee-summary-card {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 116, 144, 0.05));
}

.summary-label {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.summary-value.active {
  color: #059669;
}

.summary-value.pending {
  color: #d97706;
}

.trainee-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pill.secondary {
  background: var(--accent-soft);
  color: #0f766e;
}

.trainee-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trainee-details-body {
  display: grid;
  gap: 12px;
}

.trainee-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.trainee-detail-row strong {
  color: var(--text-primary);
}

.trainee-detail-row span {
  color: var(--text-secondary);
  text-align: left;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.btn-outline:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fbff;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:hover,
.form-control:focus {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

button,
.btn {
  font-family: 'Cairo', sans-serif;
}

#auth-view,
#otp-view,
#dashboard-view,
#course-detail-view,
#results-view {
  display: none;
}

#auth-view.active,
#otp-view.active,
#dashboard-view.active,
#course-detail-view.active,
#results-view.active {
  display: block;
}

/* =========================================================
   Modern Split-Screen Auth Page Styles
   ========================================================= */
.auth-section {
  position: relative;
  width: 100%;
}

.auth-container {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: start;
  min-height: auto;
  padding: 16px 0 50px;
}

/* Showcase Column (Left / Brand side) */
.auth-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 20px;
}

.showcase-glow-effect {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(20, 184, 166, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.showcase-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.highlight-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.showcase-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 14px 18px;
  transition: var(--transition);
}

.showcase-feature-item:hover {
  transform: translateX(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 14px 30px -4px rgba(37, 99, 235, 0.08);
}

.feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
  color: var(--primary);
  font-size: 1.25rem;
}

.feature-info h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.showcase-footer-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  flex-direction: column;
}

.stat-pill .stat-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-pill .stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-pill-divider {
  width: 1px;
  height: 28px;
  background: rgba(15, 23, 42, 0.1);
}

/* Auth Form Card Column */
.auth-form-column {
  position: relative;
  z-index: 2;
  width: 100%;
}

.auth-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(37, 99, 235, 0.12),
              0 0 0 1px rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 34px 34px;
}

.auth-card-top {
  margin-bottom: 22px;
}

.auth-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon-bubble {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 1.2rem;
}

.auth-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
}

.auth-main-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth-main-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.auth-form-wrapper {
  display: flex;
  flex-direction: column;
}

.modern-input-group {
  margin-bottom: 16px;
}

.modern-input-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.input-field-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-affix {
  position: absolute;
  right: 16px;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.form-control.with-icon {
  padding-right: 46px;
  padding-left: 16px;
  height: 48px;
  background: #f8fbff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control.with-icon.with-end-action {
  padding-left: 46px;
}

.input-field-container:focus-within .input-icon-affix {
  color: var(--primary);
}

.input-field-container:focus-within .form-control {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.input-action-btn {
  position: absolute;
  left: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.input-action-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-primary);
}

.trainee-extra-grid {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.auth-submit-btn {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.35);
  margin-top: 6px;
  transition: var(--transition);
  color: #fff;
  border: none;
  cursor: pointer;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(37, 99, 235, 0.45);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-toggle-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.auth-toggle-link {
  color: var(--primary);
  font-weight: 800;
  transition: var(--transition);
  border-bottom: 1.5px dashed rgba(37, 99, 235, 0.4);
}

.auth-toggle-link:hover {
  color: #1d4ed8;
  border-bottom-style: solid;
}

/* Quick Demo Chips */
.quick-demo-wrapper {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.quick-demo-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.quick-demo-header i {
  color: #f59e0b;
}

.quick-demo-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-demo-btn {
  flex: 1;
  min-width: 85px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.quick-demo-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
  transform: translateY(-1px);
}

/* OTP Screen Overhaul */
.otp-card-container {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(28px);
  padding: 40px 36px;
}

.otp-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.16) 0%, rgba(37, 99, 235, 0.12) 100%);
  color: #0284c7;
  font-size: 2.2rem;
  box-shadow: 0 12px 24px -6px rgba(6, 182, 212, 0.25);
}

.otp-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.otp-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.otp-email-highlight {
  color: #0284c7;
  font-size: 1.05rem;
  direction: ltr;
  display: inline-block;
}

.otp-dev-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px dashed rgba(6, 182, 212, 0.4);
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 22px;
  text-align: right;
}

.otp-dev-alert-icon {
  font-size: 1.3rem;
  color: #0284c7;
}

.otp-dev-alert-content {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.otp-dev-code-text {
  color: #0284c7;
  font-size: 1.25rem;
  letter-spacing: 3px;
  font-family: monospace;
}

.otp-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  direction: ltr;
}

.otp-input {
  width: 54px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #f8fbff;
  color: var(--text-primary);
  text-align: center;
  font-size: 1.85rem;
  font-weight: 900;
  transition: var(--transition);
}

.otp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
  background: #ffffff;
}

.otp-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
}

.otp-resend-row {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.otp-back-row {
  margin-top: 14px;
}

.btn-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

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

/* Responsive Rules for Split Layout */
@media (max-width: 992px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 10px 0 30px;
  }

  .auth-form-column {
    order: 1;
  }

  .auth-showcase {
    order: 2;
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .showcase-badge {
    align-self: center;
  }

  .showcase-heading {
    font-size: 1.85rem;
  }

  .showcase-lead {
    font-size: 0.95rem;
  }

  .showcase-cards-list {
    display: none;
  }

  .showcase-footer-stats {
    justify-content: center;
  }

  .auth-card {
    padding: 26px 22px;
    border-radius: 22px;
  }
}

#course-banner {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 28px;
}

#course-banner h1 {
  font-size: clamp(1.95rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

#course-banner p {
  margin-bottom: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 760px;
}

#cd-enroll-container {
  text-align: left;
}

#trainer-course-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  margin-bottom: 30px;
}

.module-item {
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.module-header {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(37, 99, 235, 0.04);
  cursor: pointer;
}

.module-header:hover {
  background: rgba(37, 99, 235, 0.08);
}

.module-content {
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lesson-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 18px;
}

.lesson-info h4 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.lesson-info p {
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
}

.file-download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  background: var(--accent-soft);
  color: #0f766e;
  font-weight: 700;
}

.file-download-badge:hover {
  background: rgba(20, 184, 166, 0.16);
}

.quiz-section {
  padding: 24px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: 22px;
  margin-top: 22px;
}

.question-block {
  padding: 24px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  margin-bottom: 22px;
}

.question-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.options-list {
  display: grid;
  gap: 14px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #f8fbff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.option-item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}

.option-item input[type="radio"] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 32px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.score-box {
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.score-box.passed {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.score-box.failed {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
}

.score-number {
  font-size: 3rem;
  font-weight: 900;
  margin: 14px 0;
}

.otp-dev-banner {
  font-size: 0.95rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.role-badge.trainer {
  background: var(--primary-soft);
  color: var(--primary);
}

.role-badge.trainee {
  background: var(--accent-soft);
  color: #0f766e;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation: fadeIn 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@media (max-width: 980px) {

  .nav-container,
  .dashboard-header {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 760px) {
  header {
    padding: 18px 20px;
  }

  .main-wrapper {
    margin: 26px auto 40px;
    width: min(100%, calc(100% - 32px));
  }

  .stats-grid,
  .courses-grid {
    gap: 18px;
  }

  .btn {
    width: 100%;
  }

  .otp-container {
    gap: 10px;
  }
}

/* =========================================================
   OpenAI GPT-6 Astra Aesthetic (Cosmic Dark & Ethereal Glass)
   ========================================================= */
body.astra-theme {
  background: #08090d !important;
  color: #f1f5f9 !important;
  overflow-x: hidden;
}

body.astra-theme::before {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  background: 
    radial-gradient(ellipse 70% 50% at 20% 18%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 25%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(ellipse 65% 55% at 50% 90%, rgba(6, 182, 212, 0.16), transparent 65%),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.03), transparent 50%) !important;
  pointer-events: none !important;
  z-index: -2 !important;
}

body.astra-theme::after {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
  opacity: 0.35 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Header in Astra Mode */
body.astra-theme header {
  background: rgba(8, 9, 13, 0.75) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.astra-theme .brand-title {
  color: #ffffff !important;
}

body.astra-theme .brand-subtitle {
  color: #94a3b8 !important;
}

body.astra-theme .brand-logo-icon {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) !important;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.45) !important;
}

body.astra-theme .portal-status-badge {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
}

/* Showcase Side */
body.astra-theme .showcase-badge {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
}

body.astra-theme .showcase-heading {
  color: #ffffff !important;
}

body.astra-theme .highlight-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 35%, #a5b4fc 70%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.astra-theme .showcase-lead {
  color: #94a3b8 !important;
}

body.astra-theme .showcase-feature-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
}

body.astra-theme .showcase-feature-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 10px 35px -5px rgba(124, 58, 237, 0.2) !important;
}

body.astra-theme .feature-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.astra-theme .feature-info h3 {
  color: #f8fafc !important;
}

body.astra-theme .feature-info p {
  color: #94a3b8 !important;
}

body.astra-theme .showcase-footer-stats {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.astra-theme .stat-pill .stat-num {
  color: #ffffff !important;
}

body.astra-theme .stat-pill .stat-lbl {
  color: #64748b !important;
}

body.astra-theme .stat-pill-divider {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Card Side */
body.astra-theme .auth-card {
  background: rgba(15, 17, 24, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9), 
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(36px) !important;
  -webkit-backdrop-filter: blur(36px) !important;
}

body.astra-theme .card-icon-bubble {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
}

body.astra-theme .auth-security-tag {
  background: rgba(16, 185, 129, 0.1) !important;
  border-color: rgba(16, 185, 129, 0.25) !important;
  color: #34d399 !important;
}

body.astra-theme .auth-main-title {
  color: #ffffff !important;
}

body.astra-theme .auth-main-subtitle {
  color: #94a3b8 !important;
}

body.astra-theme .modern-input-group label {
  color: #e2e8f0 !important;
}

body.astra-theme .input-icon-affix {
  color: #64748b !important;
}

body.astra-theme .form-control.with-icon {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

body.astra-theme .form-control.with-icon::placeholder {
  color: #475569 !important;
}

body.astra-theme .input-field-container:focus-within .input-icon-affix {
  color: #ffffff !important;
}

body.astra-theme .input-field-container:focus-within .form-control {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 0 20px rgba(99, 102, 241, 0.15) !important;
}

body.astra-theme .input-action-btn {
  color: #64748b !important;
}

body.astra-theme .input-action-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body.astra-theme .trainee-extra-grid {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* High Contrast Solid White Action Button (OpenAI signature) */
body.astra-theme .auth-submit-btn {
  background: #ffffff !important;
  color: #08090d !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.18), 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
  border: none !important;
}

body.astra-theme .auth-submit-btn:hover {
  background: #f8fafc !important;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4), 0 10px 30px -4px rgba(0, 0, 0, 0.7) !important;
  transform: translateY(-2px);
}

body.astra-theme .auth-toggle-box {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

body.astra-theme .auth-toggle-link {
  color: #38bdf8 !important;
  border-bottom-color: rgba(56, 189, 248, 0.4) !important;
}

body.astra-theme .auth-toggle-link:hover {
  color: #7dd3fc !important;
}

body.astra-theme .quick-demo-wrapper {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.astra-theme .quick-demo-header {
  color: #94a3b8 !important;
}

body.astra-theme .quick-demo-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #cbd5e1 !important;
}

body.astra-theme .quick-demo-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* OTP Screen in Astra Mode */
body.astra-theme .otp-card-container {
  background: rgba(15, 17, 24, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.astra-theme .otp-icon-wrapper {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2) !important;
}

body.astra-theme .otp-title {
  color: #ffffff !important;
}

body.astra-theme .otp-subtitle {
  color: #94a3b8 !important;
}

body.astra-theme .otp-email-highlight {
  color: #38bdf8 !important;
}

body.astra-theme .otp-dev-alert {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}

body.astra-theme .otp-dev-alert-icon,
body.astra-theme .otp-dev-code-text {
  color: #38bdf8 !important;
}

body.astra-theme .otp-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body.astra-theme .otp-input:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 20px rgba(56, 189, 248, 0.25) !important;
}

body.astra-theme .otp-submit-btn {
  background: #ffffff !important;
  color: #08090d !important;
  border: none !important;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2) !important;
}

body.astra-theme .otp-submit-btn:hover {
  background: #f8fafc !important;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.35) !important;
}

body.astra-theme .btn-link {
  color: #64748b !important;
}

body.astra-theme .btn-link:hover {
  color: #ffffff !important;
}

/* =========================================================
   🍞 Toast Notifications
   ========================================================= */
#toast-container {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
  pointer-events: all;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
}

.toast.toast-success { background: linear-gradient(135deg, #059669, #10b981); }
.toast.toast-error   { background: linear-gradient(135deg, #dc2626, #ef4444); }
.toast.toast-info    { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.toast.toast-warning { background: linear-gradient(135deg, #d97706, #f59e0b); }

.toast i { font-size: 1.1rem; flex-shrink: 0; }

.toast-out {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-30px); }
}

/* =========================================================
   🔑 Forgot Password Link
   ========================================================= */
.auth-forgot-row {
  text-align: center;
  margin-top: 10px;
}

.auth-forgot-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

/* =========================================================
   ⏳ Button Loading State
   ========================================================= */
.btn-loading {
  opacity: 0.8;
  cursor: not-allowed !important;
  pointer-events: none;
}

.btn-loading .fa-spin {
  animation: fa-spin 0.8s linear infinite;
}

/* =========================================================
   🚫 Custom 404 Page
   ========================================================= */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 20px;
}

.page-404 .error-code {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-404 .error-icon {
  font-size: 3rem;
  color: var(--text-muted);
}

.page-404 h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.page-404 p {
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.7;
}