/* SPG checkout component styles. Copy with spg-checkout.js; change the colors to your brand. */
.spgc { display: flex; flex-direction: column; gap: 20px; color: inherit; }
.spgc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spgc-steps li { padding: 6px 12px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: 13px; }
.spgc-steps li.done { background: #dcfce7; color: #14532d; font-weight: 600; }
.spgc-steps li.now { background: #2563eb; color: #fff; font-weight: 600; }
.spgc-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.spgc-panel { flex: 1 1 320px; min-width: 0; background: #fff; color: #0f172a; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.spgc-panel h2 { margin: 0; font-size: 16px; }
.spgc-muted { color: #475569; font-size: 13px; }
.spgc-field { display: flex; flex-direction: column; gap: 6px; }
.spgc-field label { font-weight: 600; font-size: 13px; }
.spgc-field input { min-height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; color: #0f172a; background: #fff; }
.spgc-error { color: #b91c1c; font-size: 13px; }
.spgc-btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font: inherit; font-weight: 600; cursor: pointer; align-self: flex-start; }
.spgc-btn:disabled { opacity: .6; cursor: progress; }
.spgc-link { background: none; border: 0; padding: 0; color: #1d4ed8; text-decoration: underline; font: inherit; cursor: pointer; }
.spgc-nets { display: flex; flex-direction: column; gap: 10px; }
.spgc-net { min-height: 64px; text-align: left; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.spgc-net[aria-pressed="true"] { border: 2px solid #2563eb; background: #eff6ff; }
.spgc-net:disabled { border-style: dashed; background: #f1f5f9; color: #475569; cursor: not-allowed; }
.spgc-net b { display: block; }
.spgc-pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #dcfce7; color: #14532d; white-space: nowrap; }
.spgc-pill.paused { background: #ffedd5; color: #7c2d12; }
.spgc-pay { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.spgc-qr { width: 192px; height: 192px; flex: none; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px; background: #fff; }
.spgc-qr svg { width: 100%; height: 100%; display: block; }
.spgc-addr { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.spgc-copy { display: flex; gap: 8px; }
.spgc-copy input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: 13px ui-monospace, Consolas, monospace; background: #f8fafc; color: #0f172a; }
.spgc-copy button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.spgc-warn { padding: 12px 14px; border-radius: 8px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.spgc-status { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.spgc-status li { display: flex; gap: 12px; align-items: flex-start; }
.spgc-dot { width: 24px; height: 24px; flex: none; border-radius: 999px; border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.spgc-status li.done .spgc-dot { background: #15803d; border-color: #15803d; }
.spgc-status li.now .spgc-dot { border-color: #2563eb; }
.spgc-status li.bad .spgc-dot { background: #b91c1c; border-color: #b91c1c; }
.spgc-status span { display: flex; flex-direction: column; }
