/* 주문 제출 중 — PC · 모바일 공통 */

.order-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: rgba(12, 20, 36, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.order-submit-overlay.is-hidden {
  display: none;
}

html.order-submit-busy {
  overflow: hidden;
  overscroll-behavior: none;
}

html.order-submit-busy body {
  touch-action: none;
}

.order-submit-card {
  width: min(100%, 340px);
  padding: 28px 22px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(15, 22, 18, 0.18);
  text-align: center;
}

.order-submit-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border: 3px solid rgba(58, 157, 110, 0.2);
  border-top-color: #3a9d6e;
  border-radius: 50%;
  animation: order-submit-spin 0.85s linear infinite;
}

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

.order-submit-title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #141816;
}

.order-submit-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #6b726e;
}

.order-submit-progress {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a7a2e;
}

@media (prefers-reduced-motion: reduce) {
  .order-submit-spinner {
    animation: none;
    border-top-color: #3a9d6e;
    opacity: 0.85;
  }
}
