/* Phone-first layer over the installed child theme. WHMCS forms stay native. */
.ema-auth-only,.ema-register-progress,.ema-register-actions{display:none}
@media(max-width:767px){
 :root{--ema-line:#e3eaf5;--ema-muted:#53647e;--ema-ink:#122443;--ema-blue:#1458f5}
 html{scroll-padding-block-start:118px;scroll-padding-block-end:100px}
 .ep-site .el-companybar{display:none}
 .ep-site .ep-header{border-bottom:1px solid var(--ema-line);box-shadow:0 3px 16px #172a4704}
 .ep-site .ep-header-inner{min-height:60px;gap:8px}
 .ep-site .ep-brand img{width:114px;height:40px}
 .ep-site .ep-icon-button{min-width:44px;min-height:44px;border-radius:13px}
 .ep-site .ep-tools .ep-icon-button{min-width:42px;min-height:44px}
 .ep-site .ew-appbar{top:60px;min-height:50px;padding-inline:18px;background:#fff}
 .ep-site .ew-appbar .ep-icon-button{min-width:40px;min-height:40px;background:#f3f6fc}
 .ep-site .ew-appbar h1{font-size:15px!important;font-weight:600!important}
 .ep-site .ep-mobile-bottom{padding-top:7px;background:#fffffffa;border-color:#e4ebf6;box-shadow:0 -6px 24px #163a7007;gap:0}
 .ep-site .ep-mobile-bottom :is(a,button){min-height:56px;border-radius:15px;font-size:10px;font-weight:500;gap:5px;line-height:1.6}
 .ep-site .ep-mobile-bottom :is(a,button)>i{font-size:21px;line-height:1.1}
 .ep-site .ep-mobile-bottom :is(a,button)[aria-current=page]{background:#edf3ff;color:#1458f5}
 .ep-site :is(button,a,input,select,textarea):focus-visible{outline:3px solid #1458f5;outline-offset:3px}
 .ep-site :is(.ep-drawer,.ep-language-dialog,.ew-sheet){scrollbar-width:thin}
 .ep-site .ep-drawer{width:100%;max-width:440px}
 .ep-site .ew-sheet .ep-drawer-head h2{font-size:21px;line-height:1.6}
 .ep-site .ew-services-body a{min-height:68px;padding-block:14px}
 .ep-site .ew-services-body details{border-radius:15px}
 .ep-site .ep-language-list a{min-height:52px;border-radius:13px}
 .ep-site.ema-auth{min-height:100dvh;height:auto!important;display:flex;flex-direction:column;background:#fff;color:var(--ema-ink);padding:0!important}
 .ema-auth .ep-header,.ema-auth .el-companybar,.ema-auth .ep-offer,.ema-auth .ebz-countdown,.ema-auth .master-breadcrumb,.ema-auth .ew-appbar,.ema-auth .ep-footer,.ema-auth .ep-mobile-bottom,.ema-auth .ep-auth-banner{display:none!important}
 .ema-auth-only{display:flex}
 .ema-auth-top{align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:520px;margin-inline:auto;padding:calc(14px + env(safe-area-inset-top)) 20px 12px;flex:none;min-height:74px}
 .ema-auth-brand{display:flex;align-items:center;justify-content:center}
 .ema-auth-brand img{width:124px;height:42px;object-fit:contain}
 .ema-icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e6edf7;border-radius:14px;background:#fff;color:#243953;font:inherit;font-size:19px;text-decoration:none;flex:none;cursor:pointer}
 .ema-icon-button:active{background:#edf3ff}
 html[dir=rtl] .ema-back i{transform:rotate(180deg)}
 .ema-auth-intro{flex-direction:column;align-items:flex-start;width:100%;max-width:480px;padding:21px 24px 0;margin-inline:auto;gap:0;flex:none}
 .ema-auth-symbol{display:grid;place-items:center;width:58px;height:58px;background:#edf3ff;border:1px solid #dfE9ff;border-radius:20px;color:var(--ema-blue);font-size:27px;margin-bottom:19px;box-shadow:0 7px 17px #1458f506}
 .ema-auth-intro h1{font-size:29px;line-height:1.5;font-weight:700;letter-spacing:-.025em;margin:0 0 8px;color:var(--ema-ink)}
 .ema-auth-intro p{font-size:14px;line-height:1.85;color:var(--ema-muted);margin:0;max-width:38em}
 .ep-site.ema-auth #main-body{width:100%;max-width:480px;min-width:0;min-height:0;flex:1 0 auto;padding:26px 24px 8px;margin-inline:auto}
 .ema-auth #main-body>.container{width:100%;max-width:none;padding:0;margin:0}
 .ema-auth #main-body>.container>.row{margin:0}
 .ema-auth .primary-content{width:100%;max-width:100%;flex:0 0 100%;padding:0;min-width:0;margin:0}
 .ema-auth #main-body .sidebar,.ema-auth #main-body>.container>.row>.col-lg-4,.ema-auth #main-body .header-lined{display:none!important}
 .ema-auth .primary-content>.row.justify-content-center{margin:0}
 .ema-auth .card{background:transparent;border:0;box-shadow:none!important;border-radius:0;width:100%;max-width:none;margin:0!important}
 .ep-site.ema-auth .card>.card-body{padding:0!important}
 .ema-auth-login .login-form .card-body>.mb-4:first-child,.ema-auth-reset .card-body>div.mb-4:first-child{display:none}
 .ema-auth .form-group{margin-bottom:19px}
 .ema-auth label{font-size:13px;font-weight:600;color:#334760;line-height:1.7}
 .ema-auth .form-control-label{display:block;margin-block-end:9px}
 .ep-site.ema-auth :is(.form-control,.field,.custom-select){border:1px solid #d9e2f0;border-radius:14px;background:#f8faff;color:#162947;font:inherit;font-size:16px!important;line-height:1.6;width:100%;max-width:100%;min-height:55px;height:auto;padding:13px 15px;box-shadow:none}
 .ep-site.ema-auth input:is([type=email],[type=password],[type=tel]),.ema-auth input[autocomplete=username]{direction:ltr;text-align:start}
 .ep-site.ema-auth :is(.form-control,.field,.custom-select):focus{background:#fff;border-color:#1458f5;box-shadow:0 0 0 3px #1458f510;outline:0}
 .ema-auth .input-group{border:1px solid #d9e2f0;border-radius:14px;background:#f8faff;overflow:hidden;align-items:center;flex-wrap:nowrap}
 .ema-auth .input-group:focus-within{border-color:#1458f5;background:#fff;box-shadow:0 0 0 3px #1458f510}
 .ep-site.ema-auth .input-group>.form-control{border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0;min-height:54px;flex:1;padding-inline:14px}
 .ema-auth .input-group-prepend{display:none}
 .ema-auth .input-group-append{height:54px;align-items:center}
 .ema-auth .input-group-append .btn-reveal-pw{border:0;background:transparent;color:#586e8d;min-height:48px;min-width:48px;padding:10px;border-radius:10px}
 .ema-auth .login-form .form-group .d-flex{align-items:baseline!important;gap:12px}
 .ema-auth .login-form .form-group .d-flex a{color:#1458f5!important;font-size:12px;font-weight:500;line-height:1.8;display:inline-flex;align-items:center;min-height:36px}
 .ema-auth .login-form .card-body{display:flex;flex-direction:column}
 .ema-auth .login-form .card-body>.form-group{order:0}
 .ema-auth .login-form .card-body>.text-right{order:1;text-align:start!important;margin:0 0 23px}
 .ema-auth .login-form .card-body>.text-right label{display:flex;align-items:center;gap:9px;min-height:36px;font-weight:400;margin:0}
 .ema-auth .form-check-input{position:static;margin:0!important;accent-color:#1458f5;width:19px;height:19px;flex:none}
 .ema-auth .login-form .float-left{float:none!important;order:2}
 .ema-auth .login-form .card-footer{border:0;background:transparent;padding:26px 0 0!important;text-align:center;color:#53647e;font-size:14px}
 .ema-auth .login-form .card-footer small{font-size:13px}
 .ema-auth .login-form .card-footer a{display:flex;justify-content:center;align-items:center;min-height:52px;border:1px solid #dae4f4;border-radius:14px;font-size:15px;font-weight:600;margin-top:12px;color:#1458f5;background:#fff}
 .ep-site.ema-auth .btn-primary,.ema-register-next{width:100%;min-height:54px;border-radius:15px;background:#1458f5;border:1px solid #1458f5;color:#fff;font-size:16px!important;line-height:1.7;font-weight:600;padding:13px 18px;box-shadow:0 7px 18px #1458f517}
 .ema-auth .card-title{font-size:18px;line-height:1.7;font-weight:600;color:#1c3151;margin-bottom:19px}
 .ema-auth .card-title small{font-size:12px;font-weight:400}
 .ema-auth-footer{width:100%;max-width:480px;flex-direction:column;gap:20px;margin-inline:auto;padding:20px 24px calc(20px + env(safe-area-inset-bottom));align-items:center;flex:none}
 .ema-auth-footer nav{display:flex;align-items:center;justify-content:center;gap:16px;font-size:12px;color:#7c8ba3;flex-wrap:wrap}
 .ema-auth-footer nav a{min-height:36px;display:flex;align-items:center;color:#546780;font-size:12px}
 .ema-return-login{display:flex;gap:9px;align-items:center;justify-content:center;border:1px solid #dce5f3;border-radius:14px;min-height:50px;color:#1458f5;font-weight:600;width:100%;font-size:15px}
 .ema-auth .alert{font-size:13px;line-height:1.9;border-radius:13px;margin-bottom:20px;text-align:start!important}
 .ema-auth .prepend-icon label.field-icon{position:static;display:block;width:auto;height:auto;margin:0 0 8px;line-height:1.8;color:#334760;pointer-events:auto;text-align:start}
 .ema-auth .prepend-icon label.field-icon>i{display:none}
 .ema-auth .prepend-icon .field{padding-inline:15px}
 .ep-site.ema-auth #registration .prepend-icon label.field-icon{position:static!important;inset:auto!important;display:block!important;width:auto!important;max-width:100%;height:auto!important;padding:0!important;margin:0 0 8px!important;line-height:1.8!important;text-align:start;pointer-events:auto}
 .ep-site.ema-auth #registration .prepend-icon label.field-icon i{display:none}
 .ep-site.ema-auth #registration :is(.field,.form-control,select){border:1px solid #d9e2f0;border-radius:14px;background:#f8faff;color:#162947;font:inherit;font-size:16px!important;line-height:1.6;min-height:55px;height:auto;max-width:100%;padding:13px 15px}
 .ep-site.ema-auth #registration :is(.field,.form-control,select):focus{background:#fff;border-color:#1458f5;box-shadow:0 0 0 3px #1458f510;outline:0}
 .ema-auth-register .ema-auth-intro{padding-top:10px}
 .ema-auth-register .ema-auth-symbol{display:none}
 .ema-auth .prepend-icon :is(input,select)::placeholder{color:#77879e;opacity:1}
 .ema-auth .iti,.ema-auth .intl-tel-input{width:100%;display:block}
 .ema-auth .iti input,.ema-auth .intl-tel-input input{padding-inline-start:64px!important}
 .ema-auth .intl-tel-input .country-list,.ema-auth .iti__country-list{max-width:min(340px,calc(100vw - 48px));font-size:13px;direction:ltr;text-align:left}
 .ema-auth .country-name{white-space:normal}
 .ema-auth .ema-field-label{display:block;margin-bottom:8px;font-size:13px;line-height:1.8;font-weight:600;color:#334760}
 .ema-auth .form-check{display:flex;gap:10px;align-items:center;text-align:start;line-height:1.9;font-weight:400}
 .ema-auth .form-check a{display:inline;color:#1458f5}
 .ema-auth .ema-register-enhanced [data-ema-register-part][hidden]{display:none!important}
 .ema-auth .ema-register-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 27px;padding:0;list-style:none}
 .ema-register-progress button{border:0;background:none;font:inherit;color:#6d7e96;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;text-align:start;cursor:pointer;min-height:60px}
 .ema-register-progress button:before{content:'';height:4px;width:100%;background:#e8eef8;border-radius:6px}
 .ema-register-progress button span{display:block;line-height:1.6;font-size:11px;font-weight:500;max-width:100%;overflow-wrap:anywhere}
 .ema-register-progress [aria-current=step]{color:#1458f5}
 .ema-register-progress [aria-current=step]:before,.ema-register-progress [data-complete=true]:before{background:#1458f5}
 .ema-register-progress button:disabled{cursor:default;opacity:1}
 .ema-auth-register .ema-register-enhanced .card{padding-bottom:8px}
 .ema-auth-register .ema-register-enhanced .card-title{margin-bottom:18px}
 .ema-register-actions{display:flex;gap:10px;padding:5px 0 8px}
 .ema-register-actions [hidden]{display:none!important}
 .ema-register-prev{display:flex;align-items:center;justify-content:center;min-width:54px;min-height:54px;border:1px solid #dce5f3;border-radius:15px;background:#f8faff;color:#385278;font:inherit;font-size:19px}
 html[dir=rtl] .ema-register-prev i{transform:rotate(180deg)}
 .ema-register-next{display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer}
 html[dir=rtl] .ema-register-next i{transform:rotate(180deg)}
 .ema-auth-register .progress{height:5px;border-radius:4px;background:#e8eef7}
 .ema-auth-register .password-strength-meter p{font-size:11px;line-height:1.8}
 .ema-auth-register .generate-password{min-height:44px;font-size:12px;border-radius:12px;background:#f3f7ff;color:#34517d;border:1px solid #dfE7f4}
 .ema-register-actions>.ema-native-submit{flex:1;margin:0}
 .ema-auth-register .ema-native-submit input{margin-top:0}
 .ema-auth :is(.modal .card,.modal .card-body){padding:initial}
 @media(display-mode:standalone){.ep-site .ep-header-inner{min-height:calc(60px + env(safe-area-inset-top))}.ep-site .ew-appbar{top:calc(60px + env(safe-area-inset-top))}.ema-auth .ema-auth-top{padding-top:calc(14px + env(safe-area-inset-top))}}
}
@media(max-width:359px){.ema-auth-top{padding-inline:18px}.ema-auth-intro{padding-inline:20px}.ep-site.ema-auth #main-body{padding-inline:20px}.ema-auth-intro h1{font-size:27px}.ema-auth .login-form .form-group .d-flex{flex-wrap:wrap;gap:0}}
@media(prefers-reduced-motion:no-preference){.ema-register-enhanced [data-ema-register-part]:not([hidden]){animation:ema-content-in .16s ease-out}@keyframes ema-content-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
