[hidden] {
  display: none !important;
}

[aria-busy="true"] {
  cursor: progress;
}

.is-disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

.feedback {
  margin-block-start: var(--space-5);
}

.feedback.success,
.feedback.error {
  padding: var(--space-4);
  border: 1px solid;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.feedback.success {
  border-color: var(--color-success-border);
  background: var(--color-success-surface);
  color: var(--color-success);
}

.feedback.error {
  border-color: var(--color-error-border);
  background: var(--color-error-surface);
  color: var(--color-error);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .skeleton::after {
    display: none;
  }
}
