/* Full-page submit guard: prevents double POST and shows progress (Metronic / Tailwind-friendly). */
#booking-global-submit-overlay {
  position: fixed;
  inset: 0;
  /* Above Metronic gate drawer (100050) and gate-swal (100060) so submit progress is always visible. */
  z-index: 100080;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

#booking-global-submit-overlay[hidden] {
  display: none !important;
}

.booking-submit-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-submit-overlay__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  max-width: min(90vw, 360px);
}

html.dark .booking-submit-overlay__card {
  background: rgb(30 41 59);
  color: #e2e8f0;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.booking-submit-overlay__spinner {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(39, 136, 247, 0.22);
  border-top-color: #2B7CD3;
  border-radius: 50%;
  animation: booking-submit-spin 0.65s linear infinite;
}

html.dark .booking-submit-overlay__spinner {
  border-color: rgba(96, 165, 250, 0.25);
  border-top-color: #60a5fa;
}

@keyframes booking-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

.booking-submit-overlay__text {
  line-height: 1.35;
}
