.create-account-form .auth-form-error-summary {
  display: grid;
  gap: 4px;
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.45;
}

.create-account-form .auth-form-error-summary strong {
  color: #7f1d1d;
}

.create-account-form .field.has-error input,
.create-account-form .field.has-error select,
.create-account-form .field.has-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px #dc2626;
}

.create-account-form .field.has-error input:focus,
.create-account-form .field.has-error select:focus,
.create-account-form .field.has-error textarea:focus {
  outline: 3px solid rgba(220, 38, 38, .16);
  outline-offset: 1px;
}

.create-account-form .field-error {
  margin-top: 5px;
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.4;
}

.create-account-form .field-error ul,
.create-account-form .auth-form-error-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.create-account-form .checkbox-field.has-error label {
  color: #991b1b;
}

.create-account-form [data-create-account-submit][disabled] {
  cursor: wait;
  opacity: .72;
}

.auth-existing-account {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-existing-account a {
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .create-account-form {
    scroll-behavior: auto;
  }
}
