/* Anti duplo clique (v1.22.0): retorno visual do botao em processamento */
button.is-busy, .btn.is-busy, input.is-busy {
  background: #f59e0b !important; border-color: #d97706 !important; color: #1f2937 !important;
  cursor: progress !important; pointer-events: none; opacity: .92;
}
form.is-busy { cursor: progress; }
.busy-spin {
  display: inline-block; width: 1em; height: 1em; margin-right: .5em; vertical-align: -.15em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: busyspin .7s linear infinite;
}
@keyframes busyspin { to { transform: rotate(360deg); } }
html.is-sending::before {
  content: ""; position: fixed; left: 0; top: 0; width: 100%; height: 3px; z-index: 2147483000;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent) no-repeat; background-size: 40% 100%;
  animation: busybar 1s linear infinite;
}
@keyframes busybar { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .busy-spin, html.is-sending::before { animation-duration: 2.5s; } }
