/* Registration page. Form fields, hints and status lines are shared
   in ../assets/site.css. */

.rg-label { margin: 14px 0 6px; font-weight: 650; }
.rg-label .rg-req { color: var(--line-red); }
.rg-muted { color: var(--muted); font-weight: 400; font-size: 0.88rem; }

.rg-checks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 4px 14px;
}
.rg-check,
.rg-radio {
  display: flex;
  gap: 9px;
  align-items: baseline;
  padding: 5px 0;
  cursor: pointer;
  line-height: 1.4;
}
.rg-check input,
.rg-radio input { accent-color: var(--accent); flex: none; }

/* one card per person: a sign bar for the head, the fields beneath */
.rg-team,
.rg-member { padding: 0; margin: 0 0 14px; }
.rg-member { animation: t-rise var(--duration-fast) var(--ease-smooth-out) both; }
.rg-member.is-leaving { animation: rg-member-out var(--duration-quick) var(--ease-smooth-out) forwards; pointer-events: none; }
@keyframes rg-member-out { to { opacity: 0; transform: translateY(var(--distance-small)); } }
.rg-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: var(--sign-bg);
  color: var(--sign-ink);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rg-head button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--sign-ink);
  opacity: 0.75;
  font: inherit;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.rg-head button:hover { opacity: 1; }
.rg-member-body { padding: 16px; }
.rg-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
@media (max-width: 560px) {
  .rg-two { grid-template-columns: 1fr; }
}

.rg-add-row { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; }

.rg-tnc {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 4px 14px;
  background: var(--surface);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* the honeypot lives far off screen; people never see or tab to it */
.rg-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .rg-member, .rg-member.is-leaving { animation: none; }
}

/* the human check's widget, when the worker says it is on */
.rg-turnstile { margin: 0 0 12px; }
.rg-turnstile:empty { margin: 0; }
