/* Blocking wait overlay for registrar (SRSPlus) round trips - see the _BusyOverlay partial.
   Its own file because BOTH layouts need it: the storefront loads site.css and the ops console loads
   admin.css, so anything defined in either one is invisible to the other half of the app. */

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

.pr-spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 5px solid var(--brand2);
  border-top-color: var(--brand);
  animation: fm-spin 0.9s linear infinite;
  margin-bottom: 26px;
}

.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(3px);
}
.busy-overlay.show {
  display: flex;
}
.busy-overlay .pr-spinner {
  margin: 0;
}
.busy-overlay-txt {
  font: 600 14px var(--font);
  color: var(--muted);
  max-width: 32ch;
  text-align: center;
}

/* Respect a reduced-motion preference: keep the overlay and its message, drop the spin. */
@media (prefers-reduced-motion: reduce) {
  .pr-spinner {
    animation: none;
  }
}
