.crypto-wallet{margin-top:1.25rem;padding:clamp(1rem,2.5vw,1.7rem);overflow:hidden;border:1px solid #b9dfd1;background:linear-gradient(145deg,#e8f8f2 0%,#f4fbf8 52%,#fff0cf 100%);box-shadow:0 14px 36px rgba(32,130,104,.1)}
.crypto-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.crypto-heading h2{margin:.2rem 0 .35rem;font-size:clamp(1.25rem,2.4vw,1.7rem)}.crypto-heading p{margin:0;color:var(--text-muted,#64706d);font-size:.92rem}.crypto-kicker{font-weight:800;font-size:.7rem;letter-spacing:.14em;color:#208268}.crypto-rate-state{flex:none;padding:.42rem .65rem;border-radius:999px;background:#e6f5ef;color:#25745f;font-size:.72rem;font-weight:750}
.crypto-assets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin:1.25rem 0}.crypto-asset{appearance:none;text-align:left;border:1px solid #c6ddd5;background:#fff;border-radius:16px;padding:.75rem;cursor:pointer;box-shadow:0 5px 14px rgba(35,91,73,.06);transition:transform .16s,border-color .16s,box-shadow .16s}.crypto-asset:hover{transform:translateY(-2px);border-color:#61b99e}.crypto-asset.active{border-color:#168565;background:#e5f6ef;box-shadow:0 0 0 3px rgba(22,133,101,.16)}.crypto-asset-top{display:flex;align-items:center;gap:.5rem}.crypto-asset img{width:30px;height:30px;object-fit:contain;border-radius:50%}.crypto-asset b{display:block;font-size:.85rem;color:#173c31}.crypto-asset small{display:block;color:#65746f;font-size:.67rem}.crypto-asset-balance{display:block;margin-top:.6rem;color:#244b3f;font-size:.73rem;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crypto-skeleton{height:86px;border-radius:16px;background:linear-gradient(90deg,#dfeee8,#f7fbf9,#dfeee8);background-size:200% 100%;animation:crypto-shimmer 1.3s infinite}@keyframes crypto-shimmer{to{background-position:-200% 0}}
.crypto-exchange-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:1rem}.crypto-converter,.crypto-history{border:1px solid #e3eae7;background:rgba(255,255,255,.82);border-radius:18px;padding:1rem}.crypto-convert-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:.9rem}.crypto-convert-title span{display:block;color:#71807b;font-size:.75rem}.crypto-convert-title strong{font-size:1rem}.crypto-convert-title img{display:block;width:42px;height:42px;padding:3px;object-fit:contain;border:1px solid #343947;border-radius:50%;background:#20232e}.crypto-converter label{display:flex;justify-content:space-between;font-weight:700;font-size:.82rem;margin-bottom:.4rem}.crypto-converter label small{font-weight:500;color:#74807d}.crypto-amount-field{display:flex;align-items:center;border:1px solid #dce5e2;background:#fff;border-radius:13px;padding:0 .75rem}.crypto-amount-field:focus-within{border-color:#2c9d7e;box-shadow:0 0 0 3px rgba(44,157,126,.11)}.crypto-amount-field span{font-weight:800;color:#40504b}.crypto-amount-field input{width:100%;border:0;outline:0;padding:.8rem .45rem;font:inherit;font-size:1.1rem;background:transparent}.crypto-amount-field button{border:0;background:#e9f5f1;color:#247960;border-radius:7px;padding:.35rem .5rem;font-size:.68rem;font-weight:850;cursor:pointer}.crypto-quote{display:grid;grid-template-columns:1fr auto;gap:.2rem .8rem;margin:.8rem 0;padding:.75rem;border-radius:12px;background:#f4f8f6}.crypto-quote span,.crypto-quote small{color:#71807b;font-size:.72rem}.crypto-quote strong{text-align:right;font-size:.9rem}.crypto-quote small{grid-column:1/-1}.crypto-feedback{min-height:1.1rem;margin:.65rem 0 0;text-align:center;color:#73817c;font-size:.72rem}.crypto-feedback.error{color:#c2413b}.crypto-feedback.success{color:#18755b}
.crypto-history-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:.55rem}.crypto-history-title h3{margin:0;font-size:1rem}.crypto-history-title span{color:#75817d;font-size:.7rem}.crypto-history-row{display:grid;grid-template-columns:auto 1fr auto;gap:.65rem;align-items:center;padding:.65rem 0;border-bottom:1px solid #edf0ef}.crypto-history-row:last-child{border-bottom:0}.crypto-history-row img{width:29px;height:29px;object-fit:contain}.crypto-history-row b,.crypto-history-row small{display:block}.crypto-history-row b{font-size:.78rem}.crypto-history-row small{font-size:.66rem;color:#78837f}.crypto-history-row>strong{text-align:right;font-size:.76rem;color:#238066}.crypto-empty{color:#7a8581;font-size:.8rem;text-align:center;padding:1.5rem 0}
@media(max-width:900px){.crypto-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.crypto-exchange-grid{grid-template-columns:1fr}}
@media(max-width:560px){.crypto-heading{display:block}.crypto-rate-state{display:inline-block;margin-top:.7rem}.crypto-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:365px;overflow-x:hidden;overflow-y:auto;padding:0 .3rem .2rem 0;scrollbar-width:thin;scrollbar-color:#63d5a2 #20232e}.crypto-assets::-webkit-scrollbar{width:6px}.crypto-assets::-webkit-scrollbar-track{background:#20232e;border-radius:999px}.crypto-assets::-webkit-scrollbar-thumb{background:#63d5a2;border-radius:999px}.crypto-asset{min-width:0}.crypto-wallet{border-radius:18px}.crypto-history{padding:.85rem}}
@media(max-width:760px){#view-withdraw.active-view{display:grid;grid-template-columns:minmax(0,1fr)}#view-withdraw.active-view>.withdraw-layout{display:contents}#view-withdraw .withdraw-panel{order:1}#view-withdraw .crypto-wallet{order:2;margin-top:1rem}#view-withdraw .withdraw-history{order:3;margin-top:1rem}}

/* Dark wallet surface: matches the admin palette and keeps every control legible. */
.crypto-wallet{border-color:#303542;background:linear-gradient(145deg,#14161e 0%,#191c25 58%,#20242e 100%);color:#f2f3f7;box-shadow:0 18px 44px rgba(0,0,0,.28)}
.crypto-heading h2,.crypto-convert-title strong,.crypto-history-title h3{color:#f7f8fb}.crypto-heading p,.crypto-convert-title span,.crypto-converter label small,.crypto-quote span,.crypto-quote small,.crypto-history-title span,.crypto-history-row small,.crypto-empty{color:#a7aebb}.crypto-kicker{color:#8ee3b5}.crypto-rate-state{border:1px solid #315240;background:#1f332b;color:#8ee3b5}
.crypto-asset{border-color:#343947;background:#20232e;color:#f2f3f7;box-shadow:0 5px 14px rgba(0,0,0,.2)}.crypto-asset:hover{border-color:#63d5a2}.crypto-asset.active{border-color:#63d5a2;background:#1e302a;box-shadow:0 0 0 3px rgba(99,213,162,.13)}.crypto-asset b,.crypto-asset-balance{color:#f2f3f7}.crypto-asset small{color:#a7aebb}
.crypto-converter,.crypto-history{border-color:#343947;background:#191c25}.crypto-amount-field{border-color:#3a404f;background:#11141b}.crypto-amount-field span{color:#8ee3b5}.crypto-amount-field input{color:#f2f3f7}.crypto-amount-field button{border:1px solid #315240;background:#1f332b;color:#8ee3b5}.crypto-quote{border:1px solid #303542;background:#20232e}.crypto-quote strong{color:#f2f3f7}.crypto-feedback{color:#a7aebb}.crypto-feedback.error{color:#ff8b82}.crypto-feedback.success{color:#70dda9}.crypto-history-row{border-bottom-color:#2c303d}.crypto-history-row b{color:#f2f3f7}.crypto-history-row>strong{color:#70dda9}.crypto-skeleton{background:linear-gradient(90deg,#20232e,#2b303c,#20232e);background-size:200% 100%}
.crypto-withdraw-open{margin-top:.6rem;font-size:inherit}.crypto-withdraw-open:disabled{opacity:.48;cursor:not-allowed}.crypto-withdraw-dialog{max-width:34rem;border:1px solid #363c49;background:#171a22;color:#f3f5f7;box-shadow:0 24px 70px rgba(0,0,0,.55)}.crypto-withdraw-dialog::backdrop{background:rgba(4,7,10,.72);backdrop-filter:blur(3px)}.crypto-withdraw-dialog .withdraw-dialog-heading{border-bottom:1px solid #303541;padding-bottom:.9rem}.crypto-withdraw-dialog .withdraw-dialog-heading h2{color:#f7f8fb}.crypto-withdraw-dialog .withdraw-dialog-heading p{color:#a7aebb}.crypto-withdraw-dialog .dialog-close{color:#dce2e8;background:#252a34}.crypto-withdraw-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#20232e;border:1px solid #3a404f}.crypto-withdraw-logo img{width:38px;height:38px;object-fit:contain;border-radius:50%}.crypto-withdraw-balance{display:grid;gap:.2rem;margin:1rem 0;padding:1rem;border:1px solid #315240;border-radius:14px;background:linear-gradient(135deg,#1d2d27,#20242e)}.crypto-withdraw-balance span,.crypto-withdraw-balance small{color:#aeb8b4;font-size:.78rem}.crypto-withdraw-balance strong{color:#8ee3b5;font-size:1.35rem}.crypto-withdraw-dialog .amount-label-row,.crypto-withdraw-dialog .payout-field label{color:#edf2f0;font-weight:750}.crypto-withdraw-dialog .amount-field{display:flex;align-items:center;border:1px solid #3b4350;background:#10131a}.crypto-withdraw-dialog .amount-field:focus-within{border-color:#63d5a2;box-shadow:0 0 0 3px rgba(99,213,162,.13)}.crypto-withdraw-dialog .amount-field input{flex:1;color:#f7f8fb;background:transparent}.crypto-withdraw-dialog .amount-field button{margin-right:.6rem;border:1px solid #315240;border-radius:8px;padding:.4rem .55rem;background:#1f332b;color:#8ee3b5;font-weight:850;cursor:pointer}.crypto-withdraw-dialog .amount-help{color:#a7aebb}.crypto-withdraw-dialog .amount-help strong{color:#8ee3b5}.crypto-withdraw-dialog select,.crypto-withdraw-dialog #cryptoWithdrawAddress{width:100%;border:1px solid #3b4350;border-radius:11px;background:#10131a;color:#f7f8fb;padding:.75rem}.crypto-withdraw-dialog select:focus,.crypto-withdraw-dialog #cryptoWithdrawAddress:focus{outline:0;border-color:#63d5a2;box-shadow:0 0 0 3px rgba(99,213,162,.13)}.crypto-withdraw-dialog .payout-field-help{color:#98a5a0}.crypto-withdraw-dialog .crypto-feedback{color:#a7aebb}.crypto-withdraw-dialog .crypto-feedback.error{color:#ff8b82}.crypto-withdraw-dialog .crypto-feedback.success{color:#70dda9}.crypto-history-icon{background:#20232e!important}.crypto-history-icon img{width:28px;height:28px;object-fit:contain;border-radius:50%}
@media(max-width:560px){.crypto-withdraw-dialog{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);padding:1rem;border-radius:18px}.crypto-withdraw-dialog .withdraw-dialog-actions{position:sticky;bottom:0;margin:1rem -1rem -1rem;padding:.8rem 1rem;background:#171a22;border-top:1px solid #303541}.crypto-withdraw-balance{margin:.8rem 0}.crypto-withdraw-dialog .payout-field{margin-top:.8rem}}
