/* ─────────────────────────────────────────────────────────
   ADD THESE RULES to the bottom of css/partner.css
   They power the AJAX form validation states & spinner
──────────────────────────────────────────────────────────── */

/* Error state on a field wrapper */
.pf-field--error .pf-input,
.pf-field--error .pf-ta {
  border-color: #e74c3c !important;
  background-color: rgba(231, 76, 60, 0.05);
}

/* Error message — hidden by default, shown when field has error */
.pf-error-msg {
  display: none;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}
.pf-field--error .pf-error-msg {
  display: block;
}

/* Spinner inside submit button */
.pf-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pf-spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes pf-spin {
  to { transform: rotate(360deg); }
}

/* Success state — hidden by default */
.pf-success {
  display: none;          /* JS changes this to flex */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  min-height: 300px;
}
