/* Wallet layout only; typography.css owns every type role. */
.public-shop .wallet-table table{min-width:0}
.public-shop .wallet-table caption{display:block;width:100%;padding:10px;text-align:left}
@media(max-width:700px){.public-shop .wallet-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto}.public-shop .wallet-table td:first-child,.public-shop .wallet-table td:nth-child(2){grid-column:1/-1}.public-shop .wallet-table td:first-child::before,.public-shop .wallet-table td:last-child::before{display:none}}
.public-shop .wallet-page{max-width:1200px;margin:12px auto 32px;display:grid;gap:22px;min-width:0;color:#182339}
.public-shop .wallet-heading,.public-shop .wallet-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.public-shop .wallet-heading>div{display:grid;gap:5px}.public-shop .wallet-heading small{color:#495fc0}.public-shop .wallet-heading p{color:#606c80}
.public-shop .wallet-page .button{border-radius:12px;background:#1769e0;border-color:#1769e0;white-space:normal}.public-shop .wallet-page .button.secondary{background:#fff;color:#194987;border-color:#d7dfef}
.public-shop .wallet-status{min-height:1.75em;color:#536177}
.public-shop .wallet-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;align-items:start}.public-shop .wallet-primary{display:grid;gap:22px;min-width:0}
.public-shop .wallet-balance{padding:26px;border-radius:24px;background:radial-gradient(ellipse at 100% 0%,#6553e8,transparent 65%),linear-gradient(120deg,#102a51,#204ccc);color:#fff;box-shadow:0 12px 30px #204ccc24;min-width:0;overflow-wrap:anywhere}
.public-shop .wallet-card-top,.public-shop .wallet-card-id{display:flex;justify-content:space-between;align-items:center;gap:12px}.public-shop .wallet-card-top>span{display:flex;align-items:center;gap:8px}.public-shop .wallet-card-id{margin-top:18px;color:#e4eaff}.public-shop .wallet-card-id>span{min-width:0}
.public-shop .wallet-card-top button,.public-shop .wallet-card-id button{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:12px;color:#fff;background:#ffffff18;flex-shrink:0}.public-shop .wallet-balance button:disabled{opacity:.5;cursor:default}
.public-shop .wallet-amount{display:block;margin:8px 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.public-shop .wallet-balance>small{color:#e4eaff}
.public-shop .wallet-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.public-shop .wallet-actions a{display:grid;justify-items:center;align-content:center;gap:8px;min-height:88px;border:1px solid #ffffff2b;border-radius:16px;background:#ffffff16;color:#fff;padding:12px 6px;overflow-wrap:anywhere}.public-shop .wallet-actions a:first-child{background:#087b55}.public-shop .wallet-actions a:nth-child(2){background:#1669df}.public-shop .wallet-actions a:last-child{background:#6b35c8}
.public-shop .wallet-panel{background:#fff;border:1px solid #e2e7f0;border-radius:22px;padding:24px;display:grid;gap:18px;min-width:0;box-shadow:0 4px 14px #192e5710}.public-shop .wallet-panel-title a{color:#155abb;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.public-shop .wallet-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.public-shop .wallet-services a{display:grid;justify-items:center;align-content:start;gap:10px;padding:14px 4px;min-height:88px;text-align:center;overflow-wrap:anywhere}.public-shop .wallet-services svg{box-sizing:content-box;padding:12px;border-radius:15px;color:#1769e0;background:#eaf2ff}.public-shop .wallet-services a:nth-child(2) svg{color:#7843c9;background:#f3edff}.public-shop .wallet-services a:nth-child(3) svg{color:#a35b0a;background:#fff3e1}.public-shop .wallet-panel>small{color:#606c80}
.public-shop .wallet-information{background:#f8faff}.public-shop .wallet-section-icon{display:grid;place-items:center;border-radius:18px;background:#e5edff;color:#244bbb;width:56px;height:56px}.public-shop .wallet-notice{background:#edf3ff;border-radius:14px;padding:16px;display:grid;gap:8px}.public-shop .wallet-information p{color:#4f5d73}
.public-shop .wallet-history-tools{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}.public-shop .wallet-history-tools label{display:grid;gap:6px;flex:1 1 260px;max-width:380px;min-width:0}.public-shop .wallet-history-tools input{width:100%;min-height:44px;padding:9px 12px;border:1px solid #d8e0ee;border-radius:12px;background:#fff;color:inherit}.public-shop .wallet-filters{display:flex;gap:8px;flex-wrap:wrap}.public-shop .wallet-filters button,.public-shop .wallet-table button{min-height:44px;padding:9px 14px;border:1px solid #dce3ef;border-radius:12px;background:#fff;color:#35445e}.public-shop .wallet-filters button[aria-pressed=true]{color:#155abb;background:#eaf2ff;border-color:#9cc2f3}
.public-shop .wallet-empty{padding:30px 12px;text-align:center;color:#606c80;background:#f8faff;border-radius:16px}.public-shop .wallet-table{min-width:0}.public-shop .wallet-table table{width:100%;border-collapse:collapse;table-layout:fixed}.public-shop .wallet-table th,.public-shop .wallet-table td{text-align:left;padding:14px 10px;border-bottom:1px solid #e5eaf3;overflow-wrap:anywhere;vertical-align:middle}.public-shop .wallet-table th:first-child{width:36%}.public-shop .wallet-table th:last-child{width:115px}.public-shop .wallet-table small{color:#606c80;margin-top:5px}.public-shop .wallet-credit{color:#08744e}.public-shop .wallet-debit{color:#b32943}.public-shop .wallet-batches{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.public-shop .wallet-batches small{color:#606c80}
.public-shop .wallet-dialog{width:calc(100% - 32px);max-width:560px;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dce3ef;border-radius:22px;padding:24px;color:#182339;background:#fff}.public-shop .wallet-dialog::backdrop{background:#0a193b88}.public-shop .wallet-dialog .wallet-panel-title{align-items:start;flex-wrap:nowrap}.public-shop .wallet-dialog .wallet-panel-title h2{min-width:0;overflow-wrap:anywhere}.public-shop .wallet-dialog [data-wallet-close]{min-height:44px;min-width:44px;border:0;border-radius:12px;background:#edf2fa;color:#253a60}.public-shop .wallet-dialog [data-wallet-dialog-body]{display:grid;gap:14px;margin:20px 0;overflow-wrap:anywhere}
@media(max-width:1000px){.public-shop .wallet-grid{grid-template-columns:minmax(0,1fr)}.public-shop .wallet-information{grid-template-columns:minmax(0,1fr)}.public-shop .wallet-page{gap:16px}}
@media(max-width:700px){.public-shop .wallet-page{margin:8px 0 24px}.public-shop .wallet-panel,.public-shop .wallet-balance{padding:18px;border-radius:20px}.public-shop .wallet-services{grid-template-columns:repeat(2,minmax(0,1fr))}.public-shop .wallet-table table,.public-shop .wallet-table tbody,.public-shop .wallet-table tr,.public-shop .wallet-table td{display:block;width:100%}.public-shop .wallet-table thead{display:none}.public-shop .wallet-table tr{border:1px solid #e2e7f0;border-radius:14px;margin:10px 0;padding:10px}.public-shop .wallet-table td{border:0;padding:7px 4px}.public-shop .wallet-table td::before{content:attr(data-label);display:block;color:#536177}.public-shop .wallet-heading>.button{width:100%}.public-shop .wallet-history-tools label{max-width:none}}
@media(max-width:420px){.public-shop .wallet-actions{gap:6px}.public-shop .wallet-card-id{align-items:start}.public-shop .wallet-panel{padding:16px}}
/* Wallet totals, top-up orders and the top-up page: layout and colour only; every type role lives in typography.css. */
.public-shop .wallet-heading-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-shop .wallet-heading-tools small{color:#536177}
.public-shop .wallet-actions a{text-align:center}
.public-shop .wallet-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.public-shop .wallet-stats>div{display:grid;gap:4px;align-content:start;padding:16px;background:#fff;border:1px solid #e2e7f0;border-radius:18px;min-width:0;overflow-wrap:anywhere}.public-shop .wallet-stats small{color:#606c80}.public-shop .wallet-stats strong{font-variant-numeric:tabular-nums}
.public-shop .wallet-orders .wallet-table th:last-child{width:170px}
.public-shop .topup-badge{display:inline-flex;align-items:center;min-height:32px;padding:2px 12px;border-radius:999px;background:#eef1f7;color:#4a5870;text-align:center}
.public-shop .topup-badge[data-tone=good]{background:#e3f6ec;color:#06603f}.public-shop .topup-badge[data-tone=wait]{background:#fff4db;color:#6b4300}.public-shop .topup-badge[data-tone=info]{background:#e7f0ff;color:#174c9e}.public-shop .topup-badge[data-tone=bad]{background:#fde9ec;color:#8f1830}
.public-shop .topup-page{max-width:880px;margin:12px auto 32px;display:grid;gap:22px;min-width:0;color:#182339}.public-shop .topup-body{display:grid;gap:22px;min-width:0}
.public-shop .topup-form fieldset{border:0;padding:0;margin:0;display:grid;gap:12px;min-width:0}.public-shop .topup-form legend{display:flex;align-items:center;gap:10px;padding:0;margin-bottom:8px}.public-shop .topup-form h3{display:flex;align-items:center;gap:10px}
.public-shop .topup-num{display:inline-grid;place-items:center;min-width:2rem;height:2rem;border-radius:50%;background:#1769e0;color:#fff;flex-shrink:0}
.public-shop .topup-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.public-shop .topup-channels{display:grid;gap:10px}
.public-shop .topup-chips button,.public-shop .topup-channels label{min-height:48px;border:1px solid #d7dfef;border-radius:14px;background:#fff;color:#243455;padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;overflow-wrap:anywhere}
.public-shop .topup-channels label{justify-content:flex-start}.public-shop .topup-channels input{width:22px;height:22px;flex-shrink:0}
.public-shop .topup-chips button[aria-pressed=true]{border-color:#1769e0;background:#eaf2ff;color:#14407f;box-shadow:0 0 0 2px #1769e033}
@supports selector(:has(a)){.public-shop .topup-channels label:has(input:checked){border-color:#1769e0;background:#eaf2ff;color:#14407f;box-shadow:0 0 0 2px #1769e033}}
.public-shop .topup-field{display:grid;gap:6px;min-width:0}.public-shop .topup-field input:not([type=radio]):not([type=checkbox]),.public-shop .topup-field textarea{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #cfd8e8;border-radius:12px;background:#fff;color:inherit}.public-shop .topup-field input[type=file]{border-style:dashed;border-color:#9db5e6;background:#f6f9ff}.public-shop .topup-field input[aria-invalid=true]{border-color:#b32943}
.public-shop .topup-error{color:#a31a35}.public-shop .topup-error:empty{display:none}
.public-shop .topup-review{background:#f4f8ff;border-radius:14px;padding:6px 16px}.public-shop .topup-rows{margin:0;padding:6px 16px;background:#f4f8ff;border-radius:14px;display:grid}.public-shop .topup-review .topup-rows{padding:0}
.public-shop .topup-rows>div{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #dfe7f5;min-width:0}.public-shop .topup-rows>div:last-child{border-bottom:0}.public-shop .topup-rows dt{color:#4f5d73}.public-shop .topup-rows dd{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;text-align:right}
.public-shop .topup-rows .button{min-height:44px;padding:6px 14px}
.public-shop .topup-actions{display:flex;flex-wrap:wrap;gap:12px}.public-shop .topup-actions .button{min-height:44px}
.public-shop .topup-note{color:#4f5d73;background:#f8faff;border-radius:12px;padding:12px 14px}
.public-shop .topup-order{gap:18px}.public-shop .topup-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.public-shop .topup-order-head>div{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.public-shop .topup-due{display:grid;gap:6px;padding:18px;border-radius:18px;background:linear-gradient(120deg,#102a51,#204ccc);color:#fff;min-width:0;overflow-wrap:anywhere}.public-shop .topup-due small{color:#e4eaff}.public-shop .topup-due p{color:#fff}
.public-shop .topup-callout{border-radius:14px;padding:14px 16px;display:grid;gap:6px;background:#e7f0ff;color:#12316b;overflow-wrap:anywhere}.public-shop .topup-callout[data-tone=good]{background:#e3f6ec;color:#06603f}.public-shop .topup-callout[data-tone=wait]{background:#fff4db;color:#6b4300}.public-shop .topup-callout[data-tone=bad]{background:#fde9ec;color:#8f1830}
.public-shop .topup-slips{display:flex;flex-wrap:wrap;gap:12px}.public-shop .topup-slip,.public-shop .topup-preview img{width:min(160px,100%);height:auto;max-height:220px;object-fit:contain;border:1px solid #dbe3f0;border-radius:12px;background:#fff}.public-shop .topup-preview{display:grid;gap:6px;justify-items:start}.public-shop .topup-preview:empty{display:none}
.public-shop .topup-evidence,.public-shop .topup-payee,.public-shop .topup-more{display:grid;gap:12px;min-width:0}
.public-shop .topup-stepper{list-style:none;margin:0;padding:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#fff;border:1px solid #e2e7f0;border-radius:18px}.public-shop .topup-stepper li{display:grid;justify-items:center;text-align:center;gap:6px;min-width:0;overflow-wrap:anywhere;color:#4f5d73}
.public-shop .topup-step-mark{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:#e4e9f3;color:#35445e}.public-shop .topup-stepper [data-state=done] .topup-step-mark{background:#1f8f5f;color:#fff}.public-shop .topup-stepper [data-state=current] .topup-step-mark{background:#1769e0;color:#fff}.public-shop .topup-stepper [data-state=stopped] .topup-step-mark{background:#b32943;color:#fff}
@media(max-width:700px){.public-shop .wallet-stats{grid-template-columns:minmax(0,1fr)}.public-shop .topup-page{margin:8px 0 24px}.public-shop .topup-stepper{grid-template-columns:minmax(0,1fr)}.public-shop .topup-stepper li{grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center}.public-shop .topup-rows dd{justify-content:flex-start;text-align:left}.public-shop .topup-actions .button{flex:1 1 100%}}
@media(max-width:700px){.public-shop .wallet-orders .wallet-table tbody tr{grid-template-columns:minmax(0,1fr)}.public-shop .wallet-orders .wallet-table td{grid-column:1/-1}}
.public-shop .topup-page .button{border-radius:12px;background:#1769e0;border-color:#1769e0;white-space:normal}.public-shop .topup-page .button.secondary{background:#fff;color:#194987;border-color:#d7dfef}.public-shop .topup-page h2:focus{outline:none}
