/* ClimaValid v1.7.351l · Estado visual de operaciones asíncronas */
.cv-async-button-busy {
  cursor: wait !important;
  pointer-events: auto !important;
  overflow: hidden !important;
  isolation: isolate;
  transition: opacity 160ms ease, filter 160ms ease !important;
}

.cv-async-button-busy:disabled,
.cv-async-button-busy[aria-disabled="true"] {
  opacity: 0.88 !important;
  filter: saturate(0.92);
}

.cv-async-button-busy > :not(.cv-async-button-progress) {
  opacity: 0 !important;
}

.cv-async-button-busy {
  color: transparent !important;
  text-shadow: none !important;
}

.cv-async-button-progress {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: inherit;
  color: var(--cv-async-button-color, currentColor) !important;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.cv-async-button-spinner {
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cv-async-button-spin 720ms linear infinite;
}

.cv-async-button-progress-text {
  color: inherit !important;
}

@keyframes cv-async-button-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cv-async-button-busy {
    transition: none !important;
  }
  .cv-async-button-spinner {
    animation-duration: 1400ms;
  }
}
