/* What every members page shares, on top of the club site's /styles.css:
   the preview notice, forms, buttons and messages. Text floors (club rule):
   nothing under 1rem; body 1.0625rem (set by styles.css); tap targets at
   least 44px. */

.test-notice {
  margin: 0;
  padding: 0.6rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

form { display: grid; gap: 0.5rem; max-width: 28rem; }
label { font-weight: 700; }
input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input:not([type]), textarea {
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
label.check { display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; font-weight: 400; }
label.check input { width: 1.4rem; height: 1.4rem; }
.hint { margin: 0; color: var(--muted); font-size: 1rem; }
button.button { min-height: 2.75rem; border: 0; font: inherit; font-weight: 700; cursor: pointer; justify-self: start; }
.button:focus-visible, .toggle:focus-visible, .link-button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px;
}

.link-button {
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.choose-names { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.done { font-weight: 700; }
.test-link { padding: 0.75rem 1rem; border: 2px dashed var(--muted); border-radius: var(--radius); background: var(--paper); }
#error:not(:empty) {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-left: 6px solid #b3261e;
  background: #fdecea;
  color: var(--ink);
  font-weight: 700;
}
