/* EProfit V6.1 production polish: logo, referrals and payment experience */

/* Brand mark */
.eprofit-mark{width:31px;height:31px;display:inline-grid;place-items:center;flex:0 0 31px;color:#f0b90b}
.eprofit-mark svg{width:100%;height:100%;display:block;fill:currentColor;filter:drop-shadow(0 0 10px rgba(240,185,11,.12))}
.x-brand:has(.eprofit-mark){gap:9px}
.x-sidebar-brand .eprofit-mark{width:29px;height:29px;flex-basis:29px}
.x-sidebar-brand .x-brand-name{font-size:15px;font-weight:760;letter-spacing:-.025em}
.x-mobile-brand.v61-mobile-logo{display:none;width:36px;height:36px;align-items:center;justify-content:center;padding:0}
.x-mobile-brand.v61-mobile-logo .eprofit-mark{width:27px;height:27px;flex-basis:27px}
.x-site-header .eprofit-mark,.x-auth-visual .eprofit-mark,.x-auth-mobile-brand .eprofit-mark{width:30px;height:30px}

/* Dashboard referral module */
.v61-dashboard-referral{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid #26313b;border-radius:12px;background:linear-gradient(105deg,#10171d 0%,#0d1318 65%,rgba(240,185,11,.055) 100%)}
.v61-dashboard-referral-copy{display:flex;align-items:center;gap:11px;min-width:0}.v61-ref-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:rgba(240,185,11,.1);border:1px solid rgba(240,185,11,.18);color:#f0b90b;flex:0 0 38px}.v61-ref-icon .x-icon{width:18px;height:18px}.v61-dashboard-referral h3{font-size:12px;line-height:1.2;margin:2px 0;color:#eef1f4}.v61-dashboard-referral p{font-size:8px;color:#7f8995;margin:0}.v61-dashboard-referral-actions{display:flex;align-items:center;gap:8px;min-width:360px}.v61-dashboard-ref-link{height:34px;flex:1;display:grid;grid-template-columns:1fr 34px;overflow:hidden;border:1px solid #293541;border-radius:8px;background:#0a1015}.v61-dashboard-ref-link input{min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#aeb7c1!important;padding:0 10px!important;font-size:8px!important;height:34px!important}.v61-dashboard-ref-link button{border:0;border-left:1px solid #293541;background:#121a21;color:#f0b90b;display:grid;place-items:center}.v61-dashboard-ref-link button .x-icon{width:14px;height:14px}.v61-side-ref{padding:14px!important}.v61-side-ref h3{font-size:12px;margin:3px 0}.v61-side-ref p{font-size:8px;color:#7f8995;margin:0 0 10px}

/* Referral center */
.v61-ref-page-head{margin-bottom:14px}.v61-ref-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:18px;padding:20px;border:1px solid #293541;border-radius:14px;background:linear-gradient(120deg,#111820,#0b1116);margin-bottom:12px}.v61-ref-copy{display:flex;align-items:flex-start;gap:14px}.v61-ref-gift{width:48px;height:48px;border-radius:13px;background:rgba(240,185,11,.1);border:1px solid rgba(240,185,11,.18);color:#f0b90b;display:grid;place-items:center;flex:0 0 48px}.v61-ref-gift .x-icon{width:23px;height:23px}.v61-ref-copy h2{font-size:20px;letter-spacing:-.035em;margin:4px 0 7px;color:#f0f3f5}.v61-ref-copy p{font-size:9px;line-height:1.55;color:#7f8995;max-width:520px;margin:0}.v61-ref-linkbox{background:#0a1015;border:1px solid #222e38;border-radius:11px;padding:12px}.v61-ref-linkbox label{display:block;font-size:7.5px;letter-spacing:.1em;text-transform:uppercase;color:#77828e;margin:0 0 7px}.v61-ref-linkrow{display:grid;grid-template-columns:1fr auto;gap:7px}.v61-ref-linkrow input{height:38px;min-width:0;border:1px solid #2a3641;border-radius:8px;background:#0d141a;color:#c7ced6;padding:0 11px;font-size:8.5px;outline:0}.v61-ref-linkrow .x-btn{height:38px;min-height:38px}.v61-ref-actions{display:flex;gap:7px;margin-top:8px}.v61-share-btn{height:30px;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#8d98a4;font-size:8px;padding:0 7px}.v61-share-btn:hover{color:#f0b90b}.v61-share-btn .x-icon{width:13px;height:13px}.v61-ref-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}.v61-ref-stats>div{position:relative;min-height:88px;padding:14px;border:1px solid #26313b;border-radius:11px;background:#10161c}.v61-stat-icon{position:absolute;top:13px;right:13px;width:29px;height:29px;border-radius:8px;background:#151e26;color:#f0b90b;display:grid;place-items:center}.v61-stat-icon .x-icon{width:14px;height:14px}.v61-ref-stats small{display:block;font-size:7.5px;letter-spacing:.08em;text-transform:uppercase;color:#727e8a}.v61-ref-stats strong{display:block;margin-top:8px;font-size:21px;letter-spacing:-.035em}.v61-ref-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:12px}.v61-how-list{padding:4px 14px 14px}.v61-how-list>div{display:flex;align-items:center;gap:10px;min-height:48px;border-bottom:1px solid #202a34}.v61-how-list>div:last-child{border-bottom:0}.v61-how-list>b{}.v61-how-list>div>b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#17202a;color:#f0b90b;font-size:8px;flex:0 0 25px}.v61-how-list span strong,.v61-how-list span small{display:block}.v61-how-list span strong{font-size:9.5px}.v61-how-list span small{font-size:7.5px;color:#77828e;margin-top:2px}.v61-ref-note{padding-bottom:13px}.v61-ref-note-body{display:flex;gap:9px;padding:5px 14px 12px}.v61-ref-note-body>.x-icon{width:18px;height:18px;color:#f0b90b;flex:0 0 18px}.v61-ref-note-body p{font-size:8.5px;line-height:1.55;color:#85909c;margin:0}.v61-ref-note>.x-btn{margin:0 14px;width:calc(100% - 28px)}

/* Deposit / funding selection */
.v61-deposit-head{margin-bottom:12px}.v61-stepper{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;max-width:610px;margin:0 0 12px}.v61-stepper>div{display:flex;align-items:center;gap:7px;color:#6f7a86}.v61-stepper>div b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #2c3743;background:#111820;font-size:8px}.v61-stepper>div span{font-size:8px}.v61-stepper>div.is-active{color:#e8edf1}.v61-stepper>div.is-active b{background:#f0b90b;color:#11151a;border-color:#f0b90b}.v61-stepper>i{height:1px;background:#28333e;margin:0 9px}.v61-deposit-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:14px;align-items:start}.v61-method-panel{overflow:hidden}.v61-panel-head{min-height:62px;padding:13px 14px;border-bottom:1px solid #222c36;display:flex;align-items:center;justify-content:space-between;gap:12px}.v61-panel-head h2{font-size:13px;margin:2px 0 0}.v61-panel-head p{font-size:7.5px;color:#76818d;margin:3px 0 0}.v61-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.v61-method-card{position:relative;display:grid;grid-template-columns:38px 1fr 21px;align-items:center;gap:9px;min-height:61px;padding:10px;border:1px solid #26313b;border-radius:10px;background:#0c1217;cursor:pointer;transition:.16s}.v61-method-card:hover{border-color:#35424f;background:#10171d}.v61-method-card:has(input:checked){border-color:rgba(240,185,11,.72);box-shadow:0 0 0 1px rgba(240,185,11,.08) inset;background:#15170f}.v61-method-card input{position:absolute;opacity:0;pointer-events:none}.v61-method-logo{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#fff;overflow:hidden}.v61-method-logo img{max-width:28px;max-height:28px}.v61-method-copy b,.v61-method-copy small{display:block}.v61-method-copy b{font-size:9.5px;color:#e7ebef}.v61-method-copy small{font-size:7.2px;color:#717c88;margin-top:2px}.v61-method-check{width:20px;height:20px;border-radius:50%;border:1px solid #394550;display:grid;place-items:center;color:transparent}.v61-method-check .x-icon{width:11px;height:11px}.v61-method-card:has(input:checked) .v61-method-check{background:#f0b90b;border-color:#f0b90b;color:#11151a}.v61-deposit-order{position:sticky;top:82px}.v61-wallet-balance{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border:1px solid #26313b;border-radius:9px;background:#0b1116;margin-bottom:13px}.v61-wallet-balance small,.v61-wallet-balance strong{display:block}.v61-wallet-balance small{font-size:7.5px;color:#75808c}.v61-wallet-balance strong{font-size:15px;margin-top:3px}.v61-wallet-balance>.x-icon{width:21px;height:21px;color:#f0b90b}.v61-amount input{font-size:19px!important;font-weight:700}.v61-order-summary{margin-top:12px;border:1px solid #222c36;border-radius:9px;padding:0 11px}.v61-order-summary>div{min-height:38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #202a34;font-size:8px}.v61-order-summary>div:last-child{border-bottom:0}.v61-order-summary span{color:#75808c}.v61-order-summary strong{font-size:8.5px}.v61-security-note{display:flex;gap:8px;margin-top:12px;padding:10px;border:1px solid rgba(240,185,11,.16);background:rgba(240,185,11,.045);border-radius:9px}.v61-security-note>.x-icon{width:16px;height:16px;color:#f0b90b;flex:0 0 16px}.v61-security-note b,.v61-security-note span{display:block}.v61-security-note b{font-size:8.5px}.v61-security-note span{font-size:7.5px;line-height:1.45;color:#798490;margin-top:2px}

/* Payment / QR screen */
.v61-payment-page{max-width:1040px;margin:0 auto}.v61-payment-head{margin-bottom:10px}.v61-payment-stepper{margin-bottom:12px}.v61-payment-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:14px;align-items:start}.v61-pay-main{overflow:hidden}.v61-pay-main-head{min-height:64px;padding:13px 15px;border-bottom:1px solid #222c36;display:flex;align-items:center;justify-content:space-between;gap:12px}.v61-pay-main-head h2{font-size:14px;margin:2px 0 0}.v61-waiting{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;background:rgba(240,185,11,.08);color:#dcb429;font-size:7px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.v61-waiting i{width:6px;height:6px;border-radius:50%;background:#f0b90b;box-shadow:0 0 0 3px rgba(240,185,11,.1)}.v61-pay-amount{text-align:center;padding:18px 14px 12px}.v61-pay-amount small,.v61-pay-amount span{display:block;color:#74808c;font-size:8px}.v61-pay-amount strong{display:block;font-size:30px;line-height:1.05;letter-spacing:-.045em;margin:4px 0;color:#f1f3f5}.v61-qr-section{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:20px;margin:0 14px 14px;padding:15px;border:1px solid #28343f;border-radius:11px;background:#0a1015}.v61-qr-copy{display:flex;gap:10px;align-items:flex-start}.v61-qr-icon{width:34px;height:34px;border-radius:9px;background:rgba(240,185,11,.1);color:#f0b90b;display:grid;place-items:center;flex:0 0 34px}.v61-qr-icon .x-icon{width:16px;height:16px}.v61-qr-copy b,.v61-qr-copy small{display:block}.v61-qr-copy b{font-size:10px}.v61-qr-copy small{font-size:7.8px;color:#78838f;line-height:1.5;margin-top:3px}.v61-qr-frame{width:210px;min-height:210px;padding:10px;border-radius:11px;background:#fff;display:grid;place-items:center;justify-self:end;overflow:hidden}.v61-qr-frame img,.v61-qr-frame canvas,.v61-qr-frame svg{display:block!important;max-width:190px!important;max-height:190px!important;width:auto!important;height:auto!important;margin:0 auto!important}.v61-processor-wrap{margin:0 14px 14px;border:1px solid #26313b;border-radius:11px;background:#0c1217;overflow:hidden}.v61-processor-title{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;border-bottom:1px solid #222c36}.v61-processor-title h3{font-size:10px;margin:2px 0 0}.v61-processor-title>.x-icon{width:16px;height:16px;color:#f0b90b}.v61-processor-output{padding:13px;color:#d8dde2;font-size:9.5px;line-height:1.65;overflow-wrap:anywhere}.v61-processor-output strong,.v61-processor-output b{color:#fff;font-weight:700}.v61-processor-output em,.v61-processor-output i{color:#b9c1c9;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.v61-processor-output form{display:grid;gap:8px;margin-top:10px}.v61-processor-output table{width:100%!important;background:transparent!important}.v61-processor-output td,.v61-processor-output th{padding:7px!important;border-color:#26313b!important;background:transparent!important;color:#cfd5db!important}.v61-processor-output input[type=text],.v61-processor-output input[type=password],.v61-processor-output select{width:100%!important;min-height:40px!important;background:#0a1015!important;color:#eef1f4!important;border:1px solid #2b3742!important;border-radius:8px!important;padding:0 10px!important}.v61-processor-output input[type=submit],.v61-processor-output button,.v61-processor-output .sbmt{min-height:42px!important;border:0!important;border-radius:8px!important;background:#f0b90b!important;color:#14181d!important;font-weight:750!important;padding:0 16px!important}.v61-payment-warning{display:flex;gap:10px;margin:0 14px 14px;padding:11px;border:1px solid rgba(240,185,11,.17);border-radius:10px;background:rgba(240,185,11,.045)}.v61-payment-warning>.x-icon{width:17px;height:17px;color:#f0b90b;flex:0 0 17px}.v61-payment-warning b{display:block;font-size:9px}.v61-payment-warning ul{margin:5px 0 0 14px;padding:0;color:#7d8894;font-size:7.7px;line-height:1.55}.v61-order-summary-card{position:sticky;top:82px;overflow:hidden}.v61-summary-hero{padding:18px 14px;text-align:center;border-bottom:1px solid #222c36}.v61-summary-hero small{display:block;font-size:7.5px;color:#75808c;text-transform:uppercase;letter-spacing:.08em}.v61-summary-hero strong{display:block;font-size:25px;letter-spacing:-.04em;margin-top:5px}.v61-summary-list{padding:3px 13px}.v61-summary-list>div{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #202a34}.v61-summary-list>div:last-child{border-bottom:0}.v61-summary-list span{font-size:8px;color:#75808c}.v61-summary-list strong{font-size:8.8px;max-width:62%;text-align:right;overflow-wrap:anywhere}.v61-secure-card{display:flex;gap:9px;margin:10px 12px 12px;padding:10px;border-radius:9px;background:#0b1116;border:1px solid #222c36}.v61-secure-card>.x-icon{width:16px;height:16px;color:#25c995;flex:0 0 16px}.v61-secure-card b,.v61-secure-card span{display:block}.v61-secure-card b{font-size:8px}.v61-secure-card span{font-size:7.3px;color:#75808c;line-height:1.45;margin-top:2px}

@media(max-width:991px){
  .x-mobile-brand.v61-mobile-logo{display:flex}.v61-dashboard-referral{align-items:flex-start}.v61-dashboard-referral-actions{min-width:300px}.v61-ref-hero{grid-template-columns:1fr}.v61-ref-grid{grid-template-columns:1fr}.v61-deposit-layout,.v61-payment-layout{grid-template-columns:1fr}.v61-deposit-order,.v61-order-summary-card{position:static}.v61-qr-section{grid-template-columns:1fr 200px}.v61-qr-frame{width:200px;min-height:200px}
}
@media(max-width:767px){
  .x-sidebar-brand .eprofit-mark{width:28px;height:28px}.x-mobile-brand.v61-mobile-logo{width:34px;height:34px}.x-mobile-brand.v61-mobile-logo .eprofit-mark{width:25px;height:25px}
  .v61-dashboard-referral{display:block;padding:11px;border-radius:10px}.v61-dashboard-referral-copy{gap:9px}.v61-ref-icon{width:32px;height:32px;flex-basis:32px;border-radius:8px}.v61-ref-icon .x-icon{width:15px;height:15px}.v61-dashboard-referral h3{font-size:10px}.v61-dashboard-referral p{font-size:7.3px}.v61-dashboard-referral-actions{min-width:0;margin-top:9px;display:grid;grid-template-columns:1fr auto}.v61-dashboard-ref-link{height:32px;grid-template-columns:1fr 32px}.v61-dashboard-ref-link input{height:32px!important;font-size:7.2px!important}.v61-dashboard-referral-actions .x-btn{height:32px;min-height:32px;font-size:0;padding:0 9px}.v61-dashboard-referral-actions .x-btn .x-icon{margin:0}.v61-side-ref{display:none}
  .v61-ref-hero{padding:13px;gap:12px;border-radius:11px}.v61-ref-copy{gap:9px}.v61-ref-gift{width:36px;height:36px;flex-basis:36px;border-radius:9px}.v61-ref-gift .x-icon{width:17px;height:17px}.v61-ref-copy h2{font-size:16px}.v61-ref-copy p{font-size:8px}.v61-ref-linkbox{padding:9px}.v61-ref-linkrow{grid-template-columns:1fr 38px}.v61-ref-linkrow .x-btn{font-size:0;width:38px;padding:0}.v61-ref-linkrow .x-btn .x-icon{margin:0}.v61-ref-stats{gap:6px}.v61-ref-stats>div{min-height:72px;padding:10px}.v61-stat-icon{width:24px;height:24px;top:9px;right:9px}.v61-ref-stats small{font-size:6.7px}.v61-ref-stats strong{font-size:16px;margin-top:7px}.v61-ref-grid{gap:9px}
  .v61-stepper{margin-bottom:9px}.v61-stepper>div span{font-size:7px}.v61-stepper>div b{width:22px;height:22px;font-size:7px}.v61-method-grid{grid-template-columns:1fr 1fr;gap:6px;padding:8px}.v61-panel-head{min-height:54px;padding:10px 11px}.v61-panel-head h2{font-size:11px}.v61-panel-head p{display:none}.v61-method-card{grid-template-columns:31px 1fr 18px;gap:7px;min-height:55px;padding:8px}.v61-method-logo{width:30px;height:30px;border-radius:8px}.v61-method-logo img{max-width:24px;max-height:24px}.v61-method-copy b{font-size:8px}.v61-method-copy small{font-size:6.4px}.v61-method-check{width:17px;height:17px}.v61-wallet-balance{padding:9px 10px}.v61-wallet-balance strong{font-size:13px}.v61-order-summary>div{min-height:35px}.v61-security-note{padding:9px}
  body:has(.v61-payment-page) .x-topbar{position:relative;top:auto}.v61-payment-page{max-width:none}.v61-payment-head p{max-width:310px}.v61-payment-layout{gap:9px}.v61-pay-main-head{min-height:55px;padding:10px 11px}.v61-pay-main-head h2{font-size:11px}.v61-waiting{font-size:6.3px;padding:5px 6px}.v61-pay-amount{padding:14px 10px 10px}.v61-pay-amount strong{font-size:26px}.v61-qr-section{display:flex;flex-direction:column;gap:10px;margin:0 9px 9px;padding:10px}.v61-qr-copy{width:100%}.v61-qr-frame{width:min(220px,100%);min-height:0;aspect-ratio:1/1;justify-self:center}.v61-qr-frame img,.v61-qr-frame canvas,.v61-qr-frame svg{max-width:calc(100% - 12px)!important;max-height:calc(100% - 12px)!important}.v61-processor-wrap{margin:0 9px 9px}.v61-processor-title{padding:9px 10px}.v61-processor-output{padding:11px;font-size:9px}.v61-payment-warning{margin:0 9px 9px;padding:9px}.v61-order-summary-card{order:-1}.v61-summary-hero{padding:12px}.v61-summary-hero strong{font-size:21px}.v61-summary-list{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.v61-summary-list>div{min-height:37px}.v61-summary-list span,.v61-summary-list strong{font-size:7.4px}.v61-secure-card{margin:8px 9px 9px}
}
@media(max-width:420px){.v61-method-grid{grid-template-columns:1fr}.v61-ref-stats{grid-template-columns:1fr 1fr}.v61-ref-stats>div:last-child{grid-column:1/-1}.v61-summary-list{grid-template-columns:1fr}.v61-payment-stepper{max-width:100%}}
