.checkout-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(5, 8, 13, 0.72);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.checkout-panel-card {
  width: min(100%, 460px);
  background: linear-gradient(180deg, #17202c 0%, #10161f 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.checkout-panel-card h2 {
  margin-top: 0;
}

.checkout-thumb {
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.6rem;
  background: linear-gradient(180deg, #223049 0%, #131a26 100%);
}

.checkout-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.65rem 0;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.payment-return-panel {
  max-width: 640px;
  margin: 2rem auto 0;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin: 0.8rem 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
