/*
 * Darija by Hajiba
 */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --sand:        #F5EFE6;
  --sand-mid:    #EDE3D5;
  --cream:       #FAF7F2;
  --cream-alt:   #F4F0EA;
  --white:       #FFFFFF;
  --terra:       #B85C38;
  --terra-dark:  #8F3E22;
  --terra-pale:  #F0C4B0;
  --gold:        #C9963A;
  --gold-light:  #E8B965;
  --gold-pale:   #F5E6C8;
  --forest:      #2D4A3E;
  --forest-mid:  #3D6355;
  --forest-lite: #C8D9D4;
  --dark:        #181816;
  --ink:         #282724;
  --muted:       #7A7265;
  --border:      #DDD5C8;
  --border-lite: #EDEBE6;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max:    1120px;
  --narrow: 740px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    240ms var(--ease);

  --sh-sm: 0 2px 8px rgba(40,39,36,0.06);
  --sh-md: 0 6px 28px rgba(40,39,36,0.10);
  --sh-lg: 0 16px 56px rgba(40,39,36,0.14);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 68px;
  background: rgba(250,247,242,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-lite);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar__container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.navbar__link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color var(--t);
  position: relative;
}
.navbar__link::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.navbar__link:hover,
.navbar__link--active { color: var(--terra); }
.navbar__link:hover::after,
.navbar__link--active::after { transform: scaleX(1); }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar__hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ── USER AVATAR DROPDOWN ────────────────────────────────────── */
.nav-user { position: relative; }
.nav-user__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.nav-user__btn:hover { border-color: var(--forest); background: rgba(45,74,62,0.04); }
.nav-user__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-user__name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user__chevron { color: var(--muted); flex-shrink: 0; transition: transform var(--t); }
.nav-user__btn[aria-expanded="true"] .nav-user__chevron { transform: rotate(180deg); }

.nav-user__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(40,39,36,0.13);
  padding: 6px;
  z-index: 500;
  animation: nav-menu-in 0.15s ease both;
}
.nav-user__menu[hidden] { display: none; }
@keyframes nav-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-user__info {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-user__info-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user__info-email {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-user__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.nav-user__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background var(--t);
}
.nav-user__item:hover { background: var(--cream); }
.nav-user__item--signout { color: var(--terra); }
.nav-user__item--signout:hover { background: rgba(184,92,56,0.07); }

@media (max-width: 640px) {
  .nav-user__menu { right: auto; left: 0; }
  .nav-user__name { display: none; }
  .nav-user__btn { padding: 4px; border-radius: 50%; }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
}
.btn--primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn--primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  box-shadow: 0 6px 24px rgba(184,92,56,0.38);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(40,39,36,0.04);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #b07828;
  border-color: #b07828;
  box-shadow: 0 6px 24px rgba(201,150,58,0.40);
  transform: translateY(-1px);
}
.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250,247,242,0.35);
}
.btn--outline-light:hover {
  background: rgba(250,247,242,0.10);
  border-color: rgba(250,247,242,0.65);
}

/* ── MAIN OFFSET (fixed navbar = 68px — public site only) ──────── */
body:not(.admin-body) main { padding-top: 68px; }

/* ── SECTIONS SHELL ──────────────────────────────────────────── */
.section { padding: 7rem 0; }
.section--sand   { background: var(--sand); }
.section--cream  { background: var(--cream-alt); }
.section--white  { background: var(--white); }
.section--forest { background: var(--forest); }
.section__container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── FLASH ───────────────────────────────────────────────────── */
.flash {
  position: sticky;
  top: 64px;
  z-index: 200;
  padding: 0.9rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}
.flash--notice { background: var(--gold); color: var(--forest); }
.flash--alert  { background: #B85C38; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 58% 1fr;
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 3rem calc((100vw - var(--max)) / 2 + 1.5rem);
  background: var(--cream);
  position: relative;
}
/* angled edge */
.hero__left::after {
  content: "";
  position: absolute;
  top: 0; right: -60px; bottom: 0;
  width: 120px;
  background: var(--cream);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 2;
}

.hero__overline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__overline::before {
  content: "";
  display: block;
  width: 24px; height: 1px;
  background: var(--terra);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.8vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero__title em {
  font-style: italic;
  color: var(--terra);
}

.hero__intro {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__credential {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border-lite);
  padding-top: 0.9rem;
  max-width: 400px;
}

/* Right panel */
.hero__right {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  min-height: 320px;
}
.hero__pattern {
  position: absolute; inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg,  var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
}
.hero__rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,150,58,0.3);
}
.hero__ring--1 { width: 200px; height: 200px; }
.hero__ring--2 { width: 310px; height: 310px; border-color: rgba(201,150,58,0.15); }
.hero__ring--3 { width: 420px; height: 420px; border-color: rgba(201,150,58,0.07); }
.hero__word {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.6rem;
}
.hero__arabic {
  font-family: var(--serif);
  font-size: 4.5rem;
  color: rgba(201,150,58,0.6);
  line-height: 1;
  font-style: italic;
}
.hero__arabic-caption {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232,185,101,0.5);
  font-family: var(--sans);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════
   VOOR WIE — editorial split, no cards
══════════════════════════════════════════════════════════════ */
.voor-wie__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.voor-wie__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.voor-wie__body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
}

.voor-wie__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.5rem;
}
.voor-wie__list li {
  font-size: 1.05rem;
  color: var(--ink);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-lite);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  line-height: 1.5;
}
.voor-wie__list li::before {
  content: "—";
  color: var(--terra);
  font-size: 1rem;
  flex-shrink: 0;
}
.voor-wie__list li:first-child { border-top: 1px solid var(--border-lite); }

/* ══════════════════════════════════════════════════════════════
   OVER HAJIBA — photo + editorial text
══════════════════════════════════════════════════════════════ */
.about__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 5rem;
  align-items: center;
}

.about__photo-frame {
  position: relative;
}
.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 540px;
  background: linear-gradient(160deg, var(--forest-lite) 0%, var(--sand-mid) 100%);
  border-radius: 4px 4px 80px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  overflow: hidden;
}
.about__photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: inherit;
}
.about__photo-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(45,74,62,0.5);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.about__photo-accent {
  position: absolute;
  width: 80px; height: 80px;
  background: var(--gold);
  border-radius: 50%;
  bottom: -20px; right: -20px;
  opacity: 0.8;
  z-index: -1;
}

.about__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.about__body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about__pull {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  background: var(--gold-pale);
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}

/* ══════════════════════════════════════════════════════════════
   WAT JE KUNT VERWACHTEN — numbered list, not cards
══════════════════════════════════════════════════════════════ */
.expect__wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}
.expect__head { }
.expect__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
  position: sticky;
  top: 5rem;
}

.expect__list {
  display: flex;
  flex-direction: column;
}
.expect__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-lite);
  transition: background var(--t);
}
.expect__item:first-child { border-top: 1px solid var(--border-lite); }
.expect__num {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  padding-top: 3px;
}
.expect__item-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}
.expect__item-body strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS SECTION
══════════════════════════════════════════════════════════════ */
.section--reviews {
  background: var(--forest);
  padding: 5rem 1.5rem;
}
.reviews__wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.reviews__head {
  text-align: center;
  margin-bottom: 3rem;
}
.reviews__overline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.reviews__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.review-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 0;
  transition: background 0.2s, transform 0.2s;
}
.review-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-2px);
}
.review-card--wide {
  grid-column: span 2;
}
.review-card__stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.review-card__body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .review-card--wide { grid-column: span 2; }
}
@media (max-width: 580px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .review-card--wide { grid-column: span 1; }
}

/* ══════════════════════════════════════════════════════════════
   COURSES SECTION
══════════════════════════════════════════════════════════════ */
/* Simple 3-col grid used on the /cursussen index page */
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .courses__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .courses__grid { grid-template-columns: 1fr; } }

.courses__head {
  text-align: center;
  margin-bottom: 4rem;
}
.courses__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.courses__subtitle {
  font-size: 1rem;
  color: rgba(250,247,242,0.55);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Layout: featured left, secondary stack right */
.courses__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.25rem;
  align-items: start;
}
.courses__secondary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── BASE CARD ───────────────────────────────────────────────── */
.course-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(250,247,242,0.12);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.course-card:hover:not(.course-card--soon) {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3);
}
.course-card--soon { opacity: 0.85; }
.course-card--soon .course-card__header { opacity: 0.65; }

/* Secondary cards step back */
.course-card--secondary {
  opacity: 0.72;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
}
.course-card--secondary:hover:not(.course-card--soon) { opacity: 1; }

/* ── FEATURED CARD ───────────────────────────────────────────── */
.course-card--featured {
  background: var(--cream);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 4px rgba(201,150,58,0.10),
    0 8px 40px rgba(201,150,58,0.18),
    0 20px 72px rgba(0,0,0,0.22);
  overflow: visible;
}
.course-card--featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 6px rgba(201,150,58,0.16),
    0 16px 56px rgba(201,150,58,0.24),
    0 32px 96px rgba(0,0,0,0.30);
}

.cs-cta-box__full {
  text-align: center;
  background: rgba(0,0,0,0.2);
  color: rgba(250,247,242,0.6);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.875rem 1rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}
.course-card__full-badge {
  display: block;
  text-align: center;
  background: rgba(0,0,0,0.18);
  color: rgba(250,247,242,0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}
.course-card__spots-left {
  font-size: 0.72rem;
  color: rgba(201,150,58,0.85);
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
}
.course-card__ribbon {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #b07828);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(201,150,58,0.38);
  z-index: 10;
}

.course-card__featured-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
}
.course-card__label--featured {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
/* Descendant selectors = higher specificity than .course-card__title alone */
.course-card--featured .course-card__title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.course-card--featured .course-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.course-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-card__bullets li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.course-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* Price box (inside featured card) */
.course-card__price-box {
  background: var(--forest);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.course-card__price-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232,185,101,0.55);
}
.course-card__price--featured {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1;
}
.course-card__price-note {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.38);
  line-height: 1.5;
}
.course-card__cta {
  width: 100%;
  margin-top: 4px;
  padding: 0.85rem 1.25rem;
  font-size: 0.76rem;
}
.course-card__more {
  font-size: 0.72rem;
  color: rgba(232,185,101,0.5);
  transition: color var(--t);
  margin-top: 2px;
}
.course-card__more:hover { color: var(--gold-light); }

/* ── SECONDARY CARD PARTS ────────────────────────────────────── */
.course-card__header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(250,247,242,0.08);
}
.course-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.course-card__label--soon { color: rgba(250,247,242,0.3); }
.course-card__title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
}
.course-card__body {
  padding: 1.25rem 1.75rem;
  flex: 1;
}
.course-card__desc {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.75;
}
.course-card__footer {
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(250,247,242,0.08);
}
.course-card__price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1;
}
.course-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(250,247,242,0.35);
  border: 1px solid rgba(250,247,242,0.12);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 5rem 0 2rem;
}
.footer__container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
  display: block;
  margin-bottom: 0.75rem;
}
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.4);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.25rem;
}
.footer__col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.28);
  margin-bottom: 1rem;
}
.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links-list a {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.5);
  transition: color var(--t);
}
.footer__links-list a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.75rem; color: rgba(250,247,242,0.22); }
.footer__trust-badge {
  font-size: 0.7rem;
  color: rgba(250,247,242,0.28);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════════════════
   OVER MIJ PAGE
══════════════════════════════════════════════════════════════ */
.over-mij__hero {
  background: var(--forest);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
}
.over-mij__hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: end;
  width: 100%;
}
.over-mij__hero-text {}
.over-mij__overline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}
.over-mij__overline::before {
  content: ""; display: block;
  width: 24px; height: 1px;
  background: var(--gold-light);
}
.over-mij__name {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.over-mij__role {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.7;
}
.over-mij__photo-wrap {
  position: relative;
  align-self: end;
}
.over-mij__photo {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 520px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 4px 4px 60px 4px;
  display: block;
}
.over-mij__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 440px;
  background: linear-gradient(160deg, var(--forest-mid) 0%, #1e3830 100%);
  border-radius: 4px 4px 60px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(250,247,242,0.3);
  text-transform: uppercase;
}

.over-mij__body {
  background: var(--white);
  padding: 7rem 0;
}
.over-mij__body-inner {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.over-mij__body-inner p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.75rem;
}
.over-mij__body-inner p:last-child { margin-bottom: 0; }
.over-mij__pull {
  font-family: var(--serif);
  font-size: 1.7rem !important;
  font-style: italic;
  color: var(--forest) !important;
  line-height: 1.4 !important;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  border-radius: 0 8px 8px 0;
  margin: 3rem 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .courses__layout { grid-template-columns: 1fr 320px; }
  .about__wrap { grid-template-columns: 320px 1fr; gap: 3.5rem; }
  .expect__wrap { grid-template-columns: 220px 1fr; gap: 3rem; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__left {
    padding: 2.5rem 1.5rem 2.5rem;
    justify-content: center;
  }
  .hero__left::after { display: none; }
  .hero__right { height: 180px; }

  .voor-wie__wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__wrap    { grid-template-columns: 1fr; gap: 3rem; }
  .about__photo-placeholder { aspect-ratio: 4/5; max-height: 420px; }
  .expect__wrap   { grid-template-columns: 1fr; gap: 2rem; }
  .expect__title  { position: static; }

  .courses__layout { grid-template-columns: 1fr; }
  .course-card__featured-inner { grid-template-columns: 1fr; }
  .course-card__price-box { min-width: 0; }

  .footer__top { grid-template-columns: 1fr 1fr; }

  .over-mij__hero-inner { grid-template-columns: 1fr; }
  .over-mij__photo-wrap { max-width: 300px; }
}

@media (max-width: 640px) {
  .navbar__nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--sh-lg);
    z-index: 199;
  }
  .navbar__nav.open { display: flex; }
  .navbar__hamburger { display: flex; }

  .section { padding: 5rem 0; }

  .hero__left { padding: 2rem 1.25rem 2rem; }
  .hero__title { font-size: 1.75rem; line-height: 1.2; margin-bottom: 0.75rem; }
  .hero__intro { margin-bottom: 1.25rem; font-size: 0.92rem; }
  .hero__ctas { gap: 8px; flex-direction: column; align-items: flex-start; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__right { height: 140px; }
  .hero__arabic { font-size: 3rem; }

  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .course-card--featured .course-card__title { font-size: 2rem; }
  .course-card__price--featured  { font-size: 2.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   COURSE HERO (show page)
══════════════════════════════════════════════════════════════ */
.course-hero {
  background: var(--forest);
  min-height: 360px;
  display: flex;
  align-items: center;
}
.course-hero__inner {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
}
.course-hero__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-hero__tag::before {
  content: ""; display: block;
  width: 20px; height: 1px;
  background: var(--gold-light);
  opacity: 0.5;
}
.course-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.course-hero__desc {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.6);
  max-width: 540px;
  line-height: 1.8;
}

/* Price bar on course show page */
.course-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--cream-alt);
  border-radius: 10px;
  border: 1px solid var(--border-lite);
  margin-bottom: 3rem;
}
.course-price-bar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.course-price-bar__price {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--terra);
  font-weight: 500;
  line-height: 1;
}
.course-price-bar__note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════ */
.checkout-page {
  display: grid;
  grid-template-columns: 1fr 440px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  gap: 5rem;
  align-items: start;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  transition: color var(--t);
  margin-bottom: 2.5rem;
}
.checkout-back:hover { color: var(--terra); }

.checkout-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.checkout-subtitle {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45,74,62,0.10);
}
.form-input::placeholder { color: var(--muted); opacity: 0.6; }
.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.checkout-error {
  background: rgba(184,92,56,0.08);
  border: 1px solid var(--terra-pale);
  color: var(--terra-dark);
  padding: 0.875rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.checkout-discount-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.checkout-discount-row .form-input {
  flex: 1;
}
.checkout-discount-btn {
  white-space: nowrap;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
}

.checkout-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.88rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.checkout-secure {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Order summary */
.checkout-summary-col {
  position: sticky;
  top: calc(68px + 2rem);
}
.checkout-summary {
  background: var(--forest);
  border-radius: 12px;
  padding: 2rem;
  color: var(--cream);
}
.checkout-summary__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}
.checkout-summary__course {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}
.checkout-summary__tagline {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.5);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.checkout-summary__desc {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.75;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
  margin-bottom: 1.5rem;
}
.checkout-summary__includes-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.4);
  margin-bottom: 0.875rem;
}
.checkout-summary__includes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.checkout-summary__includes li {
  font-size: 0.875rem;
  color: rgba(250,247,242,0.7);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.checkout-summary__includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}
.checkout-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.checkout-summary__total span:first-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(250,247,242,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.checkout-summary__price {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 500;
  line-height: 1;
}
.checkout-summary__vat {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.3);
  text-align: right;
}
.checkout-summary__divider {
  border: none;
  border-top: 1px solid rgba(250,247,242,0.1);
  margin: 1.5rem 0;
}
.checkout-summary__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,247,242,0.1);
}
.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(250,247,242,0.45);
}
.checkout-trust-item svg { flex-shrink: 0; opacity: 0.5; }

/* Progress steps */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.25rem;
}
.checkout-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.checkout-step-item--active .checkout-step-num {
  background: var(--forest);
  color: var(--white);
}
.checkout-step-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.checkout-step-item--active .checkout-step-label {
  color: var(--forest);
  font-weight: 600;
}
.checkout-step-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 10px;
  min-width: 20px;
}

/* ══════════════════════════════════════════════════════════════
   FLOATING CART — desktop card + mobile bar
══════════════════════════════════════════════════════════════ */

/* Desktop floating card */
.cart-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 300px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 36px rgba(40,39,36,0.18), 0 2px 8px rgba(40,39,36,0.08);
  border: 1px solid var(--border);
  animation: cart-slidein 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cart-slidein {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cart-float__inner {
  padding: 1.25rem 1.25rem 1.1rem;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 0 12px;
  align-items: center;
}
.cart-float__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 1.2rem; line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 6px;
  transition: color var(--t);
}
.cart-float__close:hover { color: var(--ink); }
.cart-float__icon {
  grid-row: 1 / 3;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(45,74,62,0.08);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.cart-float__body { grid-column: 2; padding-right: 1.5rem; }
.cart-float__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.cart-float__course {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 500;
  line-height: 1.2;
}
.cart-float__cta {
  grid-column: 1 / 3;
  margin-top: 1rem;
  display: block;
  text-align: center;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--t);
}
.cart-float__cta:hover { background: #1e3830; }

/* Mobile sticky bar — hidden on desktop */
.cart-bar { display: none; }

@media (max-width: 767px) {
  .cart-float { display: none; }

  .cart-bar {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--forest);
    box-shadow: 0 -4px 20px rgba(40,39,36,0.18);
    animation: cart-barin 0.3s ease both;
  }
  @keyframes cart-barin {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  .cart-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 1rem;
    color: var(--white);
  }
  .cart-bar__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }
  .cart-bar__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.5);
  }
  .cart-bar__course {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cart-bar__cta {
    flex-shrink: 0;
    background: var(--gold);
    color: var(--ink);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .cart-bar__close {
    flex-shrink: 0;
    background: none; border: none;
    color: rgba(250,247,242,0.5);
    font-size: 1.3rem; line-height: 1;
    cursor: pointer;
    padding: 4px;
  }
}

/* Cart restored notice */
.checkout-cart-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,150,58,0.10);
  border: 1px solid rgba(201,150,58,0.35);
  color: #7A5820;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Section label inside form */
.checkout-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Two-column row for postal + city */
.form-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.75rem;
}
.form-field--postal { }
.form-field--city { }

/* Select styling */
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

/* ══════════════════════════════════════════════════════════════
   CONFIRMATION / CANCEL PAGE
══════════════════════════════════════════════════════════════ */
.confirm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}
.confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(45,74,62,0.08);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.confirm-icon--cancel {
  background: rgba(184,92,56,0.08);
  color: var(--terra);
}
.confirm-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.confirm-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.confirm-course {
  background: var(--cream-alt);
  border: 1px solid var(--border-lite);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  width: 100%;
}
.confirm-course__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.confirm-course__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 400;
}
.confirm-course__access {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #059669;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Checkout responsive */
@media (max-width: 860px) {
  .checkout-page {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem 4rem;
  }
  .checkout-summary-col {
    position: static;
  }
  .checkout-summary {
    border-radius: 10px;
    padding: 1.25rem;
  }
  .checkout-summary__course { font-size: 1.4rem; }
  .checkout-summary__desc { display: none; } /* keep it compact */
  .checkout-title { font-size: 1.8rem; }
  .checkout-steps { margin-bottom: 1.5rem; }
  .checkout-step-label { display: none; } /* numbers only on small screens */
  .checkout-step-divider { min-width: 12px; }
  .form-row {
    grid-template-columns: 110px 1fr;
  }
  /* Add bottom padding so cart bar doesn't overlap submit */
  .checkout-page { padding-bottom: 6rem; }
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES (login / password reset)
══════════════════════════════════════════════════════════════ */
.auth-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.25rem 6rem;
  min-height: 60vh;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(40,39,36,0.07);
}
.auth-card__head {
  margin-bottom: 2rem;
  text-align: center;
}
.auth-card__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.auth-card__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.auth-card__sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   ALGEMENE VOORWAARDEN PAGE
══════════════════════════════════════════════════════════════ */
.av-hero {
  background: var(--forest);
  padding-bottom: 3rem;
}
.av-hero__inner {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
.av-hero__overline {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.av-hero__overline::before {
  content: ""; display: block;
  width: 20px; height: 1px;
  background: var(--gold-light); opacity: 0.5;
}
.av-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.av-hero__meta {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.4);
}

.av-body {
  background: var(--white);
  padding: 5rem 0 7rem;
}
.av-body__inner {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.av-section { }
.av-heading {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-lite);
}
.av-section p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.av-section p:last-child { margin-bottom: 0; }
.av-list {
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.av-list li {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}
.av-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════════════════
   FORM CHECKBOX (enrollment)
══════════════════════════════════════════════════════════════ */
.form-field--checkbox { margin-top: 0.5rem; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--forest);
  cursor: pointer;
  border-radius: 3px;
}
.form-checkbox-text {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.55;
}
.form-link {
  color: var(--terra);
  text-decoration: underline;
  text-decoration-color: rgba(184,92,56,0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--t);
}
.form-link:hover { text-decoration-color: var(--terra); }

/* ══════════════════════════════════════════════════════════════
   BREADCRUMBS
══════════════════════════════════════════════════════════════ */
.breadcrumbs {
  position: relative;
  z-index: 10;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-lite);
}
.breadcrumbs__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
}
.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.breadcrumbs__link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
  white-space: nowrap;
}
.breadcrumbs__link:hover { color: var(--terra); }
.breadcrumbs__current {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
.breadcrumbs__sep {
  display: flex;
  align-items: center;
  color: var(--border);
  margin: 0 2px;
}


/* ══════════════════════════════════════════════════════════════
   COURSE SHOW PAGE (cs-*)
══════════════════════════════════════════════════════════════ */

/* Hero */
.cs-hero {
  background: var(--forest);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}
.cs-hero__inner {
  max-width: var(--narrow);
  margin: 0 auto;
}
.cs-hero__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.cs-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.cs-hero__sub {
  font-size: 1.15rem;
  color: rgba(250,247,242,0.7);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cs-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.cs-hero__price {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.45);
  letter-spacing: 0.03em;
}
.btn--outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid rgba(250,247,242,0.35);
  color: var(--cream);
  background: transparent;
  transition: border-color var(--t), color var(--t);
  text-decoration: none;
}
.btn--outline-light:hover {
  border-color: rgba(250,247,242,0.7);
  color: var(--cream);
}

/* Section scaffolding */
.cs-section {
  padding: 5rem 1.5rem;
}
.cs-section--white  { background: var(--white); }
.cs-section--cream  { background: var(--cream); }
.cs-section--sand   { background: var(--sand); }
.cs-section--forest { background: var(--forest); }

.cs-container {
  max-width: var(--max);
  margin: 0 auto;
}
.cs-container--narrow {
  max-width: var(--narrow);
}

/* Labels + headings */
.cs-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cs-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--terra);
  opacity: 0.5;
}
.cs-label--light {
  color: var(--gold-light);
  opacity: 0.75;
}
.cs-label--light::before { background: var(--gold-light); }

.cs-heading {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 2.25rem;
}
.cs-heading--light { color: var(--cream); }

/* Prose */
.cs-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cs-prose p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
}
.cs-prose strong { color: var(--ink); font-weight: 600; }

/* Checklist (herken je dit) */
.cs-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-bottom: 2.5rem;
}
.cs-checklist__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
}
.cs-checklist__item--x {
  border-left: 3px solid var(--terra);
}
.cs-checklist__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--terra);
  font-weight: 700;
  margin-top: 1px;
}
.cs-closing-note {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-lite);
}

/* Quote + pillars (aanpak) */
.cs-quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding: 1rem 0 1rem 1.75rem;
  margin: 0 0 3rem;
  opacity: 0.9;
}
.cs-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  list-style: none;
}
.cs-pillars__item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.cs-pillars__num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
  min-width: 2rem;
}
.cs-pillars__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.cs-pillars__item p {
  font-size: 0.93rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.7;
  margin: 0;
}

/* Learns (wat je leert) */
.cs-learns {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.cs-learns__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-lite);
}
.cs-learns__item:first-child { border-top: 1px solid var(--border-lite); }
.cs-learns__check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}
.cs-learns__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.cs-learns__item p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* For whom */
.cs-forwho {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.cs-forwho__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}
.cs-forwho__list li {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}
.cs-forwho__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--terra);
  font-size: 0.85rem;
}
.cs-forwho__note {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border-lite);
  padding-top: 1.5rem;
}

/* Practical */
.cs-practical {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.cs-practical__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-lite);
}
.cs-practical__item:first-child { border-top: 1px solid var(--border-lite); }
.cs-practical__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
}
.cs-practical__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.cs-practical__item span {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Outcomes (resultaat) */
.cs-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cs-outcomes__item {
  background: rgba(250,247,242,0.07);
  border: 1px solid rgba(250,247,242,0.1);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cs-outcomes__icon {
  font-size: 1.5rem;
}
.cs-outcomes__item p {
  font-size: 1rem;
  color: rgba(250,247,242,0.75);
  line-height: 1.6;
  margin: 0;
}

/* Pricing CTA box */
.cs-cta-section {
  background: var(--cream);
  padding: 5rem 1.5rem;
}
.cs-cta-box {
  background: var(--forest);
  border-radius: 12px;
  padding: 3.5rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(26,46,37,0.18);
}
.cs-cta-box__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}
.cs-cta-box__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.cs-cta-box__price {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cs-cta-box__note {
  font-size: 0.82rem;
  color: rgba(250,247,242,0.45);
  margin-bottom: 2rem;
}
.cs-cta-box__btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  margin-bottom: 1.25rem;
}
.cs-cta-box__secure {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.35);
}

/* FAQ */
.cs-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-faq__item {
  border-bottom: 1px solid var(--border-lite);
}
.cs-faq__item:first-child { border-top: 1px solid var(--border-lite); }
.cs-faq__q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--t);
}
.cs-faq__q:hover { color: var(--terra); }
.cs-faq__q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform var(--t);
}
details[open] .cs-faq__q::after {
  transform: rotate(45deg);
}
.cs-faq__a {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 1.25rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .cs-hero { padding: 3.5rem 1.25rem 3rem; }
  .cs-section { padding: 3.5rem 1.25rem; }
  .cs-forwho { grid-template-columns: 1fr; gap: 1.25rem; }
  .cs-outcomes { grid-template-columns: 1fr; }
  .cs-cta-box { padding: 2.5rem 1.5rem; }
  .cs-cta-box__price { font-size: 2.25rem; }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN PANEL (adm-*)
══════════════════════════════════════════════════════════════ */
.admin-body {
  font-family: var(--sans);
  background: #F4F5F7;
  color: #1A1A2E;
  display: flex;
  min-height: 100vh;
  padding-top: 0;
  overflow-x: hidden;
}

/* Sidebar */
.adm-sidebar {
  width: 220px;
  min-width: 220px;
  background: #1A2332;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
}
.adm-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.adm-sidebar__logo {
  width: 32px; height: 32px;
  background: var(--gold);
  color: var(--forest);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-sidebar__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.adm-sidebar__nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-sidebar__footer {
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.adm-nav-link:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.adm-nav-link--active { background: rgba(255,255,255,0.08); color: #fff; }
.adm-nav-link--danger { color: rgba(220,80,80,0.7); }
.adm-nav-link--danger:hover { background: rgba(220,80,80,0.08); color: rgba(220,80,80,1); }

/* Main area */
.adm-main {
  margin-left: 220px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.adm-topbar {
  background: #fff;
  border-bottom: 1px solid #E8EAED;
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.adm-topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-topbar__right {
  display: flex;
  align-items: center;
}
.adm-topbar__user {
  font-size: 0.82rem;
  color: #6B7280;
}
.adm-content {
  padding: 2rem;
  flex: 1;
}

/* Flash */
.adm-flash {
  padding: 0.9rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.adm-flash--notice { background: #ECFDF5; color: #065F46; border-bottom: 2px solid #10B981; }
.adm-flash--alert  { background: #FEF2F2; color: #991B1B; border-bottom: 2px solid #EF4444; }

/* Page header */
.adm-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.adm-page-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111827;
}
.adm-page-header__actions { display:flex; gap:0.5rem; flex-wrap:wrap; align-items:center; }
.adm-page-header__filters {
  display: flex;
  gap: 6px;
}
.adm-back {
  font-size: 0.82rem;
  color: #6B7280;
  text-decoration: none;
}
.adm-back:hover { color: #111827; }

/* Cards */
.adm-card {
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  overflow: hidden;
}
.adm-card--section {
  margin-bottom: 1.5rem;
  overflow: visible;
}
.adm-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E8EAED;
}
.adm-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.adm-card__sub {
  font-size: 0.82rem;
  color: #6B7280;
  margin-top: 4px;
}

/* Stats */
.adm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.adm-stat {
  background: #fff;
  border: 1px solid #E8EAED;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}
.adm-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.adm-stat__label {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 6px;
  font-weight: 500;
}

/* Table */
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.adm-table thead th {
  background: #F9FAFB;
  padding: 0.65rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  border-bottom: 1px solid #E8EAED;
}
.adm-table tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
  vertical-align: middle;
}
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover td { background: #FAFAFA; }
.adm-table__muted { color: #9CA3AF !important; font-size: 0.8rem; }
.adm-table__slug  { font-size: 0.75rem; color: #9CA3AF; }
.adm-table__empty { text-align: center; color: #9CA3AF; padding: 2rem !important; }
.adm-table__actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; }

/* Badges */
.adm-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.adm-badge--active,
.adm-badge--published  { background: #ECFDF5; color: #065F46; }
.adm-badge--pending,
.adm-badge--draft      { background: #FEF3C7; color: #92400E; }
.adm-badge--danger,
.adm-badge--cancelled  { background: #FEF2F2; color: #991B1B; }
.adm-badge--soon       { background: #EFF6FF; color: #1D4ED8; }
.adm-badge--admin      { background: #EDE9FE; color: #5B21B6; }
.adm-badge--student    { background: #F0FDF4; color: #166534; }
.adm-badge--multi      { background: #FEF3C7; color: #92400E; font-size:0.68rem; padding:0.1rem 0.4rem; margin-left:0.3rem; }
.adm-table__row--multi td:first-child { border-left:3px solid #F59E0B; }

/* Buttons */
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.adm-btn--primary { background: #1A2332; color: #fff; }
.adm-btn--primary:hover { background: #111827; color: #fff; }
.adm-btn--outline { background: #fff; color: #374151; border-color: #D1D5DB; }
.adm-btn--outline:hover { background: #F9FAFB; }
.adm-btn--danger  { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.adm-btn--danger:hover { background: #FEE2E2; }
.adm-btn--sm { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

/* Tabs */
.adm-tabs {
  display: flex;
  gap: 2px;
  background: #E5E7EB;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.adm-tab {
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6B7280;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.adm-tab:hover { color: #111827; background: rgba(255,255,255,0.6); }
.adm-tab--active { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.adm-tab-panel--hidden { display: none; }

/* FAQ editor */
.faq-editor { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-editor__item { display: flex; gap: 0.5rem; align-items: flex-start; background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px; padding: 0.75rem; }
.faq-editor__fields { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.faq-editor__q { font-weight: 500; }
.faq-editor__a { resize: vertical; }
.faq-editor__remove { flex-shrink: 0; background: none; border: none; color: #9CA3AF; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0.1rem 0.3rem; border-radius: 4px; }
.faq-editor__remove:hover { background: #FEE2E2; color: #DC2626; }

/* Toolbar (tabs + search on one row) */
.adm-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.adm-toolbar .adm-tabs { margin-bottom:0; }
.adm-search-form { display:flex; }
.adm-input--search { min-width:220px; }
.adm-btn--xs { padding:0.2rem 0.55rem; font-size:0.75rem; }

/* Breadcrumb */
.adm-breadcrumb { font-size:0.8rem; color:#9CA3AF; margin-bottom:0.2rem; }
.adm-breadcrumb .adm-link { color:#9CA3AF; }

/* User detail layout */
.adm-user-layout { display:flex; flex-direction:column; gap:1.5rem; }
.adm-dl { display:grid; grid-template-columns:120px 1fr; gap:0.5rem 1rem; font-size:0.9rem; }
.adm-dl dt { color:#6B7280; font-weight:500; }
.adm-dl dd { margin:0; color:#111827; }
.adm-empty { color:#9CA3AF; font-size:0.9rem; margin:0; padding:0.75rem 0; }

.adm-filter-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  border: 1px solid #E8EAED;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}
.adm-filter-btn:hover { background: #F9FAFB; color: #111827; }
.adm-filter-btn--active { background: #1A2332; color: #fff; border-color: #1A2332; }

/* Forms */
.adm-form { padding: 1.5rem; }
.adm-settings-form { display: contents; }
.adm-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
}
.adm-field { display: flex; flex-direction: column; gap: 5px; }
.adm-field--full { grid-column: 1 / -1; }
.adm-field--checkbox { flex-direction: row; align-items: center; gap: 10px; grid-column: 1 / -1; }
.adm-label { font-size: 0.8rem; font-weight: 600; color: #374151; }
.adm-label--inline { font-weight: 400; }
.adm-hint { font-size: 0.75rem; color: #9CA3AF; }
.adm-input, .adm-textarea, .adm-select {
  padding: 0.55rem 0.85rem;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #111827;
  background: #fff;
  font-family: var(--sans);
  transition: border-color 0.15s;
  width: 100%;
}
.adm-input:focus, .adm-textarea:focus, .adm-select:focus {
  outline: none;
  border-color: #1A2332;
  box-shadow: 0 0 0 3px rgba(26,35,50,0.08);
}
.adm-input--mono { font-family: monospace; font-size: 0.82rem; letter-spacing: 0.02em; }
.adm-textarea { resize: vertical; min-height: 80px; }
.adm-select { cursor: pointer; }
.adm-select--sm { padding: 0.2rem 0.5rem; font-size: 0.78rem; }
.adm-checkbox { width: 16px; height: 16px; accent-color: #1A2332; cursor: pointer; }
.adm-input-group { display: flex; align-items: center; }
.adm-input-group__prefix {
  padding: 0.55rem 0.75rem;
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.875rem;
  color: #6B7280;
}
.adm-input-group .adm-input { border-radius: 0 6px 6px 0; }
.adm-form__errors {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #991B1B;
}
.adm-form__stripe-info {
  padding: 1rem 1.5rem;
  background: #F9FAFB;
  border-top: 1px solid #E8EAED;
}
.adm-stripe-ids {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  color: #6B7280;
  font-family: monospace;
  margin-top: 4px;
}
.adm-form__actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #E8EAED;
  background: #F9FAFB;
}
.adm-settings-tip {
  padding: 0.85rem 1.5rem;
  background: #EFF6FF;
  border-top: 1px solid #BFDBFE;
  font-size: 0.82rem;
  color: #1E40AF;
  margin-top: 1.5rem;
}

/* Settings specific */
.adm-settings-form .adm-form__actions {
  padding: 1.5rem 0;
  background: transparent;
  border-top: none;
}

/* Links */
.adm-link { font-size: 0.85rem; color: var(--terra); text-decoration: none; font-weight: 500; }
.adm-link:hover { text-decoration: underline; }

/* Alert box */
.adm-alert-box {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #92400E;
}
.adm-alert-box__link { color: #92400E; font-weight: 600; }

.adm-form__section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid #F3F4F6;
  margin-top: 0.25rem;
}
.adm-content-type-icon { font-size: 0.9rem; letter-spacing: 0; text-transform: none; }
.adm-form__section-title:first-child { border-top: none; }
.adm-hint-inline {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9CA3AF;
}
code { font-family: monospace; font-size: 0.82em; background: #F3F4F6; padding: 1px 5px; border-radius: 3px; }

/* ── ADMIN OVERLAY (mobile sidebar backdrop) ─── */
.adm-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 99;
}
.adm-overlay--visible { display: block; }

/* ── ADMIN HAMBURGER ─────────────────────────── */
.adm-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.adm-hamburger span {
  display: block;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: 0.2s;
}

@media (max-width: 900px) {
  .adm-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Sidebar slides in from left */
  .adm-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }
  .adm-sidebar--open {
    transform: translateX(0);
  }

  /* Main area takes full width */
  .adm-main { margin-left: 0; }

  /* Show hamburger button */
  .adm-hamburger { display: flex; }

  /* Topbar: tighter padding */
  .adm-topbar { padding: 0 1rem; }

  /* Topbar user email: truncate on small screens */
  .adm-topbar__user {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Content: tighter padding */
  .adm-content { padding: 1rem; }

  /* Page header row */
  .adm-page-header { flex-wrap: wrap; gap: 0.75rem; }

  /* Stats: 2 col */
  .adm-stats { grid-template-columns: 1fr 1fr; }

  /* Forms: single column */
  .adm-form__grid { grid-template-columns: 1fr; }

  /* Tables: horizontal scroll */
  .adm-card { overflow-x: auto; }

  /* Tabs: scrollable row */
  .adm-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .adm-tab { white-space: nowrap; }
}

@media (max-width: 480px) {
  .adm-stats { grid-template-columns: 1fr; }

  /* Table: stack actions */
  .adm-table__actions { flex-wrap: wrap; }

  /* Form actions: stack buttons */
  .adm-form__actions { flex-wrap: wrap; }
  .adm-form__actions .adm-btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}

/* ── ADMIN LOGIN ─────────────────────────────────────────────── */
.adm-login-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F172A;
  font-family: 'Inter', sans-serif;
}
.adm-login {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem 2rem;
  background: #1E293B;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.adm-login__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}
.adm-login__logo {
  width: 48px;
  height: 48px;
  background: #8B6F4E;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.adm-login__name {
  font-size: 1rem;
  font-weight: 600;
  color: #F1F5F9;
}
.adm-login__sub {
  font-size: 0.8rem;
  color: #64748B;
}
.adm-login__form .adm-field { margin-bottom: 1rem; }
.adm-login__form .adm-label { color: #94A3B8; font-size: 0.82rem; }
.adm-login__form .adm-input {
  background: #0F172A;
  border-color: #334155;
  color: #F1F5F9;
}
.adm-login__form .adm-input:focus {
  border-color: #8B6F4E;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,111,78,0.2);
}
.adm-login__form .adm-input::placeholder { color: #475569; }
.adm-login__remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.adm-label--inline { margin-bottom: 0; font-size: 0.82rem; color: #94A3B8; }
.adm-btn--full { width: 100%; justify-content: center; }
.adm-login__back {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
}
.adm-login__back .adm-link { color: #64748B; }
.adm-login__back .adm-link:hover { color: #8B6F4E; }

/* ═══════════════════════════════════════════════════════════════
   ADMIN LMS CURRICULUM
   ═══════════════════════════════════════════════════════════════ */
.adm-page-sub { font-size:0.82rem; color:#9CA3AF; margin-top:2px; }
.lms-curriculum { display:flex; flex-direction:column; gap:1rem; }
.lms-module {
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:10px;
  overflow:hidden;
}
.lms-module__header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.25rem;
  background:#FAFAFA;
  border-bottom:1px solid #E5E7EB;
  flex-wrap:wrap;
}
.lms-module__drag { display:flex; align-items:flex-start; gap:0.75rem; }
.lms-module__move { display:flex; flex-direction:column; gap:2px; padding-top:2px; }
.adm-move-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px; height:22px;
  background:#F3F4F6;
  border:1px solid #E5E7EB;
  border-radius:4px;
  font-size:0.75rem;
  color:#6B7280;
  text-decoration:none;
  line-height:1;
}
.adm-move-btn:hover { background:#E5E7EB; color:#111; }
.adm-move-btn--sm { width:18px; height:18px; font-size:0.65rem; }
.lms-module__label { font-size:0.72rem; text-transform:uppercase; letter-spacing:0.06em; color:#9CA3AF; }
.lms-module__title { font-size:1rem; font-weight:600; color:#111827; margin:2px 0; }
.lms-module__desc  { font-size:0.82rem; color:#6B7280; }
.lms-module__actions { display:flex; gap:0.4rem; align-items:center; flex-wrap:wrap; }

.lms-lessons { padding:0; }
.lms-lesson {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.65rem 1.25rem;
  border-bottom:1px solid #F3F4F6;
  gap:1rem;
  flex-wrap:wrap;
}
.lms-lesson:last-child { border-bottom:none; }
.lms-lesson__left  { display:flex; align-items:center; gap:0.6rem; flex:1; min-width:0; }
.lms-lesson__move  { display:flex; flex-direction:column; gap:2px; }
.lms-lesson__icon  { color:#9CA3AF; flex-shrink:0; }
.lms-lesson__title { font-size:0.875rem; font-weight:500; color:#374151; }
.lms-lesson__meta  { font-size:0.75rem; color:#9CA3AF; margin-left:0.4rem; }
.lms-lesson__actions { display:flex; gap:0.4rem; align-items:center; flex-shrink:0; }
.lms-lessons-empty { padding:1rem 1.25rem; color:#9CA3AF; font-size:0.85rem; }

.adm-textarea--tall { min-height:280px; }

/* ═══════════════════════════════════════════════════════════════
   STUDENT LMS PORTAL
   ═══════════════════════════════════════════════════════════════ */

/* My courses list */
.lms-portal { max-width:900px; margin:0 auto; padding:2.5rem 1.5rem; }
.lms-portal__header { margin-bottom:2rem; }
.lms-portal__title { font-size:1.75rem; font-weight:600; color:var(--forest); }
.lms-empty { text-align:center; padding:3rem; color:#6B7280; }
.lms-course-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.25rem; }
.lms-course-card {
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:12px;
  text-decoration:none;
  overflow:hidden;
  transition:box-shadow 0.2s, transform 0.2s;
}
.lms-course-card:hover { box-shadow:0 4px 20px rgba(0,0,0,0.08); transform:translateY(-2px); }
.lms-course-card__body { padding:1.5rem; flex:1; }
.lms-course-card__title { font-size:1.1rem; font-weight:600; color:var(--forest); margin-bottom:0.4rem; }
.lms-course-card__sub   { font-size:0.85rem; color:#6B7280; line-height:1.5; }
.lms-course-card__footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.75rem 1.5rem;
  background:#FAFAFA;
  border-top:1px solid #F3F4F6;
}
.lms-course-card__meta { font-size:0.75rem; color:#9CA3AF; }
.lms-course-card__cta  { font-size:0.82rem; font-weight:500; color:var(--terra); }
.lms-course-card__title-row { display:flex; align-items:flex-start; gap:0.5rem; margin-bottom:0.4rem; }
.lms-course-card__title-row .lms-course-card__title { margin-bottom:0; }
.lms-course-card__payments-badge { flex-shrink:0; font-size:0.68rem; font-weight:600; background:#FEF3C7; color:#92400E; border-radius:20px; padding:0.15rem 0.5rem; white-space:nowrap; margin-top:0.1rem; }
.lms-course-card__expiry { display:flex; align-items:center; gap:0.2rem; }
.lms-course-card__expiry--lifetime { color:#059669; }
.lms-course-card__expiry--urgent   { color:#DC2626; font-weight:500; }

/* LMS layout: sidebar + main */
body:not(.admin-body) .lms-layout {
  display:flex;
  min-height:100vh;
}

.lms-sidebar {
  width:280px;
  min-width:280px;
  background:#1A2332;
  color:#fff;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:68px;
  height:calc(100vh - 68px);
  overflow-y:auto;
  flex-shrink:0;
}
.lms-sidebar__course {
  padding:1.25rem 1rem;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.lms-back {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:0.78rem;
  color:rgba(255,255,255,0.45);
  text-decoration:none;
  margin-bottom:0.75rem;
}
.lms-back:hover { color:rgba(255,255,255,0.8); }
.lms-sidebar__title { font-size:0.9rem; font-weight:600; color:#fff; margin-bottom:0.75rem; line-height:1.35; }

/* Progress bar */
.lms-progress { margin-top:0.25rem; }
.lms-progress__bar {
  height:4px;
  background:rgba(255,255,255,0.12);
  border-radius:4px;
  overflow:hidden;
  margin-bottom:5px;
}
.lms-progress__fill {
  height:100%;
  background:#10B981;
  border-radius:4px;
  transition:width 0.4s ease;
}
.lms-progress__label { font-size:0.72rem; color:rgba(255,255,255,0.45); }

/* Sidebar nav */
.lms-sidebar__nav { flex:1; padding:0.75rem 0; overflow-y:auto; }
.lms-nav-module { margin-bottom:0.25rem; }
.lms-nav-module__title {
  font-size:0.68rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.35);
  padding:0.6rem 1rem 0.3rem;
}
.lms-nav-lesson {
  display:flex;
  align-items:center;
  gap:8px;
  padding:0.45rem 1rem;
  font-size:0.82rem;
  color:rgba(255,255,255,0.6);
  text-decoration:none;
  transition:background 0.15s, color 0.15s;
}
.lms-nav-lesson:hover { background:rgba(255,255,255,0.06); color:#fff; }
.lms-nav-lesson--active { background:rgba(255,255,255,0.1); color:#fff; font-weight:500; }
.lms-nav-lesson--done { color:rgba(255,255,255,0.45); }
.lms-nav-lesson__icon { flex-shrink:0; }
.lms-nav-lesson__title { flex:1; line-height:1.35; }
.lms-nav-lesson__dur { font-size:0.7rem; color:rgba(255,255,255,0.3); white-space:nowrap; }

/* Main content area */
.lms-main { flex:1; min-width:0; background:#F9FAFB; }

/* Course overview (welcome) */
.lms-welcome {
  background:#fff;
  border-bottom:1px solid #E5E7EB;
  padding:2.5rem 2.5rem 2rem;
}
.lms-welcome__title { font-size:1.75rem; font-weight:700; color:var(--forest); margin-bottom:0.4rem; }
.lms-welcome__sub   { color:#6B7280; font-size:1rem; margin-bottom:1.5rem; }
.lms-start-btn {
  display:inline-flex;
  align-items:center;
  padding:0.7rem 1.5rem;
  background:var(--terra);
  color:#fff;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  font-size:0.9rem;
  transition:opacity 0.15s;
}
.lms-start-btn:hover { opacity:0.9; }

/* Modules overview */
.lms-modules-overview { padding:2rem 2.5rem; display:flex; flex-direction:column; gap:1.5rem; }
.lms-module-overview {
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:10px;
  overflow:hidden;
}
.lms-module-overview__title {
  display:flex;
  align-items:center;
  gap:0.75rem;
  padding:1rem 1.25rem;
  font-size:1rem;
  font-weight:600;
  color:#111827;
  background:#FAFAFA;
  border-bottom:1px solid #E5E7EB;
}
.lms-module-overview__num {
  width:28px; height:28px;
  background:var(--terra);
  color:#fff;
  border-radius:50%;
  font-size:0.8rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.lms-module-overview__desc { padding:0.75rem 1.25rem; color:#6B7280; font-size:0.85rem; border-bottom:1px solid #F3F4F6; }
.lms-module-overview__lessons { list-style:none; padding:0; margin:0; }
.lms-module-overview__lessons li {
  border-bottom:1px solid #F9FAFB;
}
.lms-module-overview__lessons li:last-child { border-bottom:none; }
.lms-module-overview__lessons li a {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.65rem 1.25rem;
  color:#374151;
  text-decoration:none;
  font-size:0.875rem;
  transition:background 0.15s;
}
.lms-module-overview__lessons li a:hover { background:#F9FAFB; }
.lms-module-overview__lessons li.done a { color:#9CA3AF; }
.lms-module-overview__meta { font-size:0.75rem; color:#9CA3AF; }

/* Lesson viewer */
.lms-lesson-view { max-width:860px; margin:0 auto; }
.lms-video {
  position:relative;
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
}
.lms-video-converting {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:48px 24px;
  background:#111;
  border-radius:8px;
  color:#aaa;
  margin-bottom:24px;
  text-align:center;
}
.lms-video-converting p { margin:0; font-size:0.95rem; }
@keyframes lms-spin { to { transform:rotate(360deg); } }
.lms-video-converting__spinner { animation:lms-spin 1.2s linear infinite; color:#6c63ff; }
.lms-video iframe,
.lms-video video {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background:#000;
}
.lms-lesson-header {
  padding:1.75rem 2.5rem 1rem;
  border-bottom:1px solid #E5E7EB;
  background:#fff;
}
.lms-lesson-title { font-size:1.5rem; font-weight:700; color:var(--forest); margin-bottom:0.5rem; }
.lms-lesson-meta  { display:flex; align-items:center; gap:1rem; color:#9CA3AF; font-size:0.82rem; }
.lms-lesson-meta svg { vertical-align:middle; }
.lms-lesson-done  { color:#10B981; font-weight:500; }
.lms-lesson-content {
  padding:2rem 2.5rem;
  background:#fff;
  border-bottom:1px solid #E5E7EB;
  font-size:0.95rem;
  line-height:1.75;
  color:#374151;
}
.lms-lesson-content h3 { font-size:1.1rem; font-weight:600; color:#111827; margin:1.5rem 0 0.5rem; }
.lms-lesson-content ul { padding-left:1.5rem; margin:0.75rem 0; }
.lms-lesson-content li { margin-bottom:0.3rem; }

/* Lesson prev/next nav */
.lms-lesson-nav {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:1rem;
  align-items:center;
  padding:1.5rem 2.5rem;
  background:#fff;
  border-top:1px solid #E5E7EB;
}
.lms-lesson-nav__prev { justify-self:start; }
.lms-lesson-nav__next { justify-self:end; }
.lms-lesson-nav__complete { justify-self:center; }
.lms-nav-btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0.6rem 1rem;
  border:1px solid #E5E7EB;
  border-radius:8px;
  text-decoration:none;
  color:#374151;
  font-size:0.82rem;
  transition:background 0.15s;
  max-width:200px;
}
.lms-nav-btn:hover { background:#F9FAFB; }
.lms-nav-btn span { display:flex; flex-direction:column; }
.lms-nav-btn small { color:#9CA3AF; font-size:0.7rem; }
.lms-nav-btn strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:160px; display:block; }
.lms-complete-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.7rem 1.5rem;
  background:var(--terra);
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  font-size:0.875rem;
  cursor:pointer;
  text-decoration:none;
  transition:opacity 0.15s;
  white-space:nowrap;
}
.lms-complete-btn:hover { opacity:0.9; }

/* Responsive LMS */
@media (max-width: 768px) {
  body:not(.admin-body) .lms-layout { flex-direction:column; }
  .lms-sidebar {
    width:100%;
    min-width:unset;
    position:static;
    height:auto;
    max-height:50vh;
  }
  .lms-lesson-header,
  .lms-lesson-content,
  .lms-modules-overview,
  .lms-welcome { padding-left:1.25rem; padding-right:1.25rem; }
  .lms-lesson-nav { grid-template-columns:1fr 1fr; gap:0.75rem; padding:1rem 1.25rem; }
  .lms-lesson-nav__complete { grid-column:1/-1; order:-1; }
  .lms-complete-btn { width:100%; }
}

/* ── LMS admin layout ───────────────────────────────────────────── */
.lms-admin-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.5rem;
  align-items: start;
}
.lms-admin-main { min-width: 0; }
.lms-admin-side { position: sticky; top: 80px; }

/* Quick-add lesson row */
.lms-quick-add {
  padding: 0.5rem 1rem;
  background: #FAFAFA;
  border-top: 1px dashed #E5E7EB;
}
.lms-quick-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lms-quick-form--module {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
}
.lms-quick-input {
  flex: 1;
  padding: 0.4rem 0.65rem;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #374151;
  outline: none;
  background: #fff;
}
.lms-quick-input:focus { border-color: #8B6F4E; box-shadow: 0 0 0 2px rgba(139,111,78,0.15); }
.lms-quick-btn {
  padding: 0.4rem 0.85rem;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
}
.lms-quick-btn:hover { background: #E5E7EB; }
.lms-add-module { margin-top: 0.75rem; }

@media (max-width: 900px) {
  .lms-admin-layout { grid-template-columns: 1fr; }
  .lms-admin-side { position: static; }
}

/* ── Lesson files: admin form ──────────────────────────────── */
.adm-file-input {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: 1px dashed #D1D5DB;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #374151;
  cursor: pointer;
  background: #FAFAFA;
}
.adm-file-input:hover { border-color: #8B6F4E; background: #FDF8F4; }
.adm-file-input--hidden { display: none; }
.adm-file-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #065F46;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.adm-file-size { color: #9CA3AF; }
.adm-file-replace {
  margin-left: auto;
  color: #8B6F4E;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.78rem;
}
.adm-docs-list { margin-bottom: 0.75rem; display: flex; flex-direction: column; gap: 4px; }
.adm-doc-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #374151;
  padding: 4px 0;
}

/* ── Presentation PDF viewer ───────────────────────────────── */
.lms-presentation {
  margin: 0 0 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}
.lms-presentation__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1rem;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}
.lms-presentation__frame {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
  background: #fff;
}
@media (max-width: 640px) {
  .lms-presentation__frame { height: 360px; }
}

/* ── Slide presentation (PNG carousel) ─────────────────────── */
.lms-slides {
  margin: 0 0 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}
.lms-slides__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.lms-slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lms-slide--active { display: block; }
.lms-slides__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: #111;
  border-top: 1px solid #333;
}
.lms-slides__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #222;
  color: #ccc;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lms-slides__btn:hover:not(:disabled) { background: #333; color: #fff; }
.lms-slides__btn:disabled { opacity: 0.35; cursor: default; }
.lms-slides__counter { font-size: 0.82rem; color: #9CA3AF; min-width: 60px; text-align: center; }

/* ── Lesson files: student view ────────────────────────────── */
.lms-audio {
  background: #F0F9FF;
  border-bottom: 1px solid #E0F2FE;
  padding: 1.25rem 2.5rem;
}
.lms-audio__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0369A1;
  margin-bottom: 0.75rem;
}
.lms-audio__player {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  outline: none;
}
.lms-documents {
  padding: 1.5rem 2.5rem;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
}
.lms-documents__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
  margin-bottom: 0.75rem;
}
.lms-documents__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.lms-doc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  text-decoration: none;
  color: #374151;
  font-size: 0.875rem;
  transition: background 0.15s, border-color 0.15s;
}
.lms-doc-link:hover { background: #F9FAFB; border-color: #8B6F4E; color: #1A1A2E; }
.lms-doc-size { font-size: 0.75rem; color: #9CA3AF; }

@media (max-width: 768px) {
  .lms-audio, .lms-documents { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ── Email block fields in admin ─────────────────────────── */
.adm-email-block-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.adm-email-block-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.6;
}

/* ── Trix email editor ────────────────────────────────────── */
.adm-trix-wrap {
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  overflow: hidden;
}
.adm-trix trix-toolbar {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  padding: 6px 10px;
}
.adm-trix.trix-content {
  min-height: 320px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #282724;
  outline: none;
}
.adm-trix.trix-content:focus {
  box-shadow: inset 0 0 0 2px #2D6A4F22;
}

/* ── Admin inbox ──────────────────────────────────────────── */
.adm-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #DC2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  padding: 0 0.3rem;
  margin-left: auto;
}
.adm-badge--unread  { background: #EFF6FF; color: #1D4ED8; }
.adm-badge--replied { background: #ECFDF5; color: #065F46; font-size: 0.7rem; padding: 0.1rem 0.45rem; }
.adm-inbox-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563EB;
  margin-right: 0.4rem;
  flex-shrink: 0;
}
.adm-inbox-select-all-row {
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid #F3F4F6;
  background: #FAFAFA;
}
.adm-checkbox {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: #2D6A4F;
  flex-shrink: 0;
}
.adm-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  margin-bottom: 0.75rem;
}
.adm-bulk-toolbar__count {
  font-size: 0.85rem;
  color: #374151;
  font-weight: 500;
  margin-right: 0.25rem;
}
.adm-inbox-row {
  display: grid;
  grid-template-columns: 36px 1fr 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.1s;
  cursor: pointer;
  align-items: center;
}
.adm-inbox-row:last-child { border-bottom: none; }
.adm-inbox-row:hover { background: #F9FAFB; }
.adm-inbox-row--unread { background: #F0F7FF; }
.adm-inbox-row--unread:hover { background: #E8F1FB; }
.adm-inbox-row__check {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-inbox-row__from {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #111827;
}
.adm-inbox-row__subject {
  grid-column: 3;
  grid-row: 1;
  font-size: 0.9rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-inbox-row__preview {
  grid-column: 2 / 4;
  grid-row: 2;
  font-size: 0.8rem;
  color: #9CA3AF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-inbox-row__date {
  grid-column: 4;
  grid-row: 1;
  font-size: 0.78rem;
  color: #9CA3AF;
  white-space: nowrap;
}
.adm-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
}
.adm-pagination__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #374151;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.adm-pagination__btn:hover { background: #F9FAFB; border-color: #9CA3AF; }
.adm-pagination__btn--disabled { color: #D1D5DB; pointer-events: none; }
.adm-pagination__info { font-size: 0.82rem; color: #9CA3AF; }
@media (max-width: 640px) {
  .adm-inbox-row {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto auto;
  }
  .adm-inbox-row__subject { grid-column: 2; grid-row: 2; }
  .adm-inbox-row__preview { grid-column: 2 / 4; grid-row: 3; }
  .adm-inbox-row__date    { grid-column: 3; grid-row: 1; }
}

/* ============================================================
   WAITLIST — hero panel
   ============================================================ */
.cs-hero__waitlist-panel {
  margin-top: 2rem;
  background: rgba(250,247,242,0.07);
  border: 1px solid rgba(250,247,242,0.14);
  border-radius: 14px;
  padding: 1.5rem 1.75rem 1.25rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.cs-hero__waitlist-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.8;
  margin-bottom: 1rem;
}
.cs-hero__waitlist-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}
.cs-hero__waitlist-form { width: 100%; }
.cs-hero__waitlist-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cs-hero__waitlist-input {
  flex: 1 1 200px;
  max-width: 260px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(250,247,242,0.25);
  background: rgba(250,247,242,0.1);
  color: var(--cream);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.cs-hero__waitlist-input::placeholder { color: rgba(250,247,242,0.4); }
.cs-hero__waitlist-input:focus { border-color: var(--gold); }
.cs-hero__waitlist-note {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.35);
  margin-top: 0.65rem;
  text-align: center;
}

/* ============================================================
   WAITLIST — CTA box (course show, bottom)
   ============================================================ */
.cs-cta-box--waitlist { max-width: 520px; }
.cs-waitlist-form { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.cs-waitlist-input {
  width: 100%;
  max-width: 340px;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(250,247,242,0.2);
  background: rgba(250,247,242,0.08);
  color: var(--cream);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
}
.cs-waitlist-input::placeholder { color: rgba(250,247,242,0.4); }
.cs-waitlist-input:focus { border-color: var(--gold); background: rgba(250,247,242,0.12); }
.cs-waitlist-note {
  font-size: 0.75rem;
  color: rgba(250,247,242,0.35);
  text-align: center;
}

/* ============================================================
   WAITLIST — course card inline form
   ============================================================ */
.course-card__waitlist { margin-top: 1.1rem; }
.course-card__waitlist-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.course-card__waitlist-input {
  flex: 1 1 150px;
  padding: 0.6rem 0.85rem;
  border-radius: 7px;
  border: 1px solid rgba(250,247,242,0.18);
  background: rgba(250,247,242,0.07);
  color: var(--cream);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.course-card__waitlist-input::placeholder { color: rgba(250,247,242,0.35); }
.course-card__waitlist-input:focus {
  border-color: var(--gold);
  background: rgba(250,247,242,0.12);
}
.course-card__waitlist-btn {
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--forest);
  border: none;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.course-card__waitlist-btn:hover { opacity: 0.85; }
.course-card__waitlist-note {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.35);
  margin-top: 0.4rem;
}
.course-card__badge--link {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  opacity: 0.85;
}
.course-card__badge--link:hover { opacity: 1; text-decoration: underline; }
