/* ==========================================================================
   Africa Mindset Reset Forum — Registration system
   styles.css
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Official ASG palette: maroon #561217 · brown #884520 · amber #f8b735.
     The "navy-*" names are kept for compatibility but hold maroon/brown;
     "gold-*" holds amber + the brown button color. */
  --navy-900: #3c0c10;   /* darkest maroon (topbar/footer) */
  --navy-800: #561217;   /* maroon — primary dark surface */
  --navy-700: #6e2a1c;
  --navy-600: #884520;   /* brown */
  --navy-500: #9c5a2c;

  --red:       #a83218;   /* readable warm red for errors */
  --red-600:   #884520;   /* brown (brand stripe / media) */
  --red-500:   #b23a12;
  --red-700:   #561217;

  --gold:      #f8b735;   /* amber — bright accent */
  --gold-600:  #e3a51f;   /* darker amber (hover) */
  --gold-500:  #f8b735;
  --gold-700:  #884520;   /* brown — primary button background */
  --yellow:    #f8b735;

  --green:     #1E8E5A;
  --green-700: #1E7A4F;

  /* Neutrals (warm, tied to the maroon/brown family) */
  --ink:        #3a1216;
  --text:       #4f2a22;
  --text-soft:  #6e4a3c;
  --muted:      #7c5a4a;
  --muted-2:    #94705e;
  --faint:      #b09080;
  --line:       #efe2d6;
  --line-2:     #e4cdb8;
  --field-bg:   #fdf8f1;
  --page-bg:    #f7efe4;
  --white:      #fff;

  /* Category accents (from the 3 brand colors) */
  --cat-delegate-accent: #561217;
  --cat-delegate-bg: linear-gradient(155deg, #884520 0%, #561217 100%);
  --cat-delegate-tint: #f7e0d8;

  --cat-sponsor-accent: #884520;
  --cat-sponsor-bg: linear-gradient(155deg, #a85f28 0%, #884520 100%);
  --cat-sponsor-tint: #f4e2cf;

  --cat-media-accent: #9a6311;
  --cat-media-bg: linear-gradient(155deg, #f8b735 0%, #b5781a 100%);
  --cat-media-tint: #fdeecb;

  /* Type */
  --font-sans: 'Merriweather Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: 'Barlow', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radii & shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-card: 0 16px 40px -22px rgba(42, 12, 5, .40);
  --shadow-soft: 0 14px 40px -26px rgba(42, 12, 5, .36);

  --container: 1340px;
}

/* ----- Reset ------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
a { color: inherit; }

/* ----- Layout helpers ---------------------------------------------------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.main { flex: 1; }
.hidden { display: none !important; }

/* ----- Utility / top bar ------------------------------------------------- */
.topbar { background: var(--navy-900); color: #AFC0D8; font-size: 12.5px; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar__loc { display: flex; align-items: center; gap: 8px; }
.dot-trio { display: inline-flex; gap: 3px; }
.dot-trio span { width: 6px; height: 6px; border-radius: 50%; }
.dot-trio .d1 { background: var(--red); }
.dot-trio .d2 { background: var(--gold); }
.dot-trio .d3 { background: var(--yellow); }
.topbar__right { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar__sep { opacity: .4; }

/* ----- Header ------------------------------------------------------------ */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.brand__logo { height: 38px; width: auto; }
.brand__rule { width: 1px; height: 34px; background: #D8DEE8; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--navy-800); line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; color: #41526C; }

/* Brand stripe */
.brand-stripe { height: 5px; display: flex; }
.brand-stripe i { display: block; }
.brand-stripe .s1 { flex: 1.6; background: var(--navy-800); }
.brand-stripe .s2 { flex: 1; background: var(--red); }
.brand-stripe .s3 { flex: 1; background: var(--gold); }
.brand-stripe .s4 { flex: 1; background: var(--yellow); }

/* ----- Links & buttons --------------------------------------------------- */
.link { cursor: pointer; transition: color .15s ease, opacity .15s ease; background: none; border: none; padding: 0; font: inherit; color: inherit; }
.link:hover { opacity: .65; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy-800); color: var(--white);
  border: none; border-radius: var(--r-sm);
  padding: 11px 20px; font-size: 14px; font-weight: 700; cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 30px; font-size: 15px; border-radius: 9px; }
.btn--ghost { background: var(--white); color: var(--navy-800); border: 1.5px solid #CBD4E0; }
.btn--sm { padding: 7px 13px; font-size: 12.5px; border-radius: 7px; }
.btn--danger-outline { background: var(--white); color: var(--red); border: 1px solid #E8C9CC; }

/* ----- Intro band -------------------------------------------------------- */
.intro { background: var(--navy-800); color: var(--white); position: relative; overflow: hidden; }
.intro__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.intro__glow--gold { top: -90px; right: -40px; width: 380px; height: 380px;
  background: radial-gradient(circle at 35% 35%, rgba(232,162,28,.40), rgba(232,162,28,0) 68%); }
.intro__glow--red { bottom: -120px; left: 34%; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(192,33,42,.34), rgba(192,33,42,0) 70%); }
.intro .container { position: relative; padding-top: 44px; padding-bottom: 120px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.eyebrow .dot-trio span { width: 8px; height: 8px; }
.intro h1 { font-family: var(--font-serif); font-weight: 800; font-size: 46px; line-height: 1.08; margin: 0 0 14px; max-width: 880px; letter-spacing: -.015em; }
.intro h1 em { font-style: normal; color: var(--yellow); }
.intro p { margin: 0; font-size: 17.5px; line-height: 1.55; color: #C3D0E4; max-width: 640px; }

/* ----- Category cards ---------------------------------------------------- */
.cats { position: relative; z-index: 2; }
.cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -84px; }
.cat-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -22px rgba(11,34,64,.4); }
.cat-card__head { padding: 26px 26px 24px; color: var(--white); }
.cat-card__head svg { display: block; }
.cat-card__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; opacity: .92; }
.cat-card__title { font-family: var(--font-serif); font-weight: 700; font-size: 27px; margin: 4px 0 0; }
.cat-card__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card__blurb { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); flex: 1; }
.cat-card__cta { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; }
.cat-card__cta .arrow { font-size: 17px; }

/* category color variants */
.cat--delegate .cat-card__head { background: var(--cat-delegate-bg); }
.cat--delegate .cat-card__cta { color: var(--cat-delegate-accent); }
.cat--sponsor  .cat-card__head { background: var(--cat-sponsor-bg); }
.cat--sponsor  .cat-card__cta { color: var(--cat-sponsor-accent); }
.cat--media    .cat-card__head { background: var(--cat-media-bg); }
.cat--media    .cat-card__cta { color: var(--cat-media-accent); }

/* ----- Reassurance row --------------------------------------------------- */
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reassure__item { display: flex; gap: 14px; align-items: flex-start; }
.reassure__item .ico { color: var(--navy-600); flex: none; line-height: 1; }
.reassure__item h4 { font-weight: 700; font-size: 15px; color: var(--navy-800); margin: 0 0 3px; }
.reassure__item p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ----- VIP note ---------------------------------------------------------- */
.vipnote { border: 1px dashed #C9D3E0; border-radius: var(--r-md); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--field-bg); }
.vipnote__left { display: flex; align-items: center; gap: 14px; }
.vipnote__left .ico { color: var(--gold-700); flex: none; line-height: 1; }
.vipnote h4 { font-weight: 700; font-size: 15px; color: var(--navy-800); margin: 0; }
.vipnote p { font-size: 13.5px; color: var(--muted); margin: 0; }
.vipnote__cta { font-weight: 700; font-size: 14px; color: var(--navy-800); white-space: nowrap; }

/* ----- Sections / spacing ------------------------------------------------ */
.section { padding-top: 44px; padding-bottom: 8px; }
.section--pad { padding-top: 36px; padding-bottom: 64px; }

/* ----- Category detail --------------------------------------------------- */
.detail { padding-top: 30px; padding-bottom: 70px; }
.back-link { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.detail__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 22px; align-items: start; }
.detail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.detail__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 13px; }
.detail__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail h2 { font-family: var(--font-serif); font-weight: 700; font-size: 30px; margin: 2px 0 0; color: var(--navy-800); }
.detail__lede { font-size: 16px; line-height: 1.6; color: #465A75; max-width: 560px; margin: 0 0 28px; }
.eyebrow-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); margin-bottom: 14px; }
.includes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.includes__item { display: flex; gap: 12px; align-items: flex-start; }
.includes__check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; }
.includes__item span.txt { font-size: 15px; line-height: 1.5; color: var(--text); }
.detail__who { font-size: 15px; line-height: 1.6; color: var(--text-soft); max-width: 560px; margin: 0; }

.apply-card { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-soft); }
.apply-card__rule { height: 5px; border-radius: 3px; width: 46px; margin-bottom: 18px; }
.apply-card h3 { font-family: var(--font-serif); font-weight: 700; font-size: 21px; color: var(--navy-800); margin: 0 0 6px; }
.apply-card p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 20px; }
.apply-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.apply-steps__row { display: flex; gap: 12px; align-items: center; }
.apply-steps__num { flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.apply-steps__num--on { background: var(--navy-800); color: var(--white); }
.apply-steps__num--off { background: #E6EAF1; color: var(--navy-800); }
.apply-steps__row span.txt { font-size: 14px; color: var(--text); }
.apply-card__note { text-align: center; font-size: 12.5px; color: var(--faint); margin-top: 12px; }

/* ----- Form -------------------------------------------------------------- */
.form-wrap { max-width: 880px; margin: 0 auto; padding: 30px 28px 80px; }
.progress { margin: 20px 0 30px; }
.progress__top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.progress__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.progress__title { font-family: var(--font-serif); font-weight: 700; font-size: 25px; color: var(--navy-800); margin-top: 2px; }
.progress__count { font-size: 13px; font-weight: 700; color: var(--muted); }
.progress__track { height: 6px; border-radius: 4px; background: #E2E7EF; overflow: hidden; }
.progress__bar { height: 100%; background: var(--navy-800); border-radius: 4px; transition: width .35s ease; }

.fieldset { display: flex; flex-direction: column; gap: 18px; }
.fieldset--lg { gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-id { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 16px; }
.field label, .label { display: block; font-size: 13px; font-weight: 600; color: #33425C; margin-bottom: 7px; }
.req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 15px; color: var(--ink); background: var(--white);
}
.textarea { resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(11,34,64,.12); }
::placeholder { color: #9AA6B6; }
.error { color: var(--red); font-size: 12.5px; margin-top: 6px; }
.help-right { text-align: right; font-size: 12px; margin-top: 6px; }

/* phone group */
.phone { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; background: var(--white); }
.phone__code { border: none; border-right: 1px solid var(--line); padding: 13px 8px; font-size: 14px; color: var(--ink); background: var(--field-bg); flex: none; width: 96px; }
.phone__num { border: none; flex: 1; min-width: 0; padding: 13px 14px; font-size: 15px; color: var(--ink); background: var(--white); }
.phone__num:focus, .phone__code:focus { outline: none; }

/* photo uploader */
.photo-row { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: linear-gradient(100deg, #FFF6EC, #FBF1DC); border: 1px solid #F2DFB8; border-radius: 14px; }
.photo-thumb { width: 80px; height: 80px; border-radius: 50%; flex: none; }
.photo-thumb--img { border: 3px solid var(--white); box-shadow: 0 4px 14px -4px rgba(11,34,64,.35); background-size: cover; background-position: center; }
.photo-thumb--empty { background: var(--white); border: 2px dashed #E0A93E; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.photo-row__main { flex: 1; }
.photo-row__main h4 { font-weight: 700; font-size: 15px; color: var(--navy-800); margin: 0; }
.photo-row__hint { font-size: 13px; color: #8A6A2E; margin: 2px 0 11px; }
.photo-row__actions { display: flex; gap: 10px; align-items: center; }
.upload-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: var(--navy-800); color: var(--white); border-radius: var(--r-sm); padding: 9px 16px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.upload-btn input { display: none; }
.photo-remove { font-size: 13px; font-weight: 600; color: #9A5B12; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; cursor: pointer; font-size: 13.5px; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: #41526C; user-select: none; transition: all .15s ease; }
.chip.is-active { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }

/* consent */
.consent { background: var(--field-bg); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input[type=checkbox] { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy-800); flex: none; }
.consent span.txt { font-size: 14px; line-height: 1.5; color: var(--text); }

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }

/* ----- Confirmation ------------------------------------------------------ */
.confirm { max-width: 640px; margin: 0 auto; padding: 64px 28px 90px; text-align: center; }
.confirm__badge { width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.confirm__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.confirm h2 { font-family: var(--font-serif); font-weight: 700; font-size: 30px; color: var(--navy-800); margin: 0 0 14px; line-height: 1.2; }
.confirm__body { font-size: 16px; line-height: 1.6; color: var(--text-soft); margin: 0 auto 30px; max-width: 480px; }
.receipt { background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 24px; text-align: left; box-shadow: var(--shadow-soft); }
.receipt__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #EDF0F5; margin-bottom: 16px; }
.receipt__reflabel { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.receipt__ref { font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--navy-800); letter-spacing: .02em; }
.receipt__status { font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
.receipt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.receipt__grid .k { font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.receipt__grid .v { font-size: 14.5px; font-weight: 600; color: var(--text); }
.confirm__note { font-size: 13.5px; color: var(--muted-2); margin-top: 22px; line-height: 1.6; }

/* ----- VIP screen -------------------------------------------------------- */
.vip { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 110px); }
.vip__left { padding: 56px 6vw; display: flex; flex-direction: column; justify-content: center; background: var(--navy-800); color: var(--white); }
.vip__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.vip__left h2 { font-family: var(--font-serif); font-weight: 700; font-size: 34px; line-height: 1.18; margin: 0 0 14px; }
.vip__left p { font-size: 16px; line-height: 1.6; color: #B9C6DB; margin: 0 0 26px; max-width: 420px; }
.vip__perks { display: flex; flex-direction: column; gap: 14px; }
.vip__perk { display: flex; gap: 12px; align-items: center; }
.vip__perk .ico { color: var(--yellow); flex: none; display: inline-flex; }
.vip__perk span.txt { font-size: 14.5px; color: #D7E0EC; }
.vip__fine { margin-top: 34px; font-size: 12.5px; color: #7E90AB; }
.vip__right { padding: 48px 5vw; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.vip__form { max-width: 420px; width: 100%; margin: 0 auto; }
.vip__formhead { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.vip__fields { display: flex; flex-direction: column; gap: 16px; }
.vip__return { text-align: center; font-size: 13px; color: var(--faint); }

/* ----- Admin ------------------------------------------------------------- */
.admin { background: var(--page-bg); min-height: calc(100vh - 110px); }
.admin .container { padding-top: 30px; padding-bottom: 70px; }
.admin__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.admin__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.admin__head h2 { font-family: var(--font-serif); font-weight: 700; font-size: 28px; color: var(--navy-800); margin: 4px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.stat__label { font-size: 12.5px; color: var(--muted-2); margin-bottom: 4px; }
.stat__value { font-family: var(--font-serif); font-weight: 700; font-size: 30px; }
.stat__value--total { color: var(--navy-800); }
.stat__value--pending { color: var(--gold); }
.stat__value--approved { color: var(--green); }
.stat__value--flagged { color: var(--red); }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab { display: inline-flex; align-items: center; cursor: pointer; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: var(--r-sm); border: 1px solid #DCE2EB; background: var(--white); color: #41526C; }
.tab.is-active { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }

.table { background: var(--white); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: 0 14px 40px -30px rgba(11,34,64,.4); }
.table__head, .table__row { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.4fr 1fr 1.4fr; gap: 14px; align-items: center; }
.table__head { padding: 14px 22px; background: var(--field-bg); border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.table__head .right { text-align: right; }
.table__row { padding: 15px 22px; border-bottom: 1px solid #EDF0F5; transition: background .15s ease; }
.table__row:hover { background: #F6F8FB; }
.cell-applicant { min-width: 0; }
.cell-applicant .name { font-size: 14.5px; font-weight: 600; color: #1B2E49; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-applicant .email { font-size: 12.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-type { font-size: 13px; font-weight: 600; }
.cell-nat { font-size: 13.5px; color: #465A75; }
.cell-sector { font-size: 13px; color: #465A75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.badge--pending { background: #FBF1DC; color: #A9760A; }
.badge--approved { background: #E4F3EA; color: var(--green-700); }
.badge--flagged { background: #FBE5E6; color: var(--red); }
.cell-actions { display: flex; gap: 8px; justify-content: flex-end; }
.admin__legend { font-size: 12.5px; color: var(--faint); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.admin__legend .dot { color: var(--red); }

/* ----- Footer ------------------------------------------------------------ */
.footer { background: var(--navy-900); color: #9DB0CC; margin-top: auto; }
.footer__inner { position: relative; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.footer .container { position: relative; padding-top: 46px; padding-bottom: 46px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer__logo { height: 34px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 14px; }
.footer__name { font-family: var(--font-serif); font-size: 18px; color: var(--white); font-weight: 600; }
.footer__host { font-size: 13px; margin-top: 4px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #C3D0E4; text-decoration: none; transition: background .2s ease, color .2s ease; }
.social a:hover { background: rgba(255,255,255,.18); color: var(--white); }
.legal { display: flex; gap: 20px; font-size: 13px; font-weight: 600; }
.legal a { color: #C3D0E4; text-decoration: none; transition: opacity .15s ease; }
.legal a:hover { opacity: .65; }

/* ----- Screen transition ------------------------------------------------- */
.screen { animation: amrfFade .4s ease both; }
@keyframes amrfFade { from { transform: translateY(10px); } to { transform: translateY(0); } }
.pop { animation: amrfPop .5s ease both; }
@keyframes amrfPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .cats__grid { grid-template-columns: 1fr; margin-top: -60px; }
  .reassure { grid-template-columns: 1fr; }
  .detail__grid { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .vip { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .intro h1 { font-size: 34px; }
  .table__head { display: none; }
  .table__row { grid-template-columns: 1fr; gap: 6px; }
  .cell-actions { justify-content: flex-start; margin-top: 6px; }
}
@media (max-width: 560px) {
  .grid-2, .grid-id { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav .nav__link { display: none; }
}

/* ========================================================================
   Server-rendered additions (Africa Mindset Reset Forum)
   ======================================================================== */

/* No underlines anywhere on the public pages (they broke card/nav layouts) */
a { text-decoration: none; }
.nav a.nav__link { color: inherit; text-decoration: none; }
.legal a:hover, .confirm__note a, .consent a { text-decoration: underline; }

/* Two-step form: only the active step is shown */
.form-step { display: none; }
.form-step.is-active { display: block; }

/* Field-level error state on inputs */
.input.has-error, .select.has-error, .textarea.has-error,
.phone.has-error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,33,42,.10); }

/* Flash / inline alerts */
.alert { max-width: 880px; margin: 18px auto 0; padding: 13px 18px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; }
.alert--error { background: var(--cat-media-tint); color: var(--red-700); border: 1px solid #E7C7CA; }
.alert--success { background: #E4F3EA; color: var(--green-700); border: 1px solid #BBE3CC; }

/* Mobile menu toggle (hidden on desktop) */
.mobile-menu-toggle { display: none; }

/* Required-asterisk inside the form-field builder consents */
.consent .req { color: var(--red); }

/* Confirmation action button spacing */
.confirm .btn { text-decoration: none; }

/* Detail page apply button is a link */
.apply-card .btn { text-decoration: none; }

@media (max-width: 560px) {
  .grid-id { grid-template-columns: 1fr; }
}

/* ========================================================================
   Modern form pass + phone widget + logo size
   ======================================================================== */
.brand__logo { height: 46px; }

.form-wrap { max-width: 820px; }
.form-step .fieldset {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 50px -34px rgba(11, 34, 64, .5);
}

.input, .select, .textarea {
  border-radius: 10px;
  background: #FBFCFE;
  border: 1.5px solid #E2E7EF;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  background: #fff;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(20, 60, 114, .14);
}
.field label, .label { font-size: 13px; font-weight: 600; color: #2A3A52; }

/* Custom select chevron */
.select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2367768C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

.progress__bar { background: linear-gradient(90deg, var(--navy-600), var(--navy-800)); }
.btn--lg { border-radius: 11px; }
.photo-row { border-radius: 16px; }

/* intl-tel-input integration */
.iti { width: 100%; display: block; }
.iti input#asg-phone { width: 100%; }
.iti--separate-dial-code .iti__selected-flag {
  background-color: #F2F5F9; border-radius: 10px 0 0 10px;
}
.iti__country-list {
  border-radius: 10px; box-shadow: 0 14px 40px -16px rgba(11, 34, 64, .45);
  font-size: 14px; text-align: left;
}

/* ========================================================================
   Toast / popup notifications (flash messages)
   ======================================================================== */
.asg-toasts {
  position: fixed; top: 18px; right: 18px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 36px);
}
.asg-toast {
  display: flex; align-items: flex-start; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy-600);
  border-radius: 12px; padding: 13px 14px;
  box-shadow: 0 18px 44px -18px rgba(11, 34, 64, .5);
  font-size: 14px; color: var(--ink);
  transform: translateX(120%); opacity: 0;
  transition: transform .34s cubic-bezier(.16, 1, .3, 1), opacity .34s ease;
}
.asg-toast.is-in { transform: translateX(0); opacity: 1; }
.asg-toast.is-out { transform: translateX(120%); opacity: 0; }
.asg-toast--success { border-left-color: var(--green); }
.asg-toast--error { border-left-color: var(--red); }
.asg-toast__icon { flex: none; display: inline-flex; margin-top: 1px; }
.asg-toast--success .asg-toast__icon { color: var(--green); }
.asg-toast--error .asg-toast__icon { color: var(--red); }
.asg-toast__msg { flex: 1; line-height: 1.45; font-weight: 500; }
.asg-toast__close { flex: none; background: none; border: 0; color: var(--faint); font-size: 19px; line-height: 1; cursor: pointer; padding: 0 2px; }
.asg-toast__close:hover { color: var(--ink); }
@media (max-width: 480px) { .asg-toasts { left: 12px; right: 12px; width: auto; } }

/* ========================================================================
   Compact form — denser grid, less scrolling
   ======================================================================== */
.form-wrap { max-width: 1180px; }
.form-step .fieldset { padding: 26px 28px; gap: 13px; }
.fieldset--lg { gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-sal { display: grid; grid-template-columns: 0.55fr 1fr 1fr; gap: 16px; }
.grid-bio { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: stretch; }
.grid-bio .bio-left { display: flex; flex-direction: column; }
.grid-bio .photo-row { height: 100%; }
.bio-brief { flex: 1; display: flex; flex-direction: column; }
.bio-brief .textarea { flex: 1; min-height: 178px; resize: vertical; }
.photo-row--col { flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 14px; }
.photo-row--col .photo-row__actions { justify-content: center; }
.form-step .input, .form-step .select, .form-step .textarea { padding: 11px 13px; }
.form-wrap .field label { margin-bottom: 5px; }
.form-step .textarea { line-height: 1.4; }
@media (max-width: 760px) { .grid-3, .grid-sal { grid-template-columns: 1fr 1fr; } .grid-bio { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-sal { grid-template-columns: 1fr; } }

/* ========================================================================
   Profile photo dropzone (mandatory)
   ======================================================================== */
.photo-field { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.photo-drop {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 196px; padding: 22px; text-align: center; cursor: pointer;
  border: 2px dashed #DCC489; border-radius: 16px;
  background: linear-gradient(160deg, #FFFDF8 0%, #FBF1DC 100%);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.photo-drop:hover { border-color: var(--gold-700); box-shadow: 0 14px 30px -20px rgba(182, 115, 13, .55); }
.photo-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-drop.is-dragover { border-color: var(--navy-600); background: #EEF3FA; transform: translateY(-1px); }
.photo-drop.has-error { border-color: var(--red); background: #FDF3F3; }
.photo-drop__preview {
  width: 104px; height: 104px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fff center/cover no-repeat; border: 2px dashed #E0A93E; color: var(--gold);
  transition: border .18s ease, box-shadow .18s ease;
}
.photo-drop.is-filled { border-style: solid; border-color: var(--green); background: #F3FAF5; }
.photo-drop.is-filled .photo-drop__preview { border: 3px solid #fff; box-shadow: 0 8px 20px -6px rgba(11, 34, 64, .45); color: transparent; }
.photo-drop__text { display: flex; flex-direction: column; gap: 4px; }
.photo-drop__title { font-weight: 700; font-size: 15px; color: var(--navy-800); }
.photo-drop.is-filled .photo-drop__title { color: var(--green-700); }
.photo-drop__hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.photo-drop__file { font-size: 12.5px; color: var(--green-700); font-weight: 600; word-break: break-all; }
.photo-remove { align-self: center; background: none; border: 0; color: var(--red); font-size: 13px; font-weight: 600; cursor: pointer; padding: 2px 4px; }
.photo-remove:hover { text-decoration: underline; }

/* ========================================================================
   ASG warm-brand component tweaks (Africa Mindset Reset Forum)
   Primary action = brown (#884520); dark surfaces = maroon (#561217)
   ======================================================================== */
.btn { background: var(--gold-700); color: #fff; }
.btn:hover { background: #a84d00; }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: #e0cdb8; }
.btn--ghost:hover { background: #fff7ef; }
.btn--danger-outline { color: var(--red); border-color: #e8c9a7; }

/* primary action accents */
.cat-card__cta .arrow { color: inherit; }
.progress__bar { background: linear-gradient(90deg, var(--gold), var(--gold-700)); }
.chip.is-active { border-color: var(--gold-700); background: var(--gold-700); color: #fff; }
.upload-btn { background: var(--gold-700); }

/* focus rings in the brand orange */
.input:focus, .select:focus, .textarea:focus,
.form-step .input:focus, .form-step .select:focus, .form-step .textarea:focus {
  border-color: var(--gold-700);
  box-shadow: 0 0 0 3px rgba(136, 69, 32, .16);
}

/* photo dropzone in warm tones */
.photo-drop { border-color: #e3c79f; background: linear-gradient(160deg, #fffaf3 0%, #fdeccc 100%); }
.photo-drop:hover { border-color: var(--gold-700); box-shadow: 0 14px 30px -20px rgba(136,69,32,.5); }
.photo-drop__preview { border-color: var(--gold); color: var(--gold-600); }

/* Warm the remaining cool grays from the base prototype */
.topbar { color: #d9c4ad; }
.intro p { color: #ead9c6; }
.intro__glow--gold { background: radial-gradient(circle at 35% 35%, rgba(248,183,53,.42), rgba(248,183,53,0) 68%); }
.intro__glow--red  { background: radial-gradient(circle, rgba(136,69,32,.34), rgba(136,69,32,0) 70%); }
.nav { color: #5b4636; }
.cat-card:hover { box-shadow: 0 22px 48px -22px rgba(42,12,5,.40); }
.footer { color: #cbb59c; }
.footer__host { color: #cbb59c; }
.social a { background: rgba(255,255,255,.08); color: #e7d6c4; }
.social a:hover { background: rgba(255,255,255,.18); color: #fff; }
.legal a { color: #e7d6c4; }
.vip__left p { color: #e8d6c2; }
.vip__perk span.txt { color: #ecdccb; }
.vip__eyebrow { color: var(--yellow); }

/* ========================================================================
   OFFICIAL ASG palette — authoritative component colors (last wins)
   maroon #561217 (dark) · brown #884520 (buttons) · amber #f8b735 (accent)
   ======================================================================== */
.btn { background: #884520; color: #fff; }
.btn:hover { background: #6f3519; }
.btn--ghost { background: #fff; color: #561217; border-color: #e4cdb8; }
.btn--ghost:hover { background: #fdf6ee; }
.upload-btn { background: #884520; color: #fff; }

.chip.is-active { background: #f8b735; color: #561217; border-color: #f8b735; }
.progress__bar { background: linear-gradient(90deg, #f8b735, #884520); }

.input:focus, .select:focus, .textarea:focus,
.form-step .input:focus, .form-step .select:focus, .form-step .textarea:focus {
  border-color: #884520; box-shadow: 0 0 0 3px rgba(136, 69, 32, .16);
}

.photo-drop { border-color: #e3c79f; background: linear-gradient(160deg, #fffaf2 0%, #fdeecb 100%); }
.photo-drop:hover { border-color: #884520; box-shadow: 0 14px 30px -20px rgba(136, 69, 32, .5); }
.photo-drop.is-filled { border-color: var(--green); }
.photo-drop__preview { border-color: #f8b735; color: #b5781a; }

/* warm text on dark surfaces */
.topbar { color: #e7cdaa; }
.intro p { color: #f0ddc6; }
.vip__left p { color: #f0ddc6; }
.footer, .footer__host { color: #d8bfa3; }
.social a { color: #f0ddc6; }
.legal a { color: #f0ddc6; }

/* ========================================================================
   Hotels / accommodation page
   ======================================================================== */
.hotels-wrap { padding-top: 44px; padding-bottom: 70px; }
.hotels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hotel-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 22px 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -24px rgba(42,12,5,.4); }
.hotel-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hotel-card__stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.hotel-card__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; background: var(--navy-600); padding: 3px 9px; border-radius: 999px; }
.hotel-card__name { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--navy-800); margin: 0 0 4px; }
.hotel-card__meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.hotel-card__desc { font-size: 14px; line-height: 1.55; color: var(--text-soft); flex: 1; margin: 0 0 16px; }
.hotel-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid #efe2d6; padding-top: 14px; }
.hotel-card__price { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.hotel-card__link { font-size: 13.5px; font-weight: 700; color: var(--gold-700); white-space: nowrap; }
.hotels-note { margin-top: 28px; padding: 18px 22px; background: var(--field-bg); border: 1px dashed var(--line-2);
  border-radius: var(--r-md); font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }

/* Hotel recommendations on the confirmation page */
.hotel-recs { max-width: 640px; margin: 30px auto 0; text-align: left; }
.hotel-recs__title { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--navy-800); margin: 0 0 4px; }
.hotel-recs__sub { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.hotel-recs__list { display: flex; flex-direction: column; gap: 8px; }
.hotel-rec { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; }
.hotel-rec__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.hotel-rec__meta { font-size: 12px; color: var(--muted); }
.hotel-rec__link { font-size: 13px; font-weight: 700; color: var(--gold-700); white-space: nowrap; }
@media (max-width: 900px) { .hotels-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hotels-grid { grid-template-columns: 1fr; } .hotel-rec { flex-wrap: wrap; } }

/* Hotel card photo header (real photo if dropped in /assets/images/hotels, else branded placeholder) */
.hotel-card { padding: 0; overflow: hidden; }
.hotel-card__photo { position: relative; height: 152px; background: #ead9c6 center/cover no-repeat;
  display: flex; align-items: flex-end; padding: 10px 12px; }
.hotel-card__photo--ph { background: linear-gradient(135deg, #884520 0%, #561217 100%); }
.hotel-card__photo-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,.65); }
.hotel-card__photostars { position: relative; z-index: 1; color: #f8b735; font-size: 12.5px; letter-spacing: 1px;
  background: rgba(42,12,5,.45); padding: 3px 9px; border-radius: 999px; }
.hotel-card__photo .hotel-card__tag { position: absolute; top: 10px; right: 10px; }
.hotel-card__body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.hotel-card__body .hotel-card__name { margin-top: 0; }

/* ========================================================================
   Group registration
   ======================================================================== */
.group-section-title { font-family: var(--font-serif); font-weight: 700; font-size: 17px; color: var(--navy-800); margin: 0 0 4px; }
.del-row { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: #fffdfa;
  display: flex; flex-direction: column; gap: 12px; }
.del-row__head { display: flex; align-items: center; justify-content: space-between; }
.del-row__n { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-700); }
.del-summary { display: flex; flex-direction: column; }
.del-summary__row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 2px; border-bottom: 1px solid #efe2d6; }
.del-summary__row:last-child { border-bottom: 0; }
.del-summary__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.del-summary__meta { font-size: 12.5px; color: var(--muted); }
