/* BLUE MARKET public storefront payments — additive, no existing CSS overrides */
.commerce-page{padding-top:22px;padding-bottom:50px;min-height:56vh}.commerce-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}.commerce-head span{color:#0086d5;font-weight:750;font-size:11px}.commerce-head h1{font-size:25px;margin:3px 0 2px;color:#193651}.commerce-head p{margin:0;font-size:12px}.commerce-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.commerce-card{background:#fff;border:1px solid #deeaf5;border-radius:14px;padding:21px;box-shadow:0 7px 24px #17385a08;margin-bottom:12px;min-width:0}.commerce-card h2{font-size:17px;margin:0 0 13px}.commerce-card p{font-size:12px;line-height:1.7}.commerce-label{font-size:11px;font-weight:800;color:#5690ba;letter-spacing:.05em;display:block;margin-bottom:8px}.wallet-balance{font-size:31px;font-weight:800;color:#098dda;margin-bottom:9px}.commerce-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.commerce-form{display:flex;align-items:flex-end;gap:10px;margin:12px 0 10px}.commerce-form label{font-size:12px;font-weight:700;flex:1}.commerce-form input{display:block;border:1px solid #cadfed;min-width:0;width:100%;border-radius:8px;padding:10px;margin-top:5px}.commerce-warning{border:1px solid #ffddab;background:#fff8ea;color:#936b38;padding:12px;border-radius:9px}.commerce-table-wrap{overflow-x:auto}.commerce-table{border-collapse:collapse;width:100%;min-width:590px;font-size:12px}.commerce-table th{text-align:left;background:#f6faff;color:#647f99;font-size:11px}.commerce-table td,.commerce-table th{padding:12px;border-bottom:1px solid #e8eff6;vertical-align:top}.commerce-reference{font-family:Consolas,monospace;color:#087ccc;font-size:13px;user-select:all}.commerce-bank{font-size:11px;margin-top:6px;color:#7b8a9a}.commerce-delivery{display:block;width:100%;padding:12px;border:1px solid #bddaf0;border-radius:9px;background:#f6fbff;font:13px/1.6 Consolas,monospace;resize:vertical;color:#163952}.purchase-live{margin-top:11px}.purchase-live .button{width:100%}.purchase-live small{display:block;margin-top:7px;color:#8497a6;font-size:11px}.purchase-live .commerce-warning{margin-top:8px}
@media(max-width:760px){.commerce-grid{grid-template-columns:1fr}.commerce-head{align-items:flex-start;flex-wrap:wrap}.commerce-form{flex-direction:column;align-items:stretch}.commerce-card{padding:15px}.commerce-head h1{font-size:22px}}


/* Wallet transfer QR & unique NAP reference – independent public website */
.wallet-payment-panel{scroll-margin-top:18px;padding:22px}
.wallet-payment-heading,.wallet-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.wallet-payment-heading h2{font-size:20px;margin:4px 0 0;overflow-wrap:anywhere}
.wallet-section-heading h2{margin:0}
.wallet-section-heading span{font-size:12px;color:#6b8397}
.wallet-status{display:inline-flex;align-items:center;border-radius:30px;padding:6px 11px;background:#fff3dd;color:#9a652a;white-space:nowrap;font-size:12px;font-weight:700}
.wallet-status.is-credited{background:#e3f9ef;color:#138a64}
.wallet-status.is-expired{background:#f3f5f8;color:#78899b}
.wallet-payment-grid{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:22px;align-items:stretch}
.wallet-qr-box{background:#f5faff;border:1px solid #dcebf9;border-radius:13px;padding:14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.wallet-qr-img{display:block;width:100%;height:auto;max-width:270px;aspect-ratio:27/32;object-fit:contain;border-radius:8px;background:white}
.wallet-qr-open{color:#087cca;font-size:12px;font-weight:700;margin-top:10px}
.wallet-qr-box>p{margin:9px 0 0;font-size:11px;color:#637d92}
.wallet-payment-details{min-width:0;display:flex;flex-direction:column;gap:0}
.wallet-detail-intro{margin:0 0 10px;color:#4f6d85}
.wallet-detail-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #e9eff6}
.wallet-detail-row>span{color:#647d93;font-size:12px}
.wallet-detail-row strong{font-size:14px;color:#213e57;overflow-wrap:anywhere}
.wallet-copy-line{display:flex;align-items:center;gap:8px;min-width:0;justify-content:flex-end}
.wallet-copy-button{background:#ecf7ff;border:1px solid #b9e0fa;color:#057bc3;border-radius:8px;padding:7px 10px;white-space:nowrap;font-size:11px;font-weight:700;min-width:72px}
.wallet-copy-button:hover{background:#dbf0ff}
.wallet-copy-button:focus-visible{outline:2px solid #168ad7;outline-offset:2px}
.wallet-ref-row{align-items:flex-start;flex-direction:column;background:#f2f9ff;border:1px solid #d9ecfc;border-radius:11px;padding:12px;margin-top:10px}
.wallet-ref-row .wallet-copy-line{width:100%;justify-content:space-between}
.wallet-reference{font:700 18px/1.5 Consolas,'Courier New',monospace!important;letter-spacing:.025em;color:#057dcc!important;word-break:break-all;user-select:all}
.wallet-amount{font-size:19px!important;color:#008dd9!important}
.wallet-payment-note{margin-top:12px;background:#fff8ee;border:1px solid #ffe3bd;padding:10px 12px;border-radius:10px;font-size:12px;color:#8f662f}
.wallet-expiry{font-size:12px;color:#617f95;margin-top:12px}
.wallet-finished-message{color:#4f697f;margin:8px 0}
.wallet-intent-link{color:#007dca;font-size:12px;font-weight:700;white-space:nowrap}
.wallet-intent-link:hover{text-decoration:underline}
.wallet-create-card .wallet-form-note{margin:10px 0 0}
@media(max-width:870px){.wallet-payment-grid{grid-template-columns:1fr}.wallet-qr-box{max-width:380px;width:100%;margin:0 auto}}
@media(max-width:620px){.wallet-payment-panel{padding:15px}.wallet-payment-heading{align-items:flex-start;flex-wrap:wrap}.wallet-payment-heading h2{font-size:17px}.wallet-detail-row{align-items:flex-start;flex-direction:column;gap:5px}.wallet-copy-line{width:100%;justify-content:space-between}.wallet-reference{font-size:15px!important}.wallet-payment-grid{gap:12px}}

.wallet-recent-success,.wallet-success-message{padding:13px 16px;border:1px solid #a9e8c7;background:#eefbf4;color:#127043;border-radius:11px;margin-bottom:14px;font-size:13px;font-weight:600}
.wallet-recent-success strong{color:#086c3e;font-size:17px}

.member-wallet-summary{margin:12px 0;padding:12px 14px;background:#edf7ff;border:1px solid #cde8fc;border-radius:11px;display:grid;gap:3px}
.member-wallet-summary span{font-size:12px;color:#54708b}
.member-wallet-summary strong{font-size:21px;color:#087dca}
.member-wallet-summary a{font-size:12px;color:#087dca;font-weight:700}
.member-topup-success{margin:8px 0 12px;padding:10px 12px;border:1px solid #a9e8c7;background:#eefbf4;color:#127043;border-radius:10px;font-size:12px}
.member-topup-success small{display:block;color:#61917b;margin-top:3px}


/* V15: status polling and confirmation dialog -- based exclusively on authenticated VPS data. */
.wallet-verification{display:flex;gap:13px;align-items:center;padding:14px 16px;margin:0 0 18px;border:1px solid #b6dff8;background:#f0f9ff;border-radius:12px;color:#185883}
.wallet-verification>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.wallet-verification strong{font-size:14px;color:#155a8d}
.wallet-verification span[data-payment-detail]{font-size:12px;line-height:1.55;color:#47738f}
.wallet-verification small{color:#718da4;font-size:11px}
.wallet-verification-spinner{display:inline-block;width:26px;height:26px;flex:0 0 26px;border:3px solid #c4e7ff;border-top-color:#087fd4;border-radius:50%;animation:wallet-verification-spin .85s linear infinite}
.wallet-verification.is-confirmed{background:#edfbf3;border-color:#b8ebcf;color:#19754b}
.wallet-verification.is-confirmed strong{color:#138250}
.wallet-verification.is-confirmed .wallet-verification-spinner,.wallet-verification.is-finished .wallet-verification-spinner{animation:none;border:0;display:grid;place-items:center}
.wallet-verification.is-confirmed .wallet-verification-spinner:after{content:'✓';font-size:22px;color:#11905e;font-weight:800}
.wallet-verification.is-finished .wallet-verification-spinner:after{content:'!';font-size:20px;color:#ac7734;font-weight:800}
@keyframes wallet-verification-spin{to{transform:rotate(360deg)}}
.topup-success-dialog{max-width:min(95vw,510px);width:calc(100vw - 32px);border:1px solid #d4e6f3;border-radius:18px;padding:0;box-shadow:0 24px 80px rgba(10,38,68,.28);background:white;color:#193550}
.topup-success-dialog::backdrop{background:rgba(10,26,47,.62);backdrop-filter:blur(3px)}
.topup-success-content{padding:25px 28px 26px;text-align:center}
.topup-success-symbol{display:grid;place-items:center;margin:0 auto 10px;width:56px;height:56px;background:#dbf9e8;border-radius:50%;color:#12955e;font-size:32px;font-weight:750}
.topup-success-content h2{font-size:22px;margin:0 0 7px;color:#176b4a;letter-spacing:0}
.topup-success-desc{font-size:12px;color:#708799;margin:0 auto 8px;line-height:1.6}
.topup-success-amount{font-size:34px;color:#079b60;font-weight:800;margin:6px 0 17px}
.topup-success-rows{border:1px solid #e2eaf1;border-radius:11px;overflow:hidden;text-align:left}
.topup-modal-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 13px;border-bottom:1px solid #e7edf3;font-size:12px}
.topup-modal-row:last-child{border-bottom:0}
.topup-modal-row>span{color:#687f92;flex:0 0 42%}
.topup-modal-row>strong{color:#203e58;overflow-wrap:anywhere;text-align:right;max-width:58%;font-size:12px}
.topup-success-actions{display:flex;gap:9px;margin-top:18px}
.topup-success-actions .button{flex:1;min-width:0}
@media(max-width:520px){.topup-success-content{padding:20px 16px}.topup-modal-row{gap:7px;padding:10px}.topup-success-actions{flex-direction:column}.topup-success-amount{font-size:29px}}
@media(prefers-reduced-motion:reduce){.wallet-verification-spinner{animation-duration:2.5s}}

.wallet-payment-grid[hidden]{display:none!important}
