.checkout-pay-btn:disabled {
  opacity: 1;
  cursor: wait;
}

.checkout-pay-btn.checkout-pay-btn--modal-wait,
.checkout-pay-btn:disabled.checkout-pay-btn--modal-wait,
button.btn.checkout-pay-btn:disabled {
  background: #eef4ff !important;
  color: #1a4a82 !important;
  border: 1px dashed #9ec7ef !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.checkout-pay-btn.checkout-pay-btn--opening,
.checkout-pay-btn:disabled:not(.checkout-pay-btn--modal-wait) {
  background: linear-gradient(135deg, #4b6cb7, #5b86d8) !important;
  color: #fff !important;
  opacity: 0.92 !important;
}

.checkout-pay-btn--modal-wait {
  background: #eef4ff;
  color: #1a4a82;
  border: 1px dashed #9ec7ef;
}

.checkout-error {
  display: block;
  margin: .75rem 0 0;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b !important;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 1.1rem;
}

.checkout-error:empty {
  display: none;
}

.checkout-culqi-status {
  margin: .5rem 0 0;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #475569;
  font-size: .82rem;
  line-height: 1.35;
}

.checkout-culqi-status[data-state="error"] {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.checkout-culqi-status[data-state="ok"] {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.checkout-processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 20, 42, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.checkout-processing-overlay[hidden] {
  display: none !important;
}

.checkout-processing-overlay__panel {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 16px;
  padding: 1.65rem 1.4rem;
  text-align: center;
  box-shadow: 0 24px 48px rgba(8, 20, 42, 0.28);
}

.checkout-processing-overlay__spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid #dbe8fb;
  border-top-color: #39aae6;
  animation: checkout-processing-spin 0.85s linear infinite;
}

.checkout-processing-overlay__title {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: #1a3766;
}

.checkout-processing-overlay__message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #385785;
}

.checkout-processing-overlay__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #6b84ad;
}

body.checkout-processing-active {
  overflow: hidden;
}

#js-checkout,
.culqi_checkout,
iframe[src*="culqi"],
[class*="culqi" i],
[id*="culqi" i],
.culqi-checkout,
.culqi-overlay {
  z-index: 2147483000 !important;
}

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