/* Outer edges follow the home catalog and header at each viewport. */
:root{--ef-page-width:min(1400px,calc(100% - 64px))}
@media(max-width:767px){:root{--ef-page-width:calc(100% - 32px)}}
body :is(main.ef-doc,main.agent-hub,main.ef-affiliate,main.ef-about,.dashboard>.container,.ef-native-catalog .jss-section>.container,.ef-native-catalog>.category>.container,.ef-information .contact>.container,.ef-information .blogs>.container,.ef-information .blog-detail>.container,.ef-information.ef-policy>.container){box-sizing:border-box;width:var(--ef-page-width);max-width:none;margin-inline:auto;padding-inline:0}
body .ef-information.ef-policy{padding-inline:0!important}
body .ef-information.ef-policy>.container{padding:clamp(20px,3vw,40px)}
.ef-information.ef-policy>.container>:not(img){max-width:78ch}
.dashboard .ef-finance-title{margin:0 0 22px}.ef-finance-title p{font-size:.94rem;color:#485d54;margin-bottom:15px}.ef-finance-title p span{padding:0 8px}.ef-finance-title p b{color:#13563c}.ef-finance-title>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ef-finance-title h1{font-weight:720;color:#10382a;font-size:clamp(1.85rem,3vw,2.65rem);margin:0}.ef-finance-title a{font-weight:650;color:#126342;text-decoration:underline;text-underline-offset:3px}
.dashboard :is(.deposit-form,.withdraw-form) .gateway-card{padding:clamp(16px,2.4vw,30px);border:1px solid #d9e3dd;border-radius:12px;background:white}
.dashboard :is(.deposit-form,.withdraw-form) .gateway-card>.row{--bs-gutter-y:0}.dashboard :is(.deposit-form,.withdraw-form) .gateway-card>.row>div{width:100%}.ef-method-label{font-size:1.13rem;font-weight:680;color:#152f24;margin:0 0 12px}
.dashboard :is(.deposit-form,.withdraw-form) .payment-system-list{border:0;box-shadow:none;padding:0;background:transparent;height:auto}
.dashboard .gateway-option-list:has(.ef-ws-empty){overflow:visible}.dashboard .gateway-option-list .ef-ws-empty{display:grid;justify-items:center;align-content:center;gap:8px;min-height:122px;background:#f3f5f4;border:0;border-radius:9px;color:#485951}.dashboard .ef-ws-empty i{font-size:30px;color:#65796d}
.dashboard .ef-money-summary{margin-top:22px}.dashboard .ef-money-summary hr{display:none}.dashboard .ef-money-summary .deposit-info:not(.d-none){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:15px 0!important;border:0;border-top:1px solid #dce4df}.dashboard .ef-money-summary .deposit-info p{margin:0}.dashboard .ef-money-summary .deposit-info__input{margin:0!important}.dashboard .ef-money-summary .deposit-info__input:has(input){width:min(54%,490px)}.dashboard .ef-money-summary .input-group{flex-wrap:nowrap;border-radius:7px}.dashboard .ef-money-summary input.amount{text-align:right;min-width:0}.dashboard .ef-money-summary .input-group>span{display:flex;align-items:center;padding:0 12px;color:#243e31;background:#fafcfb}.dashboard .ef-money-summary button[type=submit]{margin:12px 0 0!important}.dashboard .ef-money-summary button[type=submit]:disabled{background:#e3e7e5!important;border-color:#e3e7e5!important;color:#56645d!important;opacity:1}
.dashboard .dashboard-content .card-header.bg-dark{background:#edf5f0!important}.dashboard .dashboard-content .card-header.bg-dark,.dashboard .dashboard-content .card-header.bg-dark .text-white{color:#143f2e!important}

/* One outer grid; fields, article text and dialogs keep their own measure. */
body .ef-header-row.ef-wrap,body .ef-category-bar-inner.ef-wrap,body .ef-market.ef-wrap,body .ef-profile-banner.container,body .ef-breadcrumb.container{width:var(--ef-page-width);max-width:none;margin-inline:auto}
body main.page-wrapper>section:not(.dashboard)>.container,body .ef-profile>.container-fluid,body .ef-detail>.container,body .footer-top>.container,body .footer-bottom>.container{box-sizing:border-box;width:var(--ef-page-width);max-width:none;margin-inline:auto;padding-inline:0}
body .ef-profile>.container-fluid>.sections-wrapper{max-width:none;margin-inline:0}
body .dashboard .ef-money-summary button.btn.btn--base[type=submit]:disabled,body .dashboard .ef-money-summary button.btn.btn--base[type=submit]:disabled *{color:#46534c!important;-webkit-text-fill-color:#46534c!important}
