.dashy-payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.dashy-payment-modal {
  width: min(100%, 480px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}

.dashy-payment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashy-payment-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.dashy-payment-head p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.dashy-payment-close {
  border: none;
  background: #f1f5f9;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.dashy-payment-close:hover {
  background: #e2e8f0;
}

.dashy-payment-loading {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem;
  color: #64748b;
  font-size: 0.9375rem;
}

.dashy-payment-loading i {
  font-size: 1.5rem;
  color: #6366f1;
}

#dashyEmbeddedCheckout {
  min-height: 280px;
}

.dashy-payment-error {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.875rem;
}
