/* MANTA V51 — Withdrawal page reference refresh. All page selectors are scoped; shared header and bottom navigation are intentionally untouched. */
.withdraw-v51-page{max-width:760px;margin:0 auto;padding:14px 14px 28px;color:#152d55}
.wd51-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:166px;margin:2px 0 13px;padding:20px 19px;overflow:hidden;border:1px solid #187de9;border-radius:25px;background:radial-gradient(circle at 76% 18%,#35dfff7a,transparent 29%),radial-gradient(circle at 94% 85%,#00d8f6a6,transparent 27%),linear-gradient(115deg,#061b70 0%,#0756cb 56%,#087cda 100%);box-shadow:0 12px 28px #0759c52b}
.wd51-hero:before,.wd51-hero:after{content:"";position:absolute;z-index:-1;pointer-events:none;border:1px solid #75eaff55;border-radius:50%;transform:rotate(-18deg)}
.wd51-hero:before{width:270px;height:135px;right:-44px;bottom:-62px;box-shadow:0 0 0 12px #4adfff0d,0 0 0 25px #4adfff0b}
.wd51-hero:after{width:190px;height:100px;right:35px;top:-72px}
.wd51-hero-copy{position:relative;z-index:2;min-width:0;max-width:64%;color:#fff}
.wd51-hero-pill{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:7px 11px;border:1px solid #ffffff3b;border-radius:99px;background:#ffffff19;color:#f2fbff;font-size:10px;font-weight:950;letter-spacing:.35px;white-space:nowrap}
.wd51-hero-copy h1{margin:12px 0 5px;color:#fff;font-size:clamp(25px,6vw,33px);font-weight:1000;line-height:1.16;letter-spacing:-.5px;text-shadow:0 3px 12px #001d654a}
.wd51-hero-copy p{max-width:250px;margin:0;color:#dcefff;font-size:13px;line-height:1.55;font-weight:600}
.wd51-wallet-art{position:relative;flex:0 0 39%;height:126px;max-width:190px;min-width:120px;perspective:500px}
.wd51-wallet-card{position:absolute;z-index:2;right:17px;top:25px;width:112px;height:76px;display:grid;place-items:center;border:2px solid #8beaff;border-radius:18px;background:linear-gradient(145deg,#187fff,#0537a8 78%);box-shadow:0 9px 18px #001d6c80,inset 0 2px 4px #ffffff70;transform:rotate(-10deg) skewY(-2deg)}
.wd51-wallet-card:before{content:"";position:absolute;right:-2px;top:25px;width:28px;height:23px;border:2px solid #70cfff;border-right:0;border-radius:9px 0 0 9px;background:linear-gradient(135deg,#8eeaff,#1684f8)}
.wd51-wallet-card b{position:relative;z-index:1;color:#fff;font-size:43px;font-weight:1000;text-shadow:0 3px 4px #002879}
.wd51-wallet-card i{position:absolute;z-index:3;right:8px;top:34px;width:7px;height:7px;border-radius:50%;background:#d8faff;box-shadow:0 0 0 4px #ffffff30}
.wd51-coin{position:absolute;z-index:3;display:grid;place-items:center;border:2px solid #ffe49a;border-radius:50%;background:linear-gradient(145deg,#fff5b3,#ffc329 60%,#dc7d08);color:#a45606;font-size:15px;font-weight:1000;box-shadow:0 5px 9px #00256c60}
.wd51-coin-one{right:0;bottom:13px;width:35px;height:35px}.wd51-coin-two{right:27px;bottom:2px;width:27px;height:27px;font-size:12px}
.wd51-rise{position:absolute;right:3px;top:-3px;color:#9af6ff;font-size:56px;font-weight:900;line-height:1;transform:rotate(-12deg);text-shadow:0 2px 12px #00caff}
.wd51-balance-card{display:flex;align-items:center;gap:14px;min-height:84px;margin:0 0 13px;padding:14px 17px;border:1px solid #d9e9fb;border-radius:21px;background:linear-gradient(110deg,#fff 0%,#f4f8ff 100%);box-shadow:0 8px 23px #164d8710}
.wd51-balance-icon{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border:1px solid #cce7ff;border-radius:15px;background:linear-gradient(145deg,#e6f5ff,#c8eaff);color:#0871de;font-size:28px;font-weight:950;box-shadow:inset 0 1px #fff}
.wd51-balance-card>div{display:grid;gap:3px;min-width:0}.wd51-balance-card small{color:#60738f;font-size:12px;font-weight:750}.wd51-balance-card strong{color:#0754c5;font-size:clamp(20px,5vw,27px);font-weight:1000;line-height:1.15;overflow-wrap:anywhere}
.wd51-admin-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 13px;padding:13px 15px;border:1px solid #cfe5f7;border-radius:16px;background:#eff8ff;color:#48627f}
.wd51-admin-note>span,.wd51-security-note>span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#d8ecff;color:#126bd0;font-size:17px;font-weight:950}
.wd51-admin-note p,.wd51-security-note p,.wd51-final-note p{margin:0;font-size:12px;line-height:1.65;color:#60738e}
.wd51-form-card{position:relative;overflow:hidden;padding:16px 15px 17px;border:1px solid #dce8f5;border-radius:24px;background:linear-gradient(160deg,#fff 0%,#fbfdff 100%);box-shadow:0 12px 34px #173d7110}
.wd51-form-heading{position:relative;display:flex;flex-direction:column;gap:10px;margin:-16px -15px 16px;padding:0 15px 13px;border-bottom:1px solid #e5effa}
.wd51-section-kicker{display:flex;align-items:center;gap:8px;min-height:40px;margin:0 -15px;padding:9px 16px;border-radius:0 0 16px 16px;background:linear-gradient(105deg,#0757cf,#087ee8 72%,#13afe8);color:#fff;font-size:13px;font-weight:950;letter-spacing:.1px;box-shadow:0 6px 15px #0879dc26}
.wd51-form-heading h2{margin:0 2px;color:#102f68;font-size:21px;line-height:1.25;font-weight:1000}
.wd51-amount-field{margin-top:0;gap:9px}.wd51-amount-field label{color:#173a78;font-size:14px;font-weight:900}
.wd51-amount-field .wd-amount-wrap{min-height:54px;border:1px solid #c7dbf7;border-radius:14px;background:linear-gradient(110deg,#f8fbff,#eff6ff);box-shadow:inset 0 1px 3px #0c4b9910}
.wd51-amount-field .wd-amount-wrap>span{color:#145bbb;font-size:26px}.wd51-amount-field .wd-amount-wrap input{font-size:17px;font-weight:750}.wd51-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:2px 0 3px}
.wd51-presets button{min-height:43px;border:1px solid #d0def0;border-radius:13px;background:linear-gradient(145deg,#fff,#f4f8ff);color:#234d8e;font-size:12px;font-weight:950;box-shadow:0 3px 8px #123e7410;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}
.wd51-presets button:active{transform:scale(.97)}.wd51-presets button.active{border-color:#0877ed;background:linear-gradient(120deg,#075bce,#078ce8);color:#fff;box-shadow:0 6px 14px #0876dc36}
.wd51-amount-field>small{font-size:11px;color:#8391a6;line-height:1.5}
.wd51-security-note{display:flex;align-items:flex-start;gap:9px;margin:13px 0 16px;padding:10px 11px;border:1px solid #d8e9f7;border-radius:14px;background:#f1f8ff}
.wd51-security-note>span{width:24px;height:24px;flex-basis:24px;font-size:14px}.wd51-security-note p{font-size:11px;color:#516b8b}
.wd51-method-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 1px 11px}
.wd51-method-heading>div{min-width:0}.wd51-method-heading .wd51-section-kicker{display:block;min-height:0;margin:0 0 5px;padding:0;border-radius:0;background:none;box-shadow:none;color:#2472c4;font-size:9px;letter-spacing:1.2px}
.wd51-method-heading h3{margin:0 0 3px;color:#12336d;font-size:16px;line-height:1.35;font-weight:1000}.wd51-method-heading p{margin:0;color:#7c8ba1;font-size:11px;line-height:1.5}
.wd51-add-account{flex:0 0 auto;min-height:38px;padding:8px 10px;border-color:#bfd8f4;border-radius:12px;color:#145cbb;font-size:11px;background:#fafdff}
.wd51-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 14px}
.wd51-account-card{position:relative;display:grid;grid-template-columns:45px minmax(0,1fr) 19px;gap:8px;align-items:center;min-height:83px;padding:10px 9px 9px;border:1px solid #d7e4f4;border-radius:16px;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 5px 14px #1747790c;text-align:left;transition:transform .18s,border-color .18s,box-shadow .18s,background .18s}
.wd51-account-card:active{transform:scale(.985)}.wd51-account-card.selected{padding:9px 8px 8px;border:2px solid #0874e9;background:linear-gradient(145deg,#fff,#edf6ff);box-shadow:0 7px 16px #0c66ca1c,inset 0 0 0 1px #fff}
.wd51-brandmark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:44px;height:46px;flex:0 0 44px;border-radius:12px;background:#f2f6ff;color:#2f4e88;line-height:1;overflow:hidden}
.wd51-brandmark-bkash{background:#fff0f6;color:#d91a79;flex-direction:row;gap:0}.wd51-brandmark-bkash b{font-size:34px;font-weight:1000;line-height:1}.wd51-brandmark-bkash i{font-style:normal;font-size:16px;transform:rotate(-28deg);color:#eb2e86}
.wd51-brandmark-nagad{background:#fff4eb;color:#dd4b22}.wd51-brandmark-nagad i{font-style:normal;font-size:22px;line-height:1}.wd51-brandmark-nagad b{font-size:12px;font-weight:1000}
.wd51-brandmark-rocket{background:#f6edff;color:#7025a4}.wd51-brandmark-rocket i{font-style:normal;font-size:20px;line-height:1;transform:rotate(-25deg)}.wd51-brandmark-rocket b{font-size:8px;font-weight:1000;letter-spacing:.3px}
.wd51-brandmark-bank{background:#edf5ff;color:#1456b3}.wd51-brandmark-bank i{font-style:normal;font-size:23px;line-height:1}.wd51-brandmark-bank b{font-size:8px;font-weight:1000;letter-spacing:.5px}
.wd51-brandmark-generic{background:#edf5ff;color:#1456b3;font-size:23px;font-weight:1000}
.wd51-account-card .wd-account-text{gap:3px}.wd51-account-card .wd-account-text b{color:#183b71;font-size:12px;line-height:1.25}.wd51-account-card .wd-account-text strong{color:#5a6e89;font-size:11px;line-height:1.3;letter-spacing:0}.wd51-account-card .wd-account-text small{color:#8a98ab;font-size:9px;line-height:1.35}
.wd51-account-card .wd-check{width:19px;height:19px;background:#edf2fa;color:transparent;border:1px solid #d8e3f0;font-size:10px}.wd51-account-card.selected .wd-check{background:#0873e8;color:#fff;border-color:#0873e8}
.wd51-empty{grid-column:1/-1;padding:16px;border:1px dashed #bed4ef;border-radius:15px;background:#f7fbff}.wd51-empty b{font-size:13px;color:#244a81}.wd51-empty p{font-size:11px;line-height:1.5}
.wd51-summary{display:flex;align-items:flex-start;gap:11px;margin:14px 0;padding:13px;border:1px solid #cdece5;border-radius:16px;background:linear-gradient(110deg,#edfff9,#fbfffe)}
.wd51-summary>div{display:grid;gap:4px;min-width:0;flex:1}.wd51-summary>div>small{font-size:10px;line-height:1.5;color:#758e8b}.wd51-summary strong{font-size:21px;line-height:1.2;color:#164263}.wd51-summary #wdFeePreview{font-size:10px;overflow-wrap:anywhere}
.wd51-submit{justify-content:flex-start;min-height:58px;margin-top:7px;border:1px solid #1a9bfa;border-radius:16px;background:linear-gradient(105deg,#0758ce,#087de9 65%,#05a8e8);box-shadow:0 9px 19px #0b66ca2c,inset 0 1px #ffffff50;font-size:15px}.wd51-submit>span{font-size:23px}.wd51-submit b{margin-left:auto}
.wd51-final-note{display:flex;align-items:flex-start;gap:9px;margin:12px 0 0;padding:10px 11px;border:1px solid #f1df9d;border-radius:13px;background:linear-gradient(105deg,#fff4c7,#fff9e5)}
.wd51-final-note>span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#ffdf78;color:#81520b;font-size:15px;font-weight:1000}.wd51-final-note p{font-size:10px;color:#765f2f}
.wd51-history{margin:22px 0 0}.wd51-history>header{align-items:center;gap:10px}.wd51-history>header>div{min-width:0}.wd51-history .wd-overline{display:block;margin-bottom:4px;color:#2675bd;font-size:9px;font-weight:950;letter-spacing:1.1px}.wd51-history h2{margin:0;color:#173768;font-size:21px;font-weight:1000}.wd51-history .wd-refresh{border-color:#c9dcf2;border-radius:99px;background:#fff;color:#145ab4;font-size:12px;box-shadow:0 4px 10px #183e720b}
.wd51-history .wd-history-list{padding:6px 14px;border:1px solid #dfe9f4;border-radius:18px;background:linear-gradient(150deg,#fff,#f9fbff);box-shadow:0 7px 18px #183d700b}
/* Secure confirmation dialog — scoped to this one dialog only. */
#modal:has(.wd51-confirm){align-items:center!important;justify-content:center!important;padding:16px!important;background:rgba(3,17,51,.68)!important;backdrop-filter:blur(8px)}
#modal:has(.wd51-confirm) .sheet{width:min(510px,100%)!important;max-height:90dvh!important;margin:auto!important;padding:23px 22px 22px!important;border:1px solid #dcecff;border-radius:27px!important;background:linear-gradient(155deg,#fff 0%,#f7fbff 100%);box-shadow:0 27px 80px #00184970!important;overflow-y:auto}
#modal:has(.wd51-confirm) .modal-close{top:12px!important;right:12px!important;width:38px;height:38px;border-radius:50%;background:#f4f8ff}
.wd51-confirm{display:flex;flex-direction:column;align-items:center;text-align:center;color:#102e69}
.wd51-lock-orb{display:grid;place-items:center;width:102px;height:102px;margin:0 auto 13px;border:5px solid #dcf7ff;border-radius:50%;background:radial-gradient(circle at 32% 22%,#67e7ff,#0879f4 56%,#092cbd);box-shadow:0 9px 23px #0874db42,0 0 0 6px #bfeeff50}
.wd51-lock-orb svg{width:59px;height:59px;filter:drop-shadow(0 3px 4px #003b9c70)}
.wd51-confirm-kicker{margin:0 0 5px;color:#4488bb;font-size:9px;font-weight:950;letter-spacing:1.4px}
.wd51-confirm h2{margin:2px 0 7px;color:#082f83;font-size:27px;line-height:1.25;font-weight:1000}
.wd51-confirm .wd-confirm-copy{max-width:390px;margin:0 auto 14px;color:#657995;font-size:13px;line-height:1.7}
.wd51-confirm .wd-confirm-summary{width:100%;margin:0 0 15px;padding:13px 14px;border:1px solid #d8e7fa;border-radius:16px;background:linear-gradient(130deg,#f4f9ff,#fff);text-align:left}
.wd51-password-label{width:100%;margin:0 0 6px;text-align:left}.wd51-password-label label{color:#193b70;font-size:13px;font-weight:900}
.wd51-password-wrap{display:flex;align-items:center;gap:9px;width:100%;min-height:57px;padding:0 11px;border:1px solid #bad3f4;border-radius:15px;background:#f7faff;box-shadow:inset 0 1px 2px #0a4a9410}
.wd51-password-wrap>span{display:grid;place-items:center;width:30px;flex:0 0 30px;color:#1764c1;font-size:23px}
#wdConfirmPassword{display:block;flex:1;width:100%;min-width:0;min-height:52px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#172e50;font-size:16px;padding:10px 0}
#wdConfirmPassword::placeholder{color:#91a2bb}
.wd51-eye{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:11px;background:transparent;color:#50719d;font-size:22px;cursor:pointer}
.wd51-eye:focus-visible{outline:2px solid #2879dc;outline-offset:2px}
.wd51-confirm .wd-confirm-warning{width:100%;text-align:left;margin:10px 0 14px;border-radius:12px;font-size:11px}
.wd51-confirm-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:55px;border:1px solid #1ba7ef;border-radius:15px;background:linear-gradient(105deg,#075bca,#087fe8 65%,#09a8e8);color:#fff;font-size:16px;font-weight:950;box-shadow:0 8px 18px #0769cc32,inset 0 1px #ffffff45}
.wd51-confirm-submit>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fff;color:#0877d5;font-size:17px}
.wd51-confirm-submit:disabled{opacity:.6;cursor:wait}.wd51-confirm-cancel{width:100%;min-height:44px;margin-top:8px;border-radius:13px}
@media(max-width:480px){
 .withdraw-v51-page{padding:11px 11px 24px}.wd51-hero{min-height:151px;padding:17px 15px;border-radius:22px}.wd51-hero-copy{max-width:65%}.wd51-hero-copy h1{font-size:27px}.wd51-hero-copy p{font-size:11px}.wd51-wallet-art{height:114px;min-width:112px}.wd51-wallet-card{right:12px;top:23px;width:96px;height:67px}.wd51-wallet-card b{font-size:36px}.wd51-rise{font-size:47px}.wd51-balance-card{min-height:76px;padding:12px 14px}.wd51-balance-icon{width:46px;height:46px;flex-basis:46px}.wd51-form-card{padding:14px 12px 15px;border-radius:21px}.wd51-form-heading{margin:-14px -12px 14px;padding:0 12px 11px}.wd51-section-kicker{margin:0 -12px;padding:9px 13px}.wd51-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.wd51-presets button{min-height:40px;padding:8px 3px;font-size:11px}.wd51-method-heading{align-items:flex-end}.wd51-method-heading h3{font-size:15px}.wd51-add-account{padding:8px;font-size:10px}.wd51-payment-grid{gap:7px}.wd51-account-card{grid-template-columns:39px minmax(0,1fr) 17px;gap:6px;min-height:78px;padding:8px 7px}.wd51-account-card.selected{padding:7px 6px}.wd51-brandmark{width:38px;height:42px;flex-basis:38px}.wd51-account-card .wd-account-text b{font-size:11px}.wd51-account-card .wd-account-text strong{font-size:10px}.wd51-account-card .wd-account-text small{font-size:8px}.wd51-account-card .wd-check{width:17px;height:17px;font-size:9px}.wd51-summary{padding:11px;gap:9px}.wd51-summary strong{font-size:19px}.wd51-history h2{font-size:19px}
 #modal:has(.wd51-confirm) .sheet{padding:20px 17px 18px!important;border-radius:24px!important}.wd51-lock-orb{width:90px;height:90px}.wd51-lock-orb svg{width:53px;height:53px}.wd51-confirm h2{font-size:25px}
}
@media(max-width:350px){.wd51-hero{min-height:140px;padding:14px 12px}.wd51-hero-copy{max-width:68%}.wd51-hero-copy h1{font-size:24px}.wd51-hero-pill{font-size:8px}.wd51-wallet-art{min-width:95px}.wd51-wallet-card{right:7px;width:83px}.wd51-coin-one{right:-3px}.wd51-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.wd51-account-card{grid-template-columns:35px minmax(0,1fr) 16px}.wd51-brandmark{width:34px;flex-basis:34px}}
@media(prefers-reduced-motion:reduce){.wd51-presets button,.wd51-account-card{transition:none}}
/* Reuse the payment brand marks already used by the Deposit channel selector. */
.wd51-brandmark{background:transparent;overflow:visible}.wd51-brandmark .dep50-logo-mark{width:42px;height:42px;flex:0 0 42px;border-radius:12px;font-size:27px}.wd51-brandmark .dep50-logo-mark svg{width:38px;height:31px}
@media(max-width:480px){.wd51-brandmark .dep50-logo-mark{width:37px;height:37px;flex-basis:37px}.wd51-brandmark .dep50-logo-mark svg{width:34px;height:28px}}
@media(max-width:350px){.wd51-brandmark .dep50-logo-mark{width:33px;height:35px;flex-basis:33px}}
.wd51-no-account{border-style:dashed;border-color:#cbd9ea;background:linear-gradient(145deg,#f7faff,#fff);box-shadow:none}.wd51-no-account .wd-account-text b{color:#60748f}.wd51-no-account .wd-account-text small{font-size:10px;color:#2a75c6;font-weight:850}.wd51-add-mark{display:grid;place-items:center;width:20px;height:20px;border:1px solid #c6dcf7;border-radius:50%;background:#eaf4ff;color:#176aca;font-size:16px;font-weight:900}
