@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --brand: #1a56db;
  --brand-dark: #1342b5;
  --brand-light: #eef4ff;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #dc2626;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --border: #e5e9f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .75rem;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

/* ─── NAVBAR ───────────────────────────────────────────────────────────── */
.site-navbar {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.site-navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand) !important;
  letter-spacing: -.02em;
}
.site-navbar .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem !important;
  border-radius: 8px;
  transition: all .15s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand);
  background: var(--brand-light);
}

/* ─── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(245,158,11,.18), transparent 45%),
    linear-gradient(135deg, #1a56db 0%, #0d3b8e 100%);
  color: white;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero p {
  font-size: 1.2rem;
  opacity: .95;
  margin-bottom: 2.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}
.hero .btn-light {
  background: white;
  color: var(--brand);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 12px;
  border: none;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: all .2s;
}
.hero .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  font-weight: 600;
  border-radius: 10px;
  transition: all .15s;
  font-size: .95rem;
}
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  padding: .6rem 1.4rem;
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,86,219,.3);
}
.btn-outline-primary {
  color: var(--brand);
  border-color: var(--brand);
  padding: .6rem 1.4rem;
}
.btn-outline-primary:hover {
  background: var(--brand);
  color: white;
}
.btn-light { padding: .6rem 1.4rem; }

/* ─── SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ─── CARDS ────────────────────────────────────────────────────────────── */
.app-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .25s ease;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ─── CATEGORY CARD ────────────────────────────────────────────────────── */
.category-card {
  text-align: center;
  padding: 2.25rem 1.25rem;
  height: 100%;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.category-card:hover { color: var(--brand); }
.category-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}
.category-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}
.category-card small {
  color: var(--muted);
  font-weight: 500;
  font-size: .85rem;
}

/* ─── COURSE CARD ──────────────────────────────────────────────────────── */
.course-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}
.course-card:hover { color: var(--text); }
.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.course-body {
  padding: 1.35rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.course-category {
  font-size: .72rem;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}
.course-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .6rem;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.course-meta {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.course-price {
  font-weight: 800;
  color: var(--brand);
  font-size: 1.15rem;
}
.course-price.free { color: var(--success); }

/* ─── AUTH PAGES ───────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(245,158,11,.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.1), transparent 40%),
    linear-gradient(135deg, #1a56db 0%, #0d3b8e 100%);
}
.auth-card {
  background: white;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 460px;
}
.auth-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: .25rem;
}
.auth-card .form-control {
  padding: .75rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: .95rem;
  transition: all .15s;
}
.auth-card .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,86,219,.1);
}
.auth-card .form-label {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.auth-card .btn-primary {
  padding: .8rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 0;
  text-align: center;
  font-size: .9rem;
}
.site-footer p { margin: 0; }

/* ─── BADGES ───────────────────────────────────────────────────────────── */
.badge-free,
.badge-paid {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-free { background: #d1fae5; color: #065f46; }
.badge-paid { background: #fef3c7; color: #92400e; }

/* ─── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.05rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .auth-card { padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO WITH BACKGROUND IMAGE
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(26,86,219,.85), transparent 60%),
    linear-gradient(135deg, rgba(15,23,42,.85) 0%, rgba(26,86,219,.75) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  padding: .5rem 1.25rem;
  border-radius: 30px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero h1 .highlight {
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.25rem;
  opacity: .95;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.btn-hero-primary {
  background: white;
  color: var(--brand);
  font-weight: 700;
  padding: .95rem 2rem;
  border-radius: 12px;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: all .2s;
}
.btn-hero-primary:hover {
  background: white;
  color: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.btn-hero-outline {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: .95rem 2rem;
  border-radius: 12px;
  font-size: 1.05rem;
  border: 2px solid rgba(255,255,255,.6);
  transition: all .2s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  color: white;
  border-color: white;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  max-width: 700px;
  margin: 0 auto;
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: .35rem;
}
.hero-stat span {
  font-size: .9rem;
  opacity: .9;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION VARIANTS
   ═══════════════════════════════════════════════════════════════════════ */
.section-alt {
  background: white;
}
.section-label {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--border);
  transition: all .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.feature-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .6rem;
}
.feature-card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   STEP CARDS
   ═══════════════════════════════════════════════════════════════════════ */
.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  transition: all .25s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(26,86,219,.35);
}
.step-card h5 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.step-card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 {
  color: white;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.cta-band p {
  font-size: 1.1rem;
  opacity: .95;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 4rem 0 3.5rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat strong { font-size: 1.5rem; }
  .cta-band h2 { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO SMALL (for inner pages)
   ═══════════════════════════════════════════════════════════════════════ */
.hero-small {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.hero-small h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.hero-small p {
  font-size: 1.1rem;
  opacity: .9;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════════════════════ */
.filter-btn {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  padding: .6rem 1.25rem;
  border-radius: 10px;
  transition: all .15s;
  font-size: .9rem;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════════════
   COURSE DETAIL
   ═══════════════════════════════════════════════════════════════════════ */
.course-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
}
.course-hero h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}
.course-desc {
  font-size: 1.05rem;
  opacity: .95;
  max-width: 720px;
  line-height: 1.7;
}
.back-link {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  text-decoration: none;
}
.back-link:hover { color: white; }
.course-meta-large {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: .9rem;
  opacity: .95;
}
.course-meta-large i { margin-right: .35rem; }

.lesson-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.lesson-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.lesson-item:last-child { border-bottom: none; }
.lesson-item:hover { background: var(--brand-light); }
.lesson-num {
  width: 36px;
  height: 36px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.lesson-info { flex-grow: 1; }
.lesson-info strong { display: block; font-weight: 600; font-size: .95rem; }
.lesson-info small { color: var(--muted); font-size: .8rem; }

.enrol-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.enrol-price { text-align: center; margin-bottom: 1.5rem; }
.enrol-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.enrol-features li {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .75rem;
}
.enrol-features i { color: var(--success); margin-right: .5rem; }

/* ═══════════════════════════════════════════════════════════════════════
   LESSON PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.lesson-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 3rem 0;
}
.lesson-header h1 {
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1rem 0;
}
.lesson-progress-bar {
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem 0 .5rem;
  max-width: 500px;
}
.lesson-progress-fill {
  height: 100%;
  background: #fbbf24;
  transition: width .5s;
}
.lesson-header small { opacity: .85; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.pdf-wrapper {
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f5f9;
}
.pdf-wrapper iframe { width: 100%; height: 100%; border: none; }
.lesson-text-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.lesson-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.lessons-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  max-height: 600px;
  overflow-y: auto;
}
.sidebar-lesson {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: .9rem;
  margin-bottom: .35rem;
  transition: all .15s;
}
.sidebar-lesson:hover { background: var(--brand-light); color: var(--brand); }
.sidebar-lesson.active {
  background: var(--brand);
  color: white;
  font-weight: 600;
}
.sidebar-num {
  width: 26px;
  height: 26px;
  background: rgba(0,0,0,.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar-lesson.active .sidebar-num {
  background: rgba(255,255,255,.25);
}

/* ═══════════════════════════════════════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════════════════════════════════════ */
.stat-box {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all .2s;
}
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto .75rem;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}

.admin-tabs {
  background: white;
  border-radius: var(--radius);
  padding: .5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.admin-tab {
  background: none;
  border: none;
  padding: .75rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  color: var(--muted);
  transition: all .15s;
  cursor: pointer;
  font-size: .95rem;
}
.admin-tab:hover { background: var(--brand-light); color: var(--brand); }
.admin-tab.active { background: var(--brand); color: white; }

.admin-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.admin-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: .6rem;
  background: white;
  transition: all .15s;
}
.admin-list-item:hover { background: var(--brand-light); border-color: transparent; }
.admin-list-icon {
  width: 42px;
  height: 42px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
}
.admin-list-info { flex-grow: 1; min-width: 0; }
.admin-list-info strong {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-list-info small {
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 768px) {
  .admin-tab { padding: .6rem 1rem; font-size: .85rem; }
  .stat-value { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PROGRAM PAGES
   ═══════════════════════════════════════════════════════════════════════ */
.program-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
}
.program-hero h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0 .5rem;
}
.program-hero p { opacity: .95; max-width: 700px; margin: 0 auto; }

.level-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all .2s;
}
.level-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.level-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.level-card h5 {
  font-weight: 700;
  margin-bottom: .5rem;
}