.miksh-pay-direct-payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 6, 23, 0.78);
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.miksh-pay-direct-payment-overlay.show {
  display: flex;
}

.miksh-pay-direct-payment-card {
  width: min(420px, 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 18px;
  background: #071326;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.miksh-pay-direct-payment-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.miksh-pay-direct-payment-card span {
  display: block;
  color: #bfdbfe;
  font-size: 15px;
  line-height: 1.45;
}

.miksh-pay-direct-payment-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 4px solid rgba(148, 163, 184, 0.25);
  border-top-color: #38bdf8;
  border-radius: 999px;
  animation: miksh-pay-direct-spin 0.9s linear infinite;
}

.miksh-pay-direct-payment-retry {
  display: none;
  margin: 16px auto 0;
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

.miksh-pay-direct-payment-overlay.error .miksh-pay-direct-payment-retry {
  display: inline-flex;
}

@keyframes miksh-pay-direct-spin {
  to { transform: rotate(360deg); }
}
