/* ============================================================
   SIGN UP — extends the auth card in login.css
   (signup.html loads theme.css → login.css → signup.css)
   Adds the account-type switcher and role-specific forms.
   ============================================================ */

/* Signup collects more fields, so give the card a little more room. */
.auth-card { max-width: 500px; }

/* ── Account type switcher ────────────────────────────────── */
#account_type {
  width: 100%;
  padding: 12px 2px;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink);
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
#account_type:focus { border-bottom-color: var(--red); }

/* ── Role forms ───────────────────────────────────────────── */
.customerForm,
.studioForm,
.freelancerForm {
  display: grid;
  gap: 20px;
}

/* Two-up rows on wider cards — keeps long forms compact. */
@media (min-width: 560px) {
  .customerForm,
  .studioForm,
  .freelancerForm {
    grid-template-columns: 1fr 1fr;
  }
  /* Fields that should always span the full width */
  .customerForm > .form-field:first-child,
  .studioForm   > .form-field:first-child,
  .freelancerForm > .form-field:first-child,
  .customerForm > .auth-btn,
  .studioForm   > .auth-btn,
  .freelancerForm > .auth-btn,
  .form-field--wide {
    grid-column: 1 / -1;
  }
}

/* Password-match helper text */
.field-hint {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field-hint.is-error { color: var(--red); }
.field-hint.is-ok { color: #12a150; }
