/* Contact Form 7 loading state - see assets/js/cf7-loading.js */
.wpcf7-form .wpcf7-submit[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

.wpcf7-form .ap-cf7-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  width: 100%;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: inherit;
}

.wpcf7-form .ap-cf7-loading__spinner {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ap-cf7-spin 0.8s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .wpcf7-form .ap-cf7-loading__spinner { animation-duration: 2.4s; }
}
