*{box-sizing:border-box}
:root{--green:#00c95b;--green-dark:#00ae4e;--green-pale:#e8fff0;--ink:#07152b;--muted:#738096;--line:#e5e9ee}
html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
body{min-height:100vh;background:#f2f3f6}
.page-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 16px}
.payment-card{position:relative;width:100%;max-width:420px;background:#fff;border:1px solid #e7e9ed;border-radius:24px;padding:10px 18px 25px;box-shadow:0 14px 38px rgba(21,31,48,.09);text-align:center}
.handle{width:50px;height:5px;border-radius:10px;background:#d2d6dd;margin:0 auto 22px}
.brand-heading h1{font-size:21px;line-height:1.25;font-weight:800;margin:0 0 13px;letter-spacing:-.35px}
.brand-heading h1 span{color:var(--green-dark)}
.verified{display:inline-flex;align-items:center;justify-content:center;vertical-align:2px;width:17px;height:17px;border-radius:50%;background:#2196ed;color:#fff;font-size:12px;font-style:normal;margin-left:4px}
.secure-pill{height:34px;width:max-content;margin:0 auto 18px;padding:0 15px;border-radius:20px;background:#e8fff1;color:#00a94b;display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700}
.secure-check{width:16px;height:16px;display:inline-grid;place-items:center;background:#00c95b;color:white;border-radius:50%;font-size:11px}
.product-card{height:151px;border:1px solid #e2e6ec;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:18px}
.dollar-icon{height:60px;width:60px;border-radius:17px;background:var(--green);box-shadow:0 10px 22px rgba(0,201,91,.22);display:grid;place-items:center;color:white;font-size:35px;font-weight:800;line-height:1}
.product-card h2{font-size:19px;margin:12px 0 6px;font-weight:800}
.product-card p{font-size:13px;color:var(--muted);margin:0}
.amount-section{background:var(--green-pale);border-radius:19px;padding:17px 16px 17px;margin-bottom:18px;text-align:left}
.section-label{display:flex;align-items:center;gap:8px;color:#009d47;font-size:13px;font-weight:800;letter-spacing:.25px;margin-bottom:14px}
.coin-icon{height:19px;width:19px;border:2px solid #00b653;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1}
.amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.amount-option{min-width:0;cursor:pointer}
.amount-option[hidden]{display:none}
.amount-option input{position:absolute;opacity:0;pointer-events:none}
.amount-option span{height:50px;border:1px solid #a9efc2;border-radius:28px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#07152b;white-space:nowrap}
.amount-option.selected span{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 6px 13px rgba(0,201,91,.16)}
.more-button{width:100%;height:47px;border:0;border-radius:26px;background:#b8f6cf;color:#009d47;font-size:14px;font-weight:800;margin-top:11px;cursor:pointer}
.money-input{height:49px;background:#fff;border:1px solid #a9efc2;border-radius:28px;display:flex;align-items:center;gap:9px;padding:0 17px;margin-top:11px}
.money-input>span{font-size:18px;font-weight:800;color:#00a94b}
.money-input input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:16px;font-weight:700;color:#07152b}
.money-input input::-webkit-inner-spin-button,.money-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.money-input input[type=number]{-moz-appearance:textfield}
.pay-button{width:100%;height:56px;border:0;border-radius:30px;background:var(--green);color:white;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 12px 22px rgba(0,201,91,.22);transition:background .15s,transform .15s}
.pay-button:hover{background:var(--green-dark);transform:translateY(-1px)}
.powered{font-size:13px;color:#7b8798;margin-top:17px}
.powered strong{color:#334155}
@media(max-width:480px){.page-shell{padding:18px 12px}.payment-card{padding-left:18px;padding-right:18px}.brand-heading h1{font-size:20px}}
@media(max-height:720px){.page-shell{align-items:flex-start}.payment-card{margin:8px auto}}


/* Payment confirmation page */
.pay-page-card{padding-top:10px;padding-bottom:25px}
.pay-brand{margin:0 0 12px}
.pay-brand h1{margin:4px 0 12px}
.change-amount{display:inline-block;color:#009d47;font-size:13px;font-weight:700;text-decoration:none;margin:2px 0 8px}
.change-amount:hover{text-decoration:underline}
.payment-summary{border:1px solid var(--line);border-radius:18px;padding:17px 16px;margin:0 0 16px;background:#fff}
.payment-summary-label{font-size:14px;color:var(--muted);font-weight:700;margin-bottom:7px}
.payment-total{font-size:30px;line-height:1.2;font-weight:800;color:var(--ink)}
.qr-frame{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;margin:0 auto 14px;min-height:220px}
.qr-frame img{display:block;width:100%;max-width:260px;height:auto;object-fit:contain}
.payment-notice{font-size:14px;line-height:1.5;color:var(--ink);margin:10px 0 5px}
.payment-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 15px}
.missing-qr{border:1px solid #f3d5a4;background:#fffaf0;border-radius:17px;padding:22px 16px;margin:0 0 16px;text-align:center;color:#744b12}
.missing-qr-icon{width:34px;height:34px;display:grid;place-items:center;margin:0 auto 10px;border-radius:50%;background:#fff0d6;color:#bd7915;font-size:20px;font-weight:800}
.missing-qr strong{display:block;font-size:15px}
.missing-qr p{font-size:13px;line-height:1.5;color:#8a6a3e;margin:7px 0 0}
.pay-back-button{display:flex;align-items:center;justify-content:center;width:100%;height:48px;border:1px solid #a9efc2;border-radius:26px;background:#fff;color:#009d47;text-decoration:none;font-size:14px;font-weight:800}
.pay-back-button:hover{background:var(--green-pale)}
@media(max-width:480px){.payment-total{font-size:27px}.qr-frame{min-height:190px;padding:14px}}
