/*
 * MOTN 2026 "Together in Wonder" – public registration pages
 * (landing, Event / Build / Vehicle forms, success pages).
 *
 * Follows motn.ae 2026: the dreamy sky artwork on top, white pages below,
 * deep navy type and pill buttons, soft pastel panels (aqua, butter, blush)
 * and the per-venue colours (Abu Dhabi sky, Al Dhafra coral, Al Ain teal).
 * The one bold element is the hero artwork; everything under it stays calm.
 */
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('../fonts/motn2026/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('../fonts/motn2026/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('../fonts/motn2026/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('../fonts/motn2026/nunito-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('../fonts/motn2026/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 900; font-display: swap; src: url('../fonts/motn2026/montserrat-latin-900-normal.woff2') format('woff2'); }

:root {
  --navy: #2B2D7C;         /* headings, buttons, chosen things */
  --navy-hover: #1F2163;
  --ink: #23255F;          /* body text */
  --ink-2: #5D6088;        /* secondary text */
  --sky: #7CCBE8;          /* Abu Dhabi */
  --coral: #E8807A;        /* Al Dhafra */
  --teal: #10B0A6;         /* Al Ain */
  --aqua: #BFE2E1;         /* soft panels */
  --butter: #F4EAA9;
  --blush: #F6D6D1;
  --blue: #3F6FD8;         /* links, focus */
  --wash: #F3F5FB;         /* field fill */
  --line: #DDE1EF;
  --ok: #128A62;
  --ok-wash: #E6F6F0;
  --danger: #C62D3A;
  --danger-wash: #FDECEE;
  --shadow: 0 18px 50px -18px rgba(35, 37, 95, .35), 0 2px 6px rgba(35, 37, 95, .06);
  --r-card: 28px;
  --r-field: 14px;
  --display: 'Montserrat', 'Nunito', system-ui, sans-serif;
  --text: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.rw-page {
  margin: 0; min-height: 100vh; font-family: var(--text); font-weight: 600;
  font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff;
}
.rw-page a { color: var(--blue); }

/* ------------------------------------------------------------- the sky banner */
.rw-hero { /* short banner: the whole logo, then straight to the content */
  position: relative; height: clamp(150px, 18vw, 250px); overflow: hidden;
  background: linear-gradient(to bottom, #1D47BD 0%, #2F63C9 55%, #5B93DD 100%);
}
.rw-hero::before { /* the artwork; its sky is extended so it fills any screen width */
  content: ''; position: absolute; inset: 0;
  background: url('../images/motn_2026/hero-wide.webp') center top / auto 100% no-repeat;
}
.rw-hero::after { /* soft edge into the page */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.9));
}
.rw-hero-nav { position: absolute; z-index: 2; top: 0; left: 0; right: 0; max-width: 1120px; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.rw-pill-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  background: rgba(43, 45, 124, .82); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 14px;
  backdrop-filter: blur(4px);
}
.rw-pill-link:hover { background: var(--navy); }
.rw-pill-link svg { width: 16px; height: 16px; }

.rw-wrap { position: relative; z-index: 3; max-width: 780px; margin: 18px auto 0; padding: 0 16px 40px; }

/* ------------------------------------------------------------- the form card */
.rw-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); position: relative; }
.rw-head { padding: 30px 34px 20px; border-bottom: 1px solid var(--line); }
.rw-head h1 { margin: 0; font: 900 30px/1.12 var(--display); letter-spacing: -.02em; color: var(--navy); }
.rw-head .rw-sub { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.rw-head .rw-sub a { font-weight: 800; }

/* stepper: the steps are a real sequence, so they are numbered */
.rw-stepper { display: flex; margin: 22px 0 0; padding: 0; list-style: none; }
.rw-stepper li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.rw-stepper li::before { content: ''; position: absolute; top: 18px; left: -50%; right: 50%; height: 4px; border-radius: 4px; background: var(--line); z-index: 0; }
.rw-stepper li:first-child::before { display: none; }
.rw-stepper li.is-done::before, .rw-stepper li.is-current::before { background: var(--navy); }
.rw-stepper button {
  position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; color: var(--ink-2); font: 900 15px/1 var(--text); display: grid; place-items: center; cursor: default; padding: 0;
}
.rw-stepper li.is-done button { background: var(--navy); border-color: var(--navy); color: #fff; cursor: pointer; }
.rw-stepper li.is-current button { background: var(--butter); border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 5px rgba(244, 234, 169, .55); }
.rw-stepper span { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 2px; }
.rw-stepper li.is-current span { color: var(--navy); font-weight: 900; }
.rw-stepper svg { width: 16px; height: 16px; }
.rw-progress-text { display: none; margin: 12px 0 0; font-size: 14px; font-weight: 800; color: var(--ink-2); }

/* ------------------------------------------------------------- steps */
.rw-body { padding: 28px 34px 8px; }
.rw-step { display: none; }
.rw-step.is-active { display: block; animation: rw-in .28s ease-out; }
@keyframes rw-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.rw-step.is-back.is-active { animation-name: rw-in-back; }
@keyframes rw-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rw-step.is-active { animation: none; } }

.rw-step h2:focus { outline: none; }
.rw-step h2 { margin: 0 0 6px; font: 800 23px/1.2 var(--display); letter-spacing: -.01em; color: var(--navy); }
.rw-step .rw-lead { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.rw-step h3 { margin: 28px 0 12px; font: 800 17px/1.3 var(--text); color: var(--navy); }

.rw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rw-grid .rw-span { grid-column: 1 / -1; }
@media (max-width: 640px) { .rw-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- fields */
.rw-field { min-width: 0; }
.rw-field > label, .rw-label { display: block; margin: 0 0 6px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.rw-field .rw-help { display: block; margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.rw-page .form-control, .rw-page .form-select {
  height: 52px; padding: 10px 16px; font: 700 16px var(--text); color: var(--ink);
  background-color: var(--wash); border: 2px solid transparent; border-radius: var(--r-field);
  box-shadow: none; transition: border-color .15s, background-color .15s;
}
.rw-page .form-select { padding-right: 42px; background-position: right 16px center; }
.rw-page .form-control::placeholder { color: #A0A3BF; font-weight: 600; }
.rw-page .form-control:hover, .rw-page .form-select:hover { border-color: var(--line); }
.rw-page .form-control:focus, .rw-page .form-select:focus {
  background-color: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(124, 203, 232, .45); outline: none;
}
.rw-page .form-control.is-invalid { border-color: var(--danger); background-image: none; }
.rw-field.rw-invalid .form-control, .rw-field.rw-invalid .form-select,
.rw-field.rw-invalid .select2-selection { border-color: var(--danger) !important; background-color: var(--danger-wash) !important; }
.rw-msg { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--danger); }
.rw-msg::before { content: '!'; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; margin-top: 1px; }

/* the old inline error spans ("Expired", "Select any one") keep working, restyled */
.rw-page .id-expiry-date-is-not-valid, .rw-page .locations-not-valid, .rw-page .build-locations-not-valid,
.rw-page .cardtype-options-no-location, .rw-page #country-error {
  display: block; margin-top: 6px; margin-left: 0 !important; font-size: 14px; font-weight: 700; color: var(--danger) !important;
}
.rw-page .id-expiry-date-is-not-valid.d-none, .rw-page .locations-not-valid.d-none, .rw-page .build-locations-not-valid.d-none,
.rw-page .cardtype-options-no-location.d-none, .rw-page #country-error.d-none { display: none !important; }
.rw-page .locations-not-valid, .rw-page .build-locations-not-valid { display: none !important; }  /* the wizard says it itself */

/* filled from the ID (id-assist.js adds .ai-filled) */
.rw-page .form-control.ai-filled { background-color: var(--ok-wash) !important; border-color: #8FD3B8 !important; }

/* select2 (nationality) looks like the other fields */
.rw-page .select2-container--bootstrap-5 .select2-selection {
  min-height: 52px; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--r-field);
  background-color: var(--wash); font: 700 16px var(--text);
}
.rw-page .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.rw-page .select2-container--bootstrap-5.select2-container--open .select2-selection { border-color: var(--navy); background-color: #fff; box-shadow: 0 0 0 4px rgba(124, 203, 232, .45); }
.rw-page .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered { color: var(--ink); padding: 0; line-height: 1.5; }
.rw-page .select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder { color: #A0A3BF; }
.rw-page .select2-container--bootstrap-5 .select2-dropdown { border: 2px solid var(--navy); border-radius: 14px; font-family: var(--text); font-weight: 700; overflow: hidden; }
.rw-page .select2-container--bootstrap-5 .select2-dropdown .select2-results__option--highlighted { background: var(--navy); color: #fff; }
.rw-page .select2-container.ai-filled .select2-selection { background-color: var(--ok-wash) !important; border-color: #8FD3B8 !important; }

/* ------------------------------------------------------------- choice cards (ID type, event pass yes/no) */
.rw-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rw-choice {
  position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 18px; margin: 0;
  border: 2px solid var(--line); border-radius: 20px; background: #fff; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); transition: border-color .15s, background-color .15s;
}
.rw-choice:hover { border-color: #B9BED8; }
.rw-choice .rw-choice-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--navy); }
.rw-choice .rw-choice-icon svg { width: 26px; height: 26px; }
.rw-choice b { display: block; font-size: 17px; font-weight: 900; color: var(--navy); }
.rw-choice small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.rw-choice.is-on, .rw-choice:has(input:checked) { border-color: var(--navy); background: #F0F8FB; }
.rw-choice.is-on .rw-choice-icon, .rw-choice:has(input:checked) .rw-choice-icon { background: var(--navy); color: #fff; }
.rw-choice input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rw-choice:focus-visible, .rw-choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 480px) { .rw-choices { grid-template-columns: 1fr; } }

/* location chips (the real checkboxes stay inside: existing scripts use them) */
.rw-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rw-chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 11px 18px 11px 12px;
  border: 2px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--ink);
  transition: border-color .15s, background-color .15s, color .15s;
}
.rw-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rw-chip .rw-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; background: #fff; }
.rw-chip .rw-tick svg { width: 13px; height: 13px; opacity: 0; color: var(--navy); }
.rw-chip:hover { border-color: #B9BED8; }
.rw-chip:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.rw-chip:has(input:checked) .rw-tick { background: #fff; border-color: #fff; }
.rw-chip:has(input:checked) .rw-tick svg { opacity: 1; }
.rw-chip:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ------------------------------------------------------------- uploads */
.rw-upload { position: relative; }
.rw-drop {
  height: 150px; border: 2px dashed #B6C3E6; border-radius: 20px; background: var(--wash);
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; transition: border-color .15s, background-color .15s; overflow: hidden;
}
.rw-upload input[type=file] { position: absolute; top: 0; left: 0; width: 100%; height: 150px; opacity: 0; cursor: pointer; z-index: 2; }
.rw-upload:hover .rw-drop { border-color: var(--navy); background: #EEF6FB; }
.rw-upload:has(input[type=file]:focus-visible) .rw-drop { outline: 3px solid var(--blue); outline-offset: 2px; }
.rw-drop-icon { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--aqua); color: var(--navy); display: grid; place-items: center; }
.rw-drop-icon svg { width: 28px; height: 28px; }
.rw-drop-text { min-width: 0; }
.rw-drop-text b { display: block; font-size: 16.5px; font-weight: 900; color: var(--navy); }
.rw-drop-text small { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.rw-drop-text .rw-drop-name { display: none; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--ok); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-drop-thumb { display: none; flex: none; width: 112px; height: 112px; object-fit: cover; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px -6px rgba(35,37,95,.4); }
.rw-drop-pdf { display: none; flex: none; width: 86px; height: 112px; border-radius: 14px; background: #fff; color: var(--danger); font-weight: 900; place-items: center; font-size: 18px; box-shadow: 0 4px 14px -6px rgba(35,37,95,.4); }
.rw-upload.has-file .rw-drop { border-style: solid; border-color: #8FD3B8; background: var(--ok-wash); }
.rw-upload.has-file .rw-drop-icon { display: none; }
.rw-upload.has-file .rw-drop-thumb { display: block; }
.rw-upload.has-file.is-pdf .rw-drop-thumb { display: none; }
.rw-upload.has-file.is-pdf .rw-drop-pdf { display: grid; }
.rw-upload.has-file .rw-drop-name { display: block; }
.rw-upload.rw-invalid .rw-drop { border-color: var(--danger); background: var(--danger-wash); }
.rw-upload .text-mute { display: none; }

/* the badge photo: portrait preview */
.rw-photo-layout { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: start; }
.rw-photo-frame { width: 200px; aspect-ratio: 4 / 5; border-radius: 22px; border: 3px solid #fff; background: var(--butter); box-shadow: var(--shadow); overflow: hidden; display: grid; place-items: center; color: var(--ink-2); text-align: center; font-size: 14px; font-weight: 700; padding: 14px; }
.rw-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rw-photo-frame.has-photo { padding: 0; }
.rw-tips { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.rw-tips li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.rw-tips svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
@media (max-width: 640px) {
  .rw-photo-layout { grid-template-columns: 1fr; }
  .rw-photo-frame { width: 160px; margin: 0 auto; grid-row: 1; }
}

/* messages from the ID reader / photo check (id-assist.js) */
.rw-page .ai-box { margin-top: 12px; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.45; background: var(--wash); color: var(--ink); border: 0; }
.rw-page .ai-box.ok { background: var(--ok-wash); color: #0E6B4C; }
.rw-page .ai-box.warn { background: #FFF6D8; color: #6E4F00; }
.rw-page .ai-box.err { background: var(--danger-wash); color: var(--danger); }
.rw-page .ai-box button { background: var(--navy); border-radius: 999px; padding: 8px 16px; font: 800 14px var(--text); }
.rw-page .ai-box button.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.rw-page .ai-hint { font-size: 14px; font-weight: 700; color: #9A5B00; margin-top: 6px; }
.rw-id-mirror { margin: 0 0 20px; }
.rw-id-mirror:empty { display: none; }
.rw-note { margin: 18px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--butter); color: var(--ink); font-size: 15px; }
.rw-note b { color: var(--navy); }

/* ------------------------------------------------------------- review */
.rw-review { display: grid; gap: 14px; }
.rw-review section { border-radius: 20px; padding: 16px 18px; background: var(--wash); }
.rw-review header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rw-review h4 { margin: 0; font: 900 16px var(--text); color: var(--navy); }
.rw-review .rw-edit { border: 0; background: #fff; color: var(--navy); font: 800 14px var(--text); padding: 5px 14px; border-radius: 999px; cursor: pointer; }
.rw-review .rw-edit:hover { background: var(--navy); color: #fff; }
.rw-review dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
.rw-review dt { color: var(--ink-2); font-weight: 700; }
.rw-review dd { margin: 0; font-weight: 800; word-break: break-word; }
.rw-review dd.rw-missing { color: var(--danger); }
.rw-review .rw-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.rw-review .rw-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid #fff; }
@media (max-width: 480px) { .rw-review dl { grid-template-columns: 1fr; gap: 0; } .rw-review dd { margin-bottom: 8px; } }

.rw-terms { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 6px; padding: 14px 18px; border-radius: 18px; background: var(--aqua); cursor: pointer; font-size: 15.5px; }
.rw-terms input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex: none; cursor: pointer; }
.rw-terms a { color: var(--navy); font-weight: 900; }
.rw-terms.rw-invalid { background: var(--danger-wash); outline: 2px solid var(--danger); }

/* ------------------------------------------------------------- footer actions */
.rw-actions {
  position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 16px 34px; margin-top: 18px; background: #fff; border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-card) var(--r-card);
}
.rw-actions .rw-spacer { flex: 1; }
.rw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 34px;
  border-radius: 999px; font: 800 17px/1.1 var(--text); cursor: pointer; text-decoration: none; transition: background-color .15s, transform .1s;
}
.rw-btn-primary { background: var(--navy); color: #fff !important; border: 0; }
.rw-btn-primary:hover { background: var(--navy-hover); }
.rw-btn-primary:active { transform: scale(.98); }
.rw-btn-primary:disabled { opacity: .65; cursor: progress; }
.rw-btn-ghost { background: transparent; color: var(--navy); border: 0; padding-left: 14px; padding-right: 18px; }
.rw-btn-ghost:hover { background: var(--wash); }
.rw-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.rw-btn svg { width: 18px; height: 18px; }
.rw-btn .spinner-border { width: 18px; height: 18px; border-width: 3px; }
.rw-reset { background: none; border: 0; color: var(--ink-2); font: 700 14.5px var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 4px; }

/* hidden helpers that keep their values for the form (ID type select) */
.rw-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; padding: 0 !important; margin: -1px !important; }

/* crop popup */
.rw-page .modal-content { border: 0; border-radius: 26px; box-shadow: var(--shadow); background: #fff !important; color: var(--ink) !important; overflow: hidden; }
.rw-page .modal-header, .rw-page .modal-footer { border-color: var(--line) !important; padding: 16px 22px; }
.rw-page .modal-title { font: 800 20px var(--display); color: var(--navy); }
.rw-page .modal-body { padding: 16px 22px; }
.rw-page #cropper-container { width: 100%; max-height: 62vh; overflow: hidden; display: block !important; border-radius: 14px; }
.rw-page #cropper-container img { max-width: 100%; display: block; }
.rw-page .crop_cont { position: static !important; padding: 10px 0 0 !important; display: block !important; color: var(--ink-2); }
.rw-page .crop_cont p { font-size: 14.5px !important; margin: 0; color: var(--ink-2) !important; }
.rw-page .modal-footer .btn { border-radius: 999px; font-weight: 800; min-height: 50px; padding: 10px 24px; font-family: var(--text); }
.rw-page .modal-footer .btn-light, .rw-page .modal-footer .btn-success { background: var(--navy); color: #fff; border: 0; }
.rw-page .modal-footer .btn-danger, .rw-page .modal-footer .btn-secondary { background: #fff; color: var(--navy); border: 2px solid var(--line); }

/* ------------------------------------------------------------- page footer */
.rw-strip { height: 120px; margin-top: 30px; background: var(--butter) url('../images/motn_2026/objects-strip.webp') center / auto 100% repeat-x; }
.rw-foot { padding: 22px 16px 30px; text-align: center; color: var(--ink-2); font-size: 14.5px; }
.rw-foot b { color: var(--navy); }
.rw-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.rw-social .rw-pill-link { background: var(--wash); color: var(--navy) !important; backdrop-filter: none; }
.rw-social .rw-pill-link:hover { background: var(--navy); color: #fff !important; }

/* ================================================================ landing page */
.rl-intro { max-width: 1080px; margin: 0 auto; padding: 18px 20px 0; display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; }
.rl-intro img { width: 76px; height: 76px; display: block; }
.rl-intro h1 { margin: 0 0 4px; font: 900 clamp(26px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.025em; color: var(--navy); }
.rl-intro p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 80ch; }

.rl-section { max-width: 1080px; margin: 0 auto; padding: 20px 20px 0; }
.rl-section > h2 { margin: 0 0 12px; font: 900 21px/1.2 var(--display); color: var(--navy); }
.rl-section + .rl-section { padding-top: 34px; }

.rl-passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rl-pass { border-radius: 24px; padding: 20px 22px 20px; display: flex; flex-direction: column; }
.rl-pass.is-aqua { background: var(--aqua); }
.rl-pass.is-butter { background: var(--butter); }
.rl-pass.is-blush { background: var(--blush); }
.rl-pass h3 { margin: 0; font: 900 22px/1.15 var(--display); color: var(--navy); }
.rl-pass p { margin: 6px 0 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.rl-pass ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.rl-pass li::before { content: '•'; color: var(--navy); font-weight: 900; margin-right: 8px; }
.rl-pass .rw-btn { margin-top: auto; align-self: flex-start; }
.rl-pass .rl-gap { flex: 1; min-height: 14px; }
.rl-pass .rw-btn, .rl-soon { min-height: 48px; padding: 10px 30px; }
.rl-soon { display: inline-flex; align-items: center; min-height: 54px; padding: 12px 26px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink-2); font-weight: 900; align-self: flex-start; }

.rl-venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rl-venue { border-radius: 24px; padding: 24px 26px; color: var(--navy); position: relative; overflow: hidden; }
.rl-venue.is-sky { background: var(--sky); }
.rl-venue.is-coral { background: var(--coral); }
.rl-venue.is-teal { background: var(--teal); }
.rl-venue::after { /* a soft cloud, like the site's cards */
  content: ''; position: absolute; right: -30px; top: -20px; width: 190px; height: 120px; border-radius: 60px;
  background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); pointer-events: none;
}
.rl-venue h3 { margin: 0; font: 900 26px/1.15 var(--display); }
.rl-venue p { margin: 4px 0 0; font-weight: 900; font-size: 17px; }
.rl-venue span { display: block; margin-top: 4px; font-weight: 800; }

.rl-help { margin-top: 26px; padding: 18px 22px; border-radius: 20px; background: var(--wash); display: flex; gap: 14px; align-items: center; font-size: 15.5px; }
.rl-help svg { flex: none; width: 26px; height: 26px; color: var(--navy); }

@media (max-width: 900px) {
  .rl-passes, .rl-venues { grid-template-columns: 1fr; }
  .rl-pass { min-height: 0; }
}
@media (max-width: 640px) {
  .rl-intro { grid-template-columns: 56px 1fr; gap: 14px; padding-top: 14px; align-items: start; }
  .rl-intro img { width: 56px; height: 56px; }
  .rl-intro p { font-size: 15px; }
  .rl-section { padding-top: 14px; }
  .rl-passes { gap: 12px; }
  .rl-pass { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 16px 16px 16px 18px; border-radius: 20px; }
  .rl-pass h3 { font-size: 19px; grid-column: 1; }
  .rl-pass p { grid-column: 1; margin: 0; font-size: 14px; }
  .rl-pass ul, .rl-pass .rl-gap { display: none; }
  .rl-pass .rw-btn, .rl-pass .rl-soon { grid-column: 2; grid-row: 1 / span 2; margin: 0; min-height: 44px; padding: 8px 18px; font-size: 15px; }
}

/* ================================================================ success page */
.rs-card { padding: 40px 34px 36px; text-align: center; }
.rs-tick { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--ok-wash); color: var(--ok); display: grid; place-items: center; }
.rs-tick svg { width: 46px; height: 46px; }
.rs-card h1 { margin: 0; font: 900 30px/1.15 var(--display); color: var(--navy); }
.rs-card p { margin: 12px auto 0; max-width: 46ch; color: var(--ink-2); font-size: 16.5px; }
.rs-next { margin: 26px auto 0; max-width: 460px; text-align: left; display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: rs; }
.rs-next li { counter-increment: rs; display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 16px; background: var(--wash); font-size: 15.5px; }
.rs-next li::before { content: counter(rs); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; font-size: 14px; display: grid; place-items: center; }
.rs-actions { margin-top: 26px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------- phones */
@media (max-width: 640px) {
  .rw-hero-nav { padding: 12px 14px; }
  .rw-hero-nav .rw-pill-link { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .rw-hero-nav .rw-pill-text { display: none; }
  .rw-wrap { margin-top: 12px; padding: 0 10px 28px; }
  .rw-card { border-radius: 22px; }
  .rw-head { padding: 22px 18px 14px; }
  .rw-head h1 { font-size: 24px; }
  .rw-stepper span { display: none; }
  .rw-stepper button { width: 32px; height: 32px; font-size: 14px; }
  .rw-stepper li::before { top: 14px; }
  .rw-progress-text { display: block; }
  .rw-body { padding: 22px 18px 4px; }
  .rw-actions { padding: 12px 14px; border-radius: 0 0 22px 22px; }
  .rw-btn { min-height: 52px; padding: 12px 22px; }
  .rw-actions .rw-btn-primary { flex: 1; }
  .rw-drop { height: 130px; gap: 12px; padding: 12px 14px; }
  .rw-upload input[type=file] { height: 130px; }
  .rw-drop-thumb { width: 94px; height: 94px; }
  .rw-drop-pdf { width: 72px; height: 94px; }
  .rw-strip { height: 80px; }
  .rs-card { padding: 30px 20px 26px; }
}

/* Build: the page script shows the event-pass part with display:flex */
.additional-row > .rw-extra { width: 100%; min-width: 0; }

/* ================================================================ build pass bulk upload */
.rb-wrap { max-width: 1120px; }
.rb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; counter-reset: rb; }
.rb-step { counter-increment: rb; background: var(--wash); border-radius: 22px; padding: 22px 22px 24px; position: relative; }
.rb-step h2 { margin: 0 0 6px; font: 800 20px/1.25 var(--display); color: var(--navy); display: flex; gap: 10px; align-items: center; }
.rb-step h2::before { content: counter(rb); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 900 15px/30px var(--text); text-align: center; }
.rb-step .rw-lead { font-size: 15px; margin-bottom: 16px; }
.rb-step .rw-drop { background: #fff; }
.rb-cols { margin-top: 14px; font-size: 14.5px; }
.rb-cols summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.rb-cols ul { margin: 8px 0 0; padding-left: 20px; columns: 2; }
.rb-notice { margin-top: 12px; padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.rb-notice.err { background: var(--danger-wash); color: var(--danger); }
.rb-notice.warn { background: #FFF6D8; color: #6E4F00; }

.rb-review { margin-top: 30px; }
.rb-review-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.rb-review-head h2 { margin: 0; font: 800 22px var(--display); color: var(--navy); }
.rb-counts { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-count { padding: 6px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 700; }
.rb-count b { font-weight: 900; }
.rb-count.is-ok { background: var(--ok-wash); color: #0E6B4C; }
.rb-count.is-bad { background: var(--danger-wash); color: var(--danger); }
.rb-count.is-done { background: var(--aqua); color: var(--navy); }
.rb-review .rw-lead { margin: 10px 0 10px; }
.rb-filter { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 700; margin-bottom: 10px; cursor: pointer; }
.rb-filter input { width: 18px; height: 18px; accent-color: var(--navy); }

.rb-table-wrap { overflow: auto; max-height: 62vh; border: 1px solid var(--line); border-radius: 16px; }
.rb-table-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.rb-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font-size: 14px; }
.rb-table th, .rb-table td { padding: 6px 6px; border-bottom: 1px solid var(--line); vertical-align: top; background: #fff; }
.rb-table thead th { position: sticky; top: 0; z-index: 2; background: var(--navy); color: #fff; font-weight: 800; text-align: left; white-space: nowrap; padding: 10px 8px; }
.rb-table .rb-num { position: sticky; left: 0; z-index: 1; width: 44px; text-align: center; color: var(--ink-2); font-weight: 800; padding-top: 14px; }
.rb-table thead .rb-num { z-index: 3; color: #fff; }
.rb-table input { width: 150px; height: 38px; padding: 6px 10px; border: 2px solid transparent; border-radius: 10px; background: var(--wash); font: 700 14px var(--text); color: var(--ink); }
.rb-table input.is-wide { width: 220px; }
.rb-table input:focus { outline: none; border-color: var(--navy); background: #fff; }
.rb-table td.has-err input { border-color: var(--danger); background: var(--danger-wash); }
.rb-err { max-width: 220px; font-size: 12.5px; font-weight: 700; color: var(--danger); line-height: 1.3; margin-top: 3px; }
.rb-err:empty { display: none; }
.rb-table tr.is-bad .rb-num { color: var(--danger); }
.rb-status { position: sticky; right: 0; min-width: 120px; max-width: 260px; white-space: normal; font-weight: 800; padding-top: 14px !important; box-shadow: -6px 0 10px -8px rgba(35,37,95,.35); }
.rb-status.is-ok { color: #0E6B4C; }
.rb-status.is-bad { color: var(--danger); }
.rb-status div { font-size: 12.5px; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.rb-result { margin-top: 26px; margin-bottom: 4px; }

.rb-result { margin-top: 26px; padding: 22px 24px; border-radius: 22px; }
.rb-result.is-ok { background: var(--ok-wash); }
.rb-result.is-bad { background: var(--danger-wash); }
.rb-result h2 { margin: 0 0 6px; font: 900 24px var(--display); color: var(--navy); }
.rb-result p { margin: 0 0 14px; font-size: 16px; }
.rb-result p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .rb-steps { grid-template-columns: 1fr; }
  .rb-cols ul { columns: 1; }
  .rb-table input { width: 130px; }
  .rb-status { min-width: 0; max-width: 130px; }
  #rbActions { flex-wrap: wrap; }
  #rbActions .rw-spacer { display: none; }
  #rbActions .rw-btn { flex: 1 1 100%; }
  #rbActions #rbImport { order: -1; }
}

/* bulk upload: match unknown names in one go */
.rb-match { margin: 14px 0 16px; padding: 18px 20px; border-radius: 20px; background: var(--butter); }
.rb-match h3 { margin: 0 0 4px; font: 800 18px var(--display); color: var(--navy); }
.rb-match p { margin: 0 0 12px; font-size: 15px; }
.rb-match-list { display: grid; gap: 10px; }
.rb-match-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 12px; align-items: center; margin: 0; background: #fff; border-radius: 14px; padding: 10px 12px; }
.rb-match-name b { display: block; font-weight: 900; color: var(--ink); word-break: break-word; }
.rb-match-name small { display: block; color: var(--ink-2); font-size: 13px; }
.rb-match-arrow { color: var(--navy); font-weight: 900; font-size: 18px; }
.rb-match .form-select { height: 46px; }
@media (max-width: 640px) { .rb-match-row { grid-template-columns: 1fr; gap: 6px; } .rb-match-arrow { display: none; } }

/* pop-up messages (SweetAlert2) in the 2026 look */
.rw-page .swal2-popup { border-radius: 26px; font-family: var(--text); color: var(--ink); padding-bottom: 1.4em; }
.rw-page .swal2-title { font: 800 22px/1.25 var(--display); color: var(--navy); }
.rw-page .swal2-html-container { font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.rw-page .swal2-actions { gap: 8px; }
.rw-page .swal2-styled { border-radius: 999px !important; font: 800 16px var(--text) !important; padding: 12px 26px !important; box-shadow: none !important; }
.rw-page .swal2-styled.swal2-confirm { background: var(--navy) !important; color: #fff !important; }
.rw-page .swal2-styled.swal2-cancel { background: var(--wash) !important; color: var(--navy) !important; }
.rw-page .swal2-styled:focus-visible { outline: 3px solid var(--blue) !important; outline-offset: 2px; }
/* toast messages (Notyf): readable, wraps on phones */
.rw-page .notyf__toast { max-width: min(520px, calc(100vw - 24px)); border-radius: 16px; }
.rw-page .notyf__message { font: 700 15px/1.4 var(--text); }
