.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  display: none;
  margin-top: 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

.form-status--visible {
  display: block;
}

.form-status--success {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.form-status--error {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}

.async-form [aria-invalid="true"] {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px #dc2626;
}

.async-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-submit-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.form-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 999px;
  animation: form-spin 700ms linear infinite;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-spinner {
    animation: none;
  }
}
