﻿.wallet-request-modal{width:min(440px,calc(100vw - 28px));border:1px solid #dce9fa;border-radius:24px;padding:30px;background:radial-gradient(ellipse at top right,#edf6ff,transparent 65%),#fff;box-shadow:0 28px 90px #08295535}
.wallet-request-modal[open],.notification-panel[open]{animation:request-open .24s ease-out}.wallet-request-modal::backdrop{background:#061b3b66;backdrop-filter:blur(5px)}.wallet-request-modal #modal-eyebrow{display:none}.wallet-request-modal .modal-heading{margin-bottom:26px}.wallet-request-modal h2{font-size:25px;letter-spacing:-.6px}.wallet-request-modal .request-amount{font-size:13px;color:#56708d;display:block}.request-amount>span{display:flex;align-items:center;gap:12px;border:1px solid #d4e4f8;background:#f6faff;border-radius:15px;padding:12px 16px;margin-top:10px}.request-amount>span>span{font-size:25px;color:#0b5fff}.wallet-request-modal .request-amount input{border:0;background:transparent;padding:6px 0;width:100%;min-width:0;box-shadow:none;font-size:28px;font-weight:650;color:#12345b;outline:none}.request-amount>span:focus-within{border-color:#0b5fff;box-shadow:0 0 0 3px #0b5fff12}.wallet-request-modal #modal-submit{width:100%;margin-top:20px;border-radius:12px;box-shadow:0 5px 0 #0645b4,0 9px 20px #0b5fff25;transition:transform .18s,box-shadow .18s}.wallet-request-modal #modal-submit:active{transform:translateY(3px);box-shadow:0 2px 0 #0645b4}.wallet-request-modal #modal-error{font-size:12px;line-height:1.7;margin-top:14px}.request-balance{display:flex;justify-content:space-between;align-items:center;border-radius:12px;background:#edf5ff;padding:15px;margin-bottom:22px;font-size:12px;color:#637e9f}.request-balance strong{color:#123e94;font-size:20px}.request-notification{padding:18px;border:1px solid #e0eafa;background:linear-gradient(140deg,#fff,#f6faff);border-radius:16px;margin:12px 0}.request-notification-heading{display:flex;justify-content:space-between;gap:12px;color:#173a65}.request-notification time,.request-notification small{display:block;font-size:11px;color:#7b8da5;margin-top:8px}.request-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:20px;background:#eef2f7;color:#52657d;margin-top:14px;font-size:11px;font-weight:650}.request-status>span{width:7px;height:7px;background:currentColor;border-radius:50%}.request-status.pending{background:#fff4d6;color:#987000}.request-status.approved{background:#e0f7eb;color:#008653}.request-status.rejected{background:#ffebee;color:#c13850}.request-notification p{font-size:12px;color:#617b98;margin:10px 0}.request-empty{padding:24px;text-align:center;color:#70839d}@keyframes request-open{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:480px){.wallet-request-modal{padding:24px 20px}}@media(prefers-reduced-motion:reduce){.wallet-request-modal[open],.notification-panel[open]{animation:none}.wallet-request-modal #modal-submit{transition:none}}

@supports (transition-behavior:allow-discrete){
.wallet-request-modal{opacity:0;transform:translateY(8px) scale(.985);transition:opacity .2s,transform .2s,display .2s allow-discrete,overlay .2s allow-discrete}
.wallet-request-modal[open]{opacity:1;transform:none}
.wallet-request-modal::backdrop{opacity:0;transition:opacity .2s,display .2s allow-discrete,overlay .2s allow-discrete}
.wallet-request-modal[open]::backdrop{opacity:1}
@starting-style{.wallet-request-modal[open]{opacity:0;transform:translateY(8px) scale(.985)}.wallet-request-modal[open]::backdrop{opacity:0}}
}
@media(prefers-reduced-motion:reduce){.wallet-request-modal,.wallet-request-modal::backdrop{transition:none}}

/* Add Investment reference: scoped to this dialog; existing request controls remain intact. */
.wallet-request-modal.investment-request-modal{width:min(708px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:46px 39px 36px;border-radius:30px;background:radial-gradient(ellipse at 100% 0,#d7eaff 0,transparent 45%),#fff;color:#07143c;box-shadow:0 30px 80px #071b4545}
.investment-request-modal .modal-heading{margin:0 0 0 104px;min-height:48px;padding-right:12px}
.investment-request-modal h2{font-size:34px;line-height:1.2;letter-spacing:-1px;color:#07143c}
.investment-request-modal #modal-close{position:absolute;top:23px;right:23px;width:50px;height:50px;border-radius:50%;background:#fff;color:#10224c;font-size:30px;display:grid;place-items:center}
.investment-dialog-intro{position:relative;min-height:124px;margin-bottom:24px;padding:8px 190px 0 104px}
.investment-dialog-intro p{font-size:19px;line-height:1.5;color:#4a6088;margin:0}
.investment-dialog-icon{position:absolute;left:0;top:-43px;width:81px;height:81px;border-radius:19px;display:grid;place-items:center;background:#e7f1ff;color:#007dff}
.investment-dialog-icon svg{width:40px;height:40px}
.investment-dialog-intro img{position:absolute;width:182px;height:145px;object-fit:contain;right:7px;top:-36px;pointer-events:none}
.investment-request-modal #modal-body>label{display:block;font-size:19px;font-weight:650;color:#07143c;margin:0 0 24px}
.investment-request-modal .request-amount>span{border-color:#8cbaff;border-radius:17px;padding:12px 24px;min-height:76px;background:#f7faff;margin-top:10px}
.investment-request-modal .request-amount>span>span{font-size:36px;font-weight:700}
.investment-request-modal .request-amount input{font-size:36px;color:#102e5b}
.investment-request-modal .request-amount input::placeholder{color:#919eb9;opacity:1}
.investment-request-modal select{width:100%;min-height:62px;border:1px solid #cfd9ed;border-radius:16px;margin-top:10px;background-color:#fff;color:#0b193d;font-size:17px;padding:14px 18px}
.investment-request-modal .field-note{position:relative;border-radius:17px;background:#eaf3ff;color:#3d5983;font-size:17px;line-height:1.5;padding:16px 20px 16px 66px;margin:0}
.investment-request-modal .field-note:before{content:'i';position:absolute;left:25px;top:24px;border:2px solid #0062ff;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;color:#0062ff;font-weight:700;font-style:normal}
.investment-request-modal #modal-submit{margin-top:32px;min-height:64px;border-radius:17px;font-size:21px;font-weight:700;background:#005cff;color:white;border:0;box-shadow:0 7px 18px #005cff18}
.investment-request-modal #modal-submit:hover{background:#004fe0;transform:translateY(-1px)}
.investment-request-modal #modal-submit:focus-visible,.investment-request-modal #modal-close:focus-visible{outline:3px solid #73b6ff;outline-offset:3px}
@media(max-width:600px){.wallet-request-modal.investment-request-modal{padding:30px 22px 25px;border-radius:24px}.investment-request-modal .modal-heading{margin-left:64px;padding-right:18px;min-height:36px}.investment-request-modal h2{font-size:24px}.investment-request-modal #modal-close{width:34px;height:34px;top:12px;right:12px;font-size:24px}.investment-dialog-intro{padding:4px 0 0 64px;min-height:92px;margin-bottom:12px}.investment-dialog-intro p{font-size:14px}.investment-dialog-icon{width:50px;height:56px;top:-33px;border-radius:13px}.investment-dialog-icon svg{width:28px;height:28px}.investment-dialog-intro img{display:none}.investment-request-modal #modal-body>label{font-size:16px;margin-bottom:20px}.investment-request-modal select{font-size:14px;padding:12px;min-height:55px}.investment-request-modal .request-amount>span{min-height:65px;padding:10px 16px}.investment-request-modal .request-amount input{font-size:29px}.investment-request-modal .field-note{font-size:14px;padding:14px 14px 14px 48px}.investment-request-modal .field-note:before{left:15px;top:19px;width:22px;height:22px}.investment-request-modal #modal-submit{font-size:18px;min-height:56px;margin-top:24px}}
.investment-dialog-art{position:absolute;width:182px;height:145px;right:7px;top:-36px;background:url('../images/fintech-reference/customer-illustrations.png') right bottom/200% 200% no-repeat;pointer-events:none}
@media(max-width:600px){.investment-dialog-art{display:none}}
/* Add Money uses the same reference dialog family without altering submission behavior. */
.wallet-request-modal.topup-request-modal{width:min(686px,calc(100vw - 32px));padding:46px 40px 44px}
.topup-request-modal .investment-dialog-intro{min-height:102px;margin-bottom:22px;padding-right:175px}
.topup-request-modal .investment-dialog-art{background-image:url('../images/fintech-reference/illustrations.png');background-position:left top;width:160px;height:140px;top:-43px;right:5px}
.topup-request-modal .request-amount>span{min-height:86px}
.topup-request-modal .request-amount>span>span{padding-right:15px;border-right:1px solid #8393b4;line-height:1.2}
.topup-quick-add{margin-top:30px}.topup-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.topup-quick-heading h3{font-size:20px;color:#07143c;margin:0}.topup-quick-heading>span{font-size:14px;color:#62779a}.topup-quick-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.topup-quick-options button{border:1px solid #d8e5fc;border-radius:15px;background:linear-gradient(140deg,#f2f7ff,#eaf2ff);color:#0a1944;min-height:54px;font-size:19px;font-weight:700;cursor:pointer;box-shadow:0 3px 7px #123c7710;transition:background .18s,transform .18s,border-color .18s}
.topup-quick-options button:hover{border-color:#83b1ff;transform:translateY(-2px)}.topup-quick-options button[aria-pressed=true]{background:#dbeaff;border-color:#0062ff;color:#0054dc}.topup-quick-options button:focus-visible{outline:3px solid #73b6ff;outline-offset:3px}.topup-request-modal #modal-submit{margin-top:40px}
@media(max-width:600px){.wallet-request-modal.topup-request-modal{padding:30px 22px}.topup-request-modal .investment-dialog-intro{padding-right:0;min-height:86px;margin-bottom:12px}.topup-quick-heading{align-items:flex-start;flex-direction:column;gap:6px}.topup-quick-heading h3{font-size:17px}.topup-quick-heading>span{font-size:12px}.topup-quick-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.topup-quick-options button{font-size:17px;min-height:48px}.topup-request-modal .request-amount>span{min-height:70px}.topup-request-modal #modal-submit{margin-top:28px}}
@media(prefers-reduced-motion:reduce){.topup-quick-options button{transition:none}}
/* Profile reference dialogs: presentation only; original form names and validation retained. */
.profile-reference-modal{width:min(884px,calc(100vw - 32px));padding:34px 32px 38px;border-radius:30px;background:radial-gradient(ellipse at 100% 0,#d4e7ff,transparent 43%),#fff;color:#07143c;box-shadow:0 28px 80px #071b4540;max-height:calc(100dvh - 32px);scrollbar-width:thin;scrollbar-color:#929bb4 transparent}
.profile-reference-modal::backdrop{background:#06204b60;backdrop-filter:blur(6px)}
.profile-reference-modal .modal-heading{position:relative;min-height:66px;padding-right:225px;margin-bottom:0}
.profile-reference-modal #modal-eyebrow{display:block;font-size:13px;font-weight:750;letter-spacing:1.4px;color:#0062ff}
.profile-reference-modal h2{font-size:31px;line-height:1.2;letter-spacing:-.8px;color:#081338}
.profile-reference-modal #modal-close{position:absolute;right:-8px;top:-9px;border-radius:50%;background:#fff;width:48px;height:48px;display:grid;place-items:center;color:#0b2562;font-size:32px;z-index:2}
.profile-reference-modal .profile-dialog-intro{max-width:580px;padding-right:140px;font-size:16px;line-height:1.6;color:#47628f;margin:8px 0 38px;min-height:58px}
.profile-reference-art{position:absolute;right:48px;top:2px;width:156px;height:118px;display:grid;place-items:center;background:linear-gradient(140deg,#e5f4ff,#bfd9ff);border:3px solid #98bdff;border-radius:22px;box-shadow:0 9px 17px #2160b52b;transform:perspective(600px) rotateY(-9deg);color:#0062ff;pointer-events:none}
.profile-reference-art>svg{width:85px;height:85px;stroke-width:1.5}.profile-reference-art>span{position:absolute;right:-17px;bottom:-12px;width:57px;height:57px;border-radius:50%;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#28b8ff,#0056ff);box-shadow:0 7px 12px #0868d933}.profile-reference-art>span svg{width:32px;height:32px}
.profile-reference-modal .form-grid{gap:22px 38px;margin-bottom:27px}
.profile-reference-modal #modal-body label{display:flex;flex-wrap:wrap;align-items:center;gap:0 5px;font-size:16px;font-weight:650;color:#0a1539;margin:0;min-width:0}
.profile-reference-modal .profile-required{color:#e80025;order:1}
.profile-reference-input{display:flex;align-items:stretch;border:1px solid #d6e2f8;border-radius:14px;min-height:56px;width:100%;margin-top:9px;order:2;overflow:hidden;background:#ffffffb8;box-shadow:0 1px 2px #09255a04}
.profile-reference-input>span{width:58px;flex-shrink:0;display:grid;place-items:center;border-right:1px solid #dce6f7;background:#f7faff;color:#0062ff}.profile-reference-input>span svg{width:27px;height:27px}
.profile-reference-modal .profile-reference-input input{border:0;box-shadow:none;outline:none;background:transparent;margin:0;border-radius:0;min-width:0;width:100%;padding:13px;font-size:16px;color:#0b193d;font-weight:550}
.profile-reference-input:focus-within{border-color:#75aaff;box-shadow:0 0 0 3px #0062ff14}.profile-reference-input input::placeholder{color:#627aa1;font-weight:400}
.profile-password-toggle{border:0;background:#edf4ff;color:#345d9c;padding:0 10px;font-size:12px;cursor:pointer}.profile-password-toggle:focus-visible{outline:2px solid #0062ff;outline-offset:-3px}
.profile-reference-modal .field-note{font-size:15px;line-height:1.6;color:#496793}
.bank-reference-modal .field-note{background:#edf4ff;border-radius:15px;padding:18px 22px 18px 62px;position:relative;margin:8px 0 26px}.bank-reference-modal .field-note:before{content:'i';display:grid;place-items:center;position:absolute;left:23px;top:25px;width:27px;height:27px;border:2px solid #0062ff;border-radius:50%;color:#0062ff;font-weight:700}
.profile-reference-modal #modal-submit{min-height:64px;border:0;border-radius:16px;background:#005cff;color:#fff;font-size:21px;font-weight:700;box-shadow:0 6px 14px #005cff20;margin-top:8px}.profile-reference-modal #modal-submit:hover{background:#004cda}.profile-reference-modal #modal-close:focus-visible,.profile-reference-modal #modal-submit:focus-visible{outline:3px solid #79b7ff;outline-offset:3px}
.profile-reference-section,.profile-reference-modal .profile-address-form-title{display:flex;align-items:center;gap:17px;font-size:23px;letter-spacing:-.4px;color:#09133a;background:linear-gradient(110deg,#edf5ff,#deebff);padding:13px 16px;border-radius:17px 17px 4px 4px;margin:28px 0 23px}
.profile-reference-section svg{width:30px;height:30px;color:#0062ff}.personal-reference-modal .form-grid{padding:0 14px 24px;border-bottom:1px solid #e8effa}.personal-reference-modal .profile-dialog-intro{max-width:680px}.personal-reference-modal .field-note{padding:0 14px;margin-bottom:22px}
@media(max-width:650px){.profile-reference-modal{padding:28px 20px;border-radius:23px}.profile-reference-modal .modal-heading{padding-right:25px;min-height:58px}.profile-reference-modal h2{font-size:25px}.profile-reference-modal #modal-eyebrow{font-size:11px}.profile-reference-modal #modal-close{width:33px;height:33px;font-size:26px;right:-8px;top:-14px}.profile-reference-art{display:none}.profile-reference-modal .profile-dialog-intro{padding-right:0;font-size:14px;margin-bottom:24px;min-height:0}.profile-reference-modal .form-grid{grid-template-columns:1fr;gap:19px;margin-bottom:24px}.profile-reference-modal #modal-body label{font-size:14px}.profile-reference-modal .profile-reference-input input{font-size:15px}.profile-reference-input>span{width:46px}.profile-reference-modal .field-note{font-size:13px}.profile-reference-modal #modal-submit{font-size:17px;min-height:56px}.profile-reference-section,.profile-reference-modal .profile-address-form-title{font-size:19px;padding:12px;gap:10px}.personal-reference-modal .form-grid{padding:0 0 18px}}
@media(prefers-reduced-motion:no-preference){.profile-reference-modal[open]{animation:request-open .24s ease-out}}
