/* The payment box (js/pay.js): a light card that reads the same on the dark site pages and the light invoice. */
.dspay { width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: #1d1712; font: 400 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: auto; color-scheme: light; }
.dspay::backdrop { background: rgba(13, 10, 8, .62); backdrop-filter: blur(3px); }
.dspay header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid #eee5dc; }
.dspay header small { color: #6f655d; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.dspay h2 { margin: 2px 0 0; font: 800 26px/1.1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.02em; color: #1d1712; }
.dspay header p { margin: 4px 0 0; color: #6f655d; font-size: 13.5px; }
.dspay-x { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f4efe9; color: #1d1712; font-size: 24px; line-height: 1; cursor: pointer; }
.dspay-b { padding: 18px 22px 22px; display: grid; gap: 10px; }
.dspay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: #ff7a1a; color: #1a0900; font: 700 16px/1.1 "Bricolage Grotesque", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.dspay-btn:hover { background: #ff9142; }
.dspay-btn:disabled { opacity: .6; cursor: progress; }
.dspay-btn.ghost { background: #fff; border: 1.5px solid #1d1712; color: #1d1712; }
.dspay-btn.sm { width: auto; min-height: 46px; font-size: 15px; }
.dspay-note { margin: 0; color: #6f655d; font-size: 13px; }
.dspay-or { display: flex; align-items: center; gap: 12px; color: #9a8f86; font-size: 13px; margin: 6px 0; }
.dspay-or::before, .dspay-or::after { content: ""; flex: 1; height: 1px; background: #eee5dc; }
.dspay-upi { display: grid; gap: 10px; }
.dspay-upi h3 { margin: 0; font: 700 17px/1.2 "Bricolage Grotesque", system-ui, sans-serif; color: #1d1712; letter-spacing: -.01em; }
.dspay-qr { width: 190px; margin: 0 auto; padding: 8px; border: 1px solid #eee5dc; border-radius: 14px; background: #fff; }
.dspay-qr svg { display: block; width: 100%; height: auto; }
.dspay-id { margin: 0; font-size: 14px; }
.dspay-link { border: 0; background: none; padding: 0 4px; color: #c25200; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.dspay-utr { display: grid; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px dashed #e7dfd6; }
.dspay-utr label { font-size: 13.5px; font-weight: 600; }
.dspay-utr > div { display: flex; gap: 8px; }
.dspay-utr input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid #d9cfc5; border-radius: 12px; background: #fff; color: #1d1712; font: 500 16px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.dspay-utr input:focus { outline: 3px solid #ffb23e; outline-offset: 1px; }
.dspay-msg { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #8c1d14; font-size: 14px; }
.dspay-msg.ok { background: #e8f6ee; color: #135c33; }
.dspay-done { justify-items: center; text-align: center; padding-block: 26px 24px; }
.dspay-done h3 { margin: 0; font: 800 22px/1.2 "Bricolage Grotesque", system-ui, sans-serif; color: #1d1712; }
.dspay-done p { margin: 0; color: #4c433c; }
.dspay-tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1f8a4c; color: #fff; font-size: 28px; font-weight: 800; }
