.cafe-wallet-card{margin-bottom:22px;background:#fff9f6}.cafe-wallet-card>strong{display:block;font-size:28px;margin:14px 0}.cafe-wallet-card>p{color:var(--muted);line-height:1.9}.cafe-wallet-transaction{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #eee6df;font-size:13px}.cafe-wallet-transaction b{white-space:nowrap}.cafe-wallet-card .transaction-list{margin-top:20px}@media(max-width:640px){.cafe-wallet-transaction{flex-direction:column;gap:6px}}

.cafe-topup-dialog{width:min(460px,calc(100vw - 28px));max-height:90dvh;padding:24px;border:1px solid #eadfd9;border-radius:22px;color:#302825;background:#fffaf7;font-family:inherit;text-align:right;overflow:auto}
.cafe-topup-dialog::backdrop{background:#201c1ab3;backdrop-filter:blur(4px)}
.cafe-topup-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.cafe-topup-dialog h2{font-size:22px;margin:4px 0}.cafe-topup-dialog header small{color:#cf385b}.cafe-topup-dialog header button{background:transparent;border:0;font-size:28px;cursor:pointer}
.cafe-topup-dialog p{font-size:13px;line-height:1.9;color:#776c65}.cafe-topup-dialog label{display:block;font-size:13px;font-weight:700;margin:18px 0 8px}.cafe-topup-amount{display:flex;align-items:center;border:1px solid #d8ccc5;border-radius:12px;background:#fff;padding:0 12px}.cafe-topup-amount input{width:100%;min-width:0;border:0;background:transparent;padding:14px 0;font-family:inherit;font-size:22px;font-weight:700;direction:ltr;text-align:left;outline:none}.cafe-topup-amount:focus-within{outline:2px solid #f0547866}.cafe-topup-amount span{font-size:12px;color:#84786f;padding-right:10px}.cafe-topup-presets{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.cafe-topup-presets button{flex:1;border:1px solid #eadcd5;border-radius:9px;background:#fff;padding:8px;font:inherit;font-size:12px;cursor:pointer}.cafe-topup-dialog form>small{font-size:11px;color:#81726a}.cafe-topup-dialog footer{display:flex;gap:9px;margin-top:18px}.cafe-topup-dialog footer button{font-family:inherit;cursor:pointer}.cafe-topup-dialog .cafe-topup-message{color:#b33251}.cafe-topup-dialog button:disabled{opacity:.6;cursor:wait}
.cafe-topup-result{padding:12px 14px;border:1px solid #eadfd9;background:#fff5e6;border-radius:12px;font-size:13px;line-height:1.9;margin:12px 0}.cafe-topup-result[data-status="successful"]{background:#eef8f2;border-color:#cde9d7;color:#246b40}.cafe-topup-result button{display:block;margin-top:8px}.cafe-topup-result[hidden]{display:none}

.cafe-topup-dialog{box-sizing:border-box;width:520px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #e8ddd5;border-radius:26px;background:#fffdfb;color:#302925;box-shadow:0 28px 90px #201b1940;overflow:auto;overscroll-behavior:contain}
.cafe-topup-dialog *{box-sizing:border-box}
.cafe-topup-dialog::backdrop{background:#29232080;backdrop-filter:blur(5px)}
.cafe-topup-dialog #cafe-topup-form{display:block;margin:0;padding:0}
.cafe-topup-dialog .cafe-topup-heading{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:16px;margin:0;padding:28px;background:#342c27;color:#fff9f4;border:0}
.cafe-topup-dialog .cafe-topup-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:58px;border:1px solid #ffffff22;border-radius:17px;color:#fac6b1;background:#ffffff09}
.cafe-topup-dialog .cafe-topup-icon svg{width:32px;height:32px}
.cafe-topup-dialog .cafe-topup-heading small{display:block;font-size:11px;font-weight:500;color:#dabaaa;letter-spacing:0;margin-bottom:6px}
.cafe-topup-dialog .cafe-topup-heading h2{margin:0;padding:0;font-size:21px;line-height:1.7;font-weight:800;color:#fff9f4;letter-spacing:0}
.cafe-topup-dialog .cafe-topup-heading button{position:absolute;top:12px;left:12px;display:grid;place-items:center;width:32px;height:32px;min-width:0;padding:0;border:0;border-radius:50%;background:#ffffff0d;color:#f5e9e1;font:400 24px/1 sans-serif;cursor:pointer}
.cafe-topup-dialog .cafe-topup-heading button:hover{background:#ffffff24}
.cafe-topup-dialog .cafe-topup-body{padding:26px 28px 20px}
.cafe-topup-dialog .cafe-topup-intro{margin:0 0 24px;font-size:13px;line-height:2;color:#81746b}
.cafe-topup-dialog label{display:block;margin:0 0 10px;font-size:13px;line-height:1.7;font-weight:700;color:#473a32}
.cafe-topup-dialog .cafe-topup-amount{display:flex;flex-direction:row;align-items:center;gap:14px;height:76px;padding:0 20px;border:1.5px solid #dfd4cb;border-radius:15px;background:#fff;outline:none;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.cafe-topup-dialog .cafe-topup-amount:focus-within{outline:none;border-color:#f05478;box-shadow:0 0 0 4px #f0547810}
.cafe-topup-dialog .cafe-topup-amount input,.cafe-topup-dialog .cafe-topup-amount input:focus{appearance:none;display:block;flex:1;min-width:0;width:100%;height:auto;margin:0;padding:0;border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;color:#302925;font-family:inherit;font-size:32px;font-weight:750;line-height:1.5;direction:ltr;text-align:right;letter-spacing:.4px}
.cafe-topup-dialog .cafe-topup-amount input::placeholder{color:#bdb0a7;font-weight:400;opacity:1}
.cafe-topup-dialog .cafe-topup-amount span{flex:none;padding:0;font-size:13px;font-weight:500;color:#8b7b6e}
.cafe-topup-dialog .cafe-topup-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 12px}
.cafe-topup-dialog .cafe-topup-presets button{min-width:0;min-height:42px;margin:0;padding:8px 4px;border:1px solid #e9dfd8;border-radius:11px;background:#fbf7f3;color:#66554a;font-family:inherit;font-size:13px;font-weight:600;line-height:1.6;cursor:pointer;transition:background .15s,border-color .15s}
.cafe-topup-dialog .cafe-topup-presets button:hover{border-color:#daa999;background:#fff2ec}
.cafe-topup-dialog .cafe-topup-presets button[aria-pressed="true"]{background:#fff0f4;border-color:#ee7f99;color:#c63359}
.cafe-topup-dialog #cafe-topup-limits{display:block;margin:0;color:#9a8b80;font-size:11px;line-height:1.8}
.cafe-topup-dialog .cafe-topup-note{display:flex;align-items:center;gap:9px;margin-top:24px;padding:13px 12px;background:#f2f6f2;border-radius:12px;color:#5e7867;font-size:11px;line-height:1.9}
.cafe-topup-dialog .cafe-topup-note svg{flex:none;width:20px;height:20px}
.cafe-topup-dialog .cafe-topup-message{margin:12px 0 0;font-size:12px;line-height:1.9;color:#b33251}
.cafe-topup-dialog .cafe-topup-message:empty{display:none}
.cafe-topup-dialog footer{display:flex;flex-direction:column;gap:6px;margin:22px 0 0;padding:0;border:0}
.cafe-topup-dialog footer .page-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin:0;padding:12px 18px;border:0;border-radius:13px;background:#f05478;color:white;font-family:inherit;font-size:15px;font-weight:800;line-height:1.6;box-shadow:0 5px 14px #f054781d;cursor:pointer}
.cafe-topup-dialog footer .page-cta:hover{background:#df4267}
.cafe-topup-dialog footer .secondary{display:block;align-self:center;min-height:36px;margin:0;padding:7px 24px;border:0;border-radius:9px;background:transparent;color:#8b7b70;font-family:inherit;font-size:12px;font-weight:500;box-shadow:none;cursor:pointer}
.cafe-topup-dialog footer .secondary:hover{background:#f5eeea;color:#493c33}
.cafe-topup-dialog button:focus-visible{outline:2px solid #f05478;outline-offset:3px}
.cafe-topup-dialog button:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){.cafe-topup-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:22px}.cafe-topup-dialog .cafe-topup-heading{padding:24px 20px;gap:12px}.cafe-topup-dialog .cafe-topup-heading h2{font-size:18px}.cafe-topup-dialog .cafe-topup-icon{flex-basis:44px;width:44px;height:52px}.cafe-topup-dialog .cafe-topup-body{padding:22px 20px 16px}.cafe-topup-dialog .cafe-topup-intro{font-size:12px;margin-bottom:20px}.cafe-topup-dialog .cafe-topup-amount{height:68px;padding:0 16px}.cafe-topup-dialog .cafe-topup-amount input{font-size:29px}.cafe-topup-dialog .cafe-topup-presets{gap:6px}.cafe-topup-dialog .cafe-topup-presets button{font-size:11px}.cafe-topup-dialog .cafe-topup-note{margin-top:20px}}
