/* Signup-specific overrides – base styles come from login/login.css */

/* Tighter spacing between form rows so the longer signup form fits nicely */
.auth-row {
  margin: 0 0 14px;
}

/* Inline username validation message */
.field-error {
  display: none;
  margin: 6px 2px 0;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.field-error.visible {
  display: block;
}

.auth-row input.error {
  border-color: #fecaca;
  background: #fef2f2;
}

/* Password hint – hidden until the field is focused */
.password-requirements {
  display: none;
  margin: 6px 2px 0;
  color: var(--login-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.password-wrap:focus-within + .password-requirements {
  display: block;
}

/* Terms checkbox row */
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  color: var(--login-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-terms input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--login-brand-500);
  flex-shrink: 0;
  cursor: pointer;
}

.auth-terms label {
  cursor: pointer;
}

.auth-terms a {
  color: var(--login-brand-600);
  font-weight: 700;
}

.auth-terms a:hover {
  color: var(--login-brand-500);
}

/* Smaller submit margin – the terms row already adds breathing room above */
.auth-btn {
  margin-top: 18px;
}

/* Note under the hero feature grid */
.signup-note {
  margin: 22px 0 0;
  color: var(--login-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  font-style: italic;
}

/* Slightly smaller hero heading – signup has more form content to balance */
.login-hero h1 {
  font-size: clamp(40px, 4.4vw, 60px);
}
