/* Native form controls, styled to match the Social Club guided form. */
.referral-progress { display: grid; gap: 12px; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.referral-progress__track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.referral-progress__track i { height: 7px; border-radius: 4px; background: var(--cream); border: 1px solid var(--ink); }
.referral-progress__track i.is-complete { background: var(--teal); }
.referral-progress__track i.is-current { background: var(--brand); }
.referral-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.referral-step legend, .referral-step h3 { padding: 0; margin: 0 0 20px; font-family: var(--font-display, 'Bricolage Grotesque'), sans-serif; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; text-wrap: balance; }
.referral-step legend:focus, .referral-step h3:focus { outline: none; }
.referral-hint { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 18px; }
.referral-choices + .referral-hint { margin: 18px 0 0; }
.referral-hint a { color: var(--ink); text-underline-offset: 3px; }
.referral-choices { display: grid; gap: 10px; }
.referral-choices label { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 13px 16px; margin: 0; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; line-height: 1.5; font-size: 14px; font-weight: 650; background: var(--white); }
.referral-choices label:has(:checked) { background: var(--cream); border-color: var(--brand); }
.referral-choices label:hover { background: var(--cream); }
.referral-choices label:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.referral-choices input { flex: 0 0 auto; width: 19px; height: 19px; margin: 0; accent-color: var(--ink); }
.referral-choices--inline { grid-template-columns: 1fr 1fr; margin-bottom: 20px; }
.referral-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 7px; }
.referral-actions [data-referral-next], .referral-actions [data-referral-submit] { margin-left: auto; }
.referral-actions .btn { min-height: 48px; box-shadow: none; transform: none; }
.referral-error { margin: 0; padding: 12px 14px; border-left: 3px solid #A82918; color: #8B2418; background: #FFF2ED; font-size: 14px; line-height: 1.55; }
.referral-review { margin: 0 0 24px; }
.referral-review__row { position: relative; padding: 13px 65px 13px 0; border-bottom: 1px solid #DDD8CE; }
.referral-review dt { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.referral-review dd { margin: 0; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; white-space: pre-line; }
.referral-review button { position: absolute; right: 0; top: 12px; min-height: 44px; padding: 8px; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.referral-review button:focus-visible, .referral-actions button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.referral-form[aria-busy="true"] button { cursor: wait; }
.referral-form[aria-busy="true"] .referral-actions { opacity: .7; }
.referral-form .referral-privacy { margin-top: 4px; border-top: 1px solid #DDD8CE; padding-top: 10px; }
.referral-form [aria-invalid="true"] { border-color: #A82918; }
.referral-form .field input, .referral-form .field textarea { min-height: 50px; }
@media (max-width: 480px) {
  .referral-choices label { padding: 12px; }
  .referral-actions { gap: 8px; }
  .referral-actions .btn { padding-inline: 17px; font-size: 14px; }
}
