/* Scholarship calendar registration form: shared by /scholarship-calendar and the band on /scholarship-exams/. */
.reg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; align-items: end; position: relative; }
.reg-form > label { display: grid; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--navy); }
.reg-form input[type="text"], .reg-form input[type="email"], .reg-form select {
  width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #f8fafc; color: var(--navy); font: inherit; font-size: 1rem;
}
.reg-form [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.reg-form .reg-wide, .reg-form button, .reg-form .reg-fine, .reg-form .reg-interest { grid-column: 1 / -1; }
.reg-interest { border: 0; margin: 0; padding: 0; min-width: 0; }
.reg-interest legend { padding: 0; margin-bottom: 8px; font-size: .8rem; font-weight: 800; color: var(--navy); }
.reg-interest legend span { font-weight: 600; color: var(--muted); }
.reg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-chips label { position: relative; display: inline-flex; cursor: pointer; }
.reg-chips input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.reg-chips span { display: inline-block; padding: 10px 15px; border: 1.5px solid #cfd6e2; border-radius: 999px; background: #f8fafc;
  color: var(--navy); font-size: .9rem; font-weight: 700; line-height: 1; }
.reg-chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.reg-chips input:focus-visible + span { outline: 3px solid rgba(12,165,142,.45); outline-offset: 2px; }
.reg-form .hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.reg-form button { min-height: 50px; cursor: pointer; font-size: 1rem; }
.reg-fine { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.reg-fine a { color: inherit; text-decoration: underline; }
.reg-form[hidden], .reg-done[hidden], .reg-done [hidden] { display: none; }
.reg-msg { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; color: var(--teal-dark, #067F73); }
.reg-next { display: flex; flex-wrap: wrap; gap: 10px; }
.reg-next .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
/* the site's secondary button is drawn for dark heroes (white on navy); here it sits on a white card */
.reg-next .btn.secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); box-shadow: none; }
.reg-next .btn.secondary:hover { background: var(--navy); color: #fff; }
@media (max-width: 520px) { .reg-next .btn { width: 100%; } }
