/* registration.css — shared by the athlete form (register.html) and the coach
   form (coach.html). Both are driven by assets/registration.js. */
.regwrap{max-width:820px;margin:0 auto}
#reg-form{background:#fff;border:1px solid var(--line,#e4e7ec);border-radius:12px;padding:26px 26px 22px}
.rprogress{display:flex;list-style:none;margin:0 0 24px;padding:0 0 16px;gap:6px;
  border-bottom:1px solid var(--line,#e4e7ec);overflow-x:auto}
.rprogress li{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--muted,#6b7280);
  white-space:nowrap;padding-right:10px}
.rprogress .n{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;
  background:#eef0f4;font-weight:700;font-size:11.5px;flex:none}
.rprogress li.on{color:var(--ink,#14181f);font-weight:600}
.rprogress li.on .n{background:var(--red,#e0202f);color:#fff}
.rprogress li.done .n{background:#2f9e44;color:#fff}
#reg-step h3{font-size:17px;margin:0 0 6px}
.rsub{color:var(--muted,#6b7280);font-size:14px;margin:0 0 16px}
.rgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:6px}
.rfield{display:flex;flex-direction:column;gap:5px}
/* Reserve a consistent two lines for labels so a long one wrapping doesn't drop
   its input below the neighbouring fields in the same grid row. */
.rfield label{font-size:12.5px;font-weight:600;letter-spacing:.02em;
  min-height:2.4em;display:flex;align-items:flex-end}
.rfield input,.rfield select{padding:10px 11px;border:1px solid var(--line,#d7dbe2);border-radius:8px;
  font:inherit;font-size:15px;background:#fff;width:100%}
.rfield input:focus,.rfield select:focus{outline:2px solid var(--red,#e0202f);outline-offset:1px;border-color:transparent}
.rfield small{color:var(--muted,#6b7280);font-size:12px;line-height:1.4}
.revents{display:grid;gap:9px}
.revent{display:flex;gap:11px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line,#d7dbe2);
  border-radius:9px;cursor:pointer}
.revent.on{border-color:var(--red,#e0202f);background:#fff5f5}
.revent input{margin-top:3px;flex:none;width:17px;height:17px;accent-color:var(--red,#e0202f)}
.revent b{display:block;font-size:14.5px}
.revent small{color:var(--muted,#6b7280);font-size:12.5px}
.rcheck{display:flex;gap:11px;align-items:flex-start;padding:12px 0;font-size:14.5px;cursor:pointer}
.rcheck input{margin-top:3px;flex:none;width:18px;height:18px;accent-color:var(--red,#e0202f)}
.rnote{font-size:13px;color:var(--muted,#6b7280);margin:14px 0 0;line-height:1.5}
/* Links inside the form have to read as links — the surrounding text is muted
   grey, and an inherited-colour anchor disappears into it. */
#reg-step a{color:var(--red,#e0202f);font-weight:600;text-decoration:underline;
  text-underline-offset:2px}
#reg-step a:hover{text-decoration-thickness:2px}
/* The waiver is the one link people must actually open, so it gets a box. */
.rlink{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;margin:0 2px;
  border:1.5px solid var(--red,#e0202f);border-radius:7px;text-decoration:none!important;
  background:#fff5f5;white-space:nowrap}
.rlink:hover{background:var(--red,#e0202f);color:#fff!important}
.rlink svg{flex:none}
/* The name is the one field a browser is most likely to have filled in wrongly,
   and the one nobody re-reads in a table. */
.rwho{border:1.5px solid var(--line,#d7dbe2);border-left:4px solid var(--red,#e0202f);
  border-radius:8px;padding:12px 15px;margin:0 0 18px;background:#fff}
.rwho small{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;
  color:var(--muted,#6b7280)}
.rwho b{display:block;font-size:20px;line-height:1.25;margin:3px 0 4px}
.rwho span{font-size:12.5px;color:var(--muted,#6b7280)}
.rreview,.rtotals{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:14.5px}
.rreview td{padding:7px 0;border-bottom:1px solid #f0f2f5;vertical-align:top}
.rreview td:first-child{color:var(--muted,#6b7280);width:38%;font-size:13px}
.rtotals td{padding:8px 0;border-bottom:1px solid #f0f2f5}
.rtotals td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.rtotals .grand td{font-weight:700;font-size:17px;border-bottom:none;padding-top:12px}
.rerror{margin-top:16px;padding:12px 14px;border-radius:8px;background:#fff1f1;
  border:1px solid #f5c2c2;color:#9b1c1c;font-size:14px}
.rerror div+div{margin-top:5px}
.rerror .rhelp{margin:10px 0 0;padding-top:9px;border-top:1px solid #f0cdcd;
  font-size:13.5px;color:#7f3030}
.rerror .rhelp a{color:#9b1c1c;font-weight:600}
/* Shown under the Continue button for anyone who stalls without ever tripping a
   validation error — the case that left us blind to the birth-year bug. */
.rhelp-bar{margin:14px 0 0;font-size:13px;color:var(--muted,#6b7280);text-align:center}
.rhelp-bar a{color:var(--ink,#14181f);font-weight:600}
.rbar{display:flex;align-items:center;gap:14px;margin-top:24px;padding-top:18px;
  border-top:1px solid var(--line,#e4e7ec)}
.rtotal{margin-right:auto}
.rtotal b{display:block;font-size:21px;line-height:1.1}
.rtotal small{color:var(--muted,#6b7280);font-size:12.5px}
/* site.css styles .btn-ghost for the dark hero — white text on translucent
   white — which renders it invisible on this white card. The Back button was
   present but unseeable at every step. */
.rbar .btn-ghost{background:#fff;color:var(--ink,#14181f);border-color:var(--line,#d7dbe2)}
.rbar .btn-ghost:hover{background:#f6f7f9}
@media(max-width:560px){#reg-form{padding:20px 16px}.rbar{flex-wrap:wrap}}
