/* ============================================================
   PAGE: REGISTRATIONS (Accept invite / invite-only notice)
   Reuses the sessions auth card (.signin-bg / .signin-card /
   .field); this file only adds what signing up needs on top.
   ============================================================ */

/* ---- Validation errors inside the glass card ---- */
.form-errors {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 107, 107, 0.14);
  border: 1.5px solid rgba(255, 107, 107, 0.4);
  border-radius: var(--radius-md);
  color: #ffd9d9;
  font-size: 0.88rem;
}

.form-errors li + li { margin-top: 0.3rem; }

/* ---- Helper text under a field ---- */
.field-hint {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

/* ---- The invitation's locked-in email address ---- */
.field input:disabled {
  opacity: 1; /* Safari dims disabled inputs into illegibility on dark glass */
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  border-style: dashed;
  cursor: not-allowed;
}

/* The invite-only notice has no form, so its footer needs the breathing room
   the submit button would otherwise provide. */
.signin-card .subtitle + .signin-footer { margin-top: 2rem; }
