/* Payment menu, scoped to the payment page. */
.wallet-payment .wallet-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;padding:5px;margin:0 0 20px;background:#f3edf9;border:1px solid #e9dff2;border-radius:18px}
.wallet-payment .wallet-mode-switch .payment-mode{position:relative;box-sizing:border-box;min-width:0;min-height:66px;margin:0;padding:24px 6px 12px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:13px;background:transparent;color:#71627d;font-size:14px;font-weight:650;line-height:1.25;text-align:center;transition:background .15s,color .15s}
.wallet-payment .payment-mode>span{padding:0;background:transparent;border:0;white-space:normal;overflow-wrap:normal}
.wallet-payment .wallet-mode-switch .payment-mode.is-selected,.wallet-payment .wallet-mode-switch .payment-mode:has(input:checked){background:#7929c4;border-color:#7929c4;color:#fff;box-shadow:0 3px 9px #61209826}
.wallet-payment .payment-mode .payment-new{position:absolute;top:6px;right:8px;display:inline-flex;align-items:center;min-height:15px;padding:1px 6px;border-radius:5px;background:#ddf7ec;color:#146647;font-size:9px;font-weight:800;line-height:1.3;letter-spacing:.6px}
.wallet-payment .wallet-mode-switch .payment-mode:focus-within{outline:2px solid #9a5bd2;outline-offset:2px}
.wallet-payment .wallet-tabs{display:flex;gap:4px;padding:4px;border:1px solid #e9dff2;border-radius:14px;background:#f0e9f7;margin-bottom:8px}
.wallet-payment .wallet-tabs a{flex:1;display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:0;border-radius:10px;text-decoration:none;font-size:14px}
.wallet-payment .wallet-tabs a.active{background:#fff;color:#7430bd;box-shadow:0 2px 6px #44205b0d}
.wallet-payment .wallet-history-link{display:flex;justify-content:flex-end;margin:0 0 10px;font-size:13px}
.wallet-payment .wallet-history-link a{min-height:34px}
.wallet-payment .wallet-overview{background:linear-gradient(120deg,#f1e6fb,#f8f4fc);border:1px solid #e8dcf1;border-radius:18px;padding:14px 16px}
.wallet-payment .metric{min-width:0}.wallet-payment .metric strong{font-size:clamp(19px,5.6vw,26px)}
@media(max-width:360px){.wallet-payment .wallet-mode-switch .payment-mode{font-size:12px}.wallet-payment .wallet-panel{padding:12px}}
@media(prefers-reduced-motion:reduce){.wallet-payment .wallet-mode-switch .payment-mode{transition:none}}
