/* 2A Digital partner sign-in. Scoped to /login; app pages are unaffected. */
:root{--red:#e0232a;--ink:#161923;--muted:#747e90;--line:#e4e8ef;--bg:#f5f6f9}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;min-height:100svh;background:var(--bg);font-family:Inter,Cairo,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
html[lang=ar] body{font-family:Cairo,Inter,system-ui,sans-serif}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
:focus-visible{outline:3px solid rgba(224,35,42,.3);outline-offset:3px}
.auth-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.auth-header{height:83px;flex-shrink:0;padding-inline:clamp(20px,5.2vw,90px);border-bottom:1px solid #e8eaf0;background:rgba(255,255,255,.94);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand-link{display:flex;align-items:center;gap:12px;direction:ltr;min-width:0}
.brand-mark{display:grid;place-items:center;width:55px;height:44px;flex-shrink:0;background:#13151a;border-radius:11px;overflow:hidden}
.brand-mark img{width:42px;height:25px;object-fit:contain}
.brand-name{display:flex;flex-direction:column;gap:4px;white-space:nowrap}
.brand-name strong{font-size:15px;letter-spacing:.09em;line-height:1.15;font-weight:900}
.brand-name small{font-size:8px;letter-spacing:.115em;color:#8f97a7;font-weight:800}
.header-actions{display:flex;align-items:center;gap:10px}
.home-link,.lang-button{min-height:39px;border:1px solid var(--line);background:#fff;border-radius:11px;color:#3d4657;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 15px;font-size:12px;font-weight:800;transition:background .2s,border-color .2s}
.home-link:hover,.lang-button:hover{background:#f7f8fb;border-color:#ccd3df}
.home-link svg{width:16px;height:16px}.lang-form{margin:0}.lang-button{min-width:53px}
.auth-main{width:min(1136px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);direction:ltr;background:white;border:1px solid #e5e8ed;border-radius:24px;box-shadow:0 28px 85px rgba(20,27,45,.09),0 2px 8px rgba(20,27,45,.025);overflow:hidden;min-height:610px}
.showcase{background:linear-gradient(135deg,#1b1d24 0%,#11141b 54%,#0c1016 100%);color:white;position:relative;overflow:hidden;min-width:0;direction:ltr}
.showcase::before{content:"";position:absolute;pointer-events:none;width:540px;height:540px;border:1px solid rgba(255,255,255,.055);border-radius:50%;top:-260px;right:-160px;box-shadow:0 0 0 90px rgba(255,255,255,.014),0 0 0 185px rgba(255,255,255,.012)}
.showcase::after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:75px 100%;mask-image:linear-gradient(180deg,#000,transparent 90%)}
.showcase-glow{position:absolute;right:-170px;top:-140px;width:500px;height:540px;background:radial-gradient(circle,rgba(224,35,42,.19),transparent 66%);pointer-events:none}
.showcase-inner{min-height:610px;display:flex;flex-direction:column;justify-content:space-between;padding:38px clamp(34px,4.1vw,59px) 30px;position:relative;z-index:1}
html[dir=rtl] .showcase-inner{direction:rtl}
.showcase-top{display:flex;align-items:center;gap:13px;direction:ltr}
.showcase-monogram{display:grid;place-items:center;width:43px;height:36px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(0,0,0,.22)}
.showcase-monogram img{height:24px;width:35px;object-fit:contain}
.showcase-label{font:750 10px/1.5 Inter,system-ui,sans-serif;letter-spacing:.18em;color:#ccd0d9;white-space:nowrap}
.showcase-separator{color:var(--red);font-weight:900;padding:0 5px}
.showcase-copy{padding-block:30px 22px}.showcase-eyebrow{display:flex;gap:12px;align-items:center;color:#ffb7ba;font-size:11px;font-weight:800;letter-spacing:.04em;line-height:1.6}
.eyebrow-line{width:20px;height:2px;background:var(--red);border-radius:2px;flex-shrink:0}
.showcase h2{font-size:clamp(33px,3.35vw,49px);font-weight:900;line-height:1.27;letter-spacing:-.055em;margin:20px 0 14px;max-width:480px;overflow-wrap:normal}
.showcase h2 span{color:#fff;display:block;white-space:normal}.showcase h2 span::after{content:"";display:inline-block;width:.22em;height:.22em;background:var(--red);border-radius:50%;margin-inline-start:.18em;vertical-align:.1em}
.showcase-copy>p{font-size:13px;line-height:1.85;color:#aeb6c4;max-width:395px;margin:0 0 28px}
.showcase-capabilities{display:grid;gap:2px;max-width:440px;border-top:1px solid rgba(255,255,255,.12)}
.showcase-capabilities>div{display:flex;align-items:center;gap:18px;min-height:47px;border-bottom:1px solid rgba(255,255,255,.10);font-size:12px;font-weight:700;color:#e6e7eb}
.cap-index{font:700 10px Inter,sans-serif;color:#ef7278;min-width:23px}.cap-mark{margin-inline-start:auto;font:400 17px Inter,sans-serif;color:#9da4b1}
.showcase-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;display:flex;align-items:center;gap:8px;font-size:10px;color:#a3acb9}
.secure-dot{width:7px;height:7px;background:#6ccaa3;border-radius:100%;box-shadow:0 0 0 4px rgba(108,202,163,.10);flex-shrink:0}
.showcase-copyright{margin-inline-start:auto;direction:ltr;white-space:nowrap;font:500 10px Inter,sans-serif;color:#7b8392}
.login-panel{display:flex;align-items:center;justify-content:center;min-width:0;padding:54px clamp(30px,4.8vw,74px);direction:ltr}
html[dir=rtl] .login-panel{direction:rtl}
.login-content{width:100%;max-width:420px}
.login-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.09em;color:#c22932;font-weight:900;line-height:1.7}
.login-eyebrow-dot{width:8px;height:8px;flex-shrink:0;background:var(--red);border-radius:50%;box-shadow:0 0 0 4px #ffe7e8}
.login-heading{margin:15px 0 31px}.login-heading h1{margin:0 0 10px;font-size:clamp(29px,3vw,39px);line-height:1.38;font-weight:900;letter-spacing:-.05em}
.login-heading p{margin:0;font-size:13px;line-height:1.85;color:var(--muted);max-width:360px}
.login-form{display:flex;flex-direction:column;gap:19px}.field-group{display:grid;gap:9px}
.field-group>label{font-size:12px;font-weight:800;color:#333a48}
.input-wrap{position:relative;display:flex;align-items:center}
.input-wrap input{display:block;width:100%;height:55px;border:1px solid #dce1e9;background:#fff;border-radius:11px;outline:none;font-size:13px;color:var(--ink);padding-block:0;padding-inline:44px 16px;transition:border-color .2s,box-shadow .2s}
.input-wrap input:focus{border-color:#e57479;box-shadow:0 0 0 4px rgba(224,35,42,.085)}
.input-wrap input::placeholder{color:#a0a8b5;opacity:1}
.input-wrap input[aria-invalid=true]{border-color:#d94d55}
.input-wrap input[type=email],.input-wrap input[type=password],.input-wrap input[type=text]{direction:ltr;text-align:left;font-family:Inter,system-ui,sans-serif}
.field-icon{position:absolute;left:16px;width:18px;height:18px;color:#9da5b3;pointer-events:none}
html[dir=rtl] .input-wrap input{padding-inline:16px 44px}
html[dir=rtl] .field-icon{left:auto;right:16px}
.password-wrap input{padding-right:55px}
html[dir=rtl] .password-wrap input{padding-right:44px;padding-left:55px}
.password-toggle{position:absolute;right:10px;display:grid;place-items:center;width:37px;height:37px;border:0;border-radius:8px;background:#f4f5f8;color:#626c7c;transition:background .2s,color .2s}
.password-toggle:hover{background:#e9ecf2;color:#1e2430}.password-toggle svg{width:18px;height:18px}
html[dir=rtl] .password-toggle{right:auto;left:10px}
.remember{display:inline-flex;gap:10px;align-items:center;cursor:pointer;color:#656e7f;font-size:12px;font-weight:600;line-height:1.8;margin-top:-1px}
.remember input{width:17px;height:17px;accent-color:var(--red);flex-shrink:0;cursor:pointer}
.submit-button{display:flex;align-items:center;justify-content:center;gap:10px;height:55px;width:100%;background:var(--red);border:1px solid var(--red);color:#fff;border-radius:11px;font-size:13px;font-weight:900;box-shadow:0 10px 26px rgba(224,35,42,.18);transition:background .2s,transform .2s,box-shadow .2s}
.submit-button:hover{background:#c71b23;transform:translateY(-1px);box-shadow:0 15px 30px rgba(224,35,42,.22)}.submit-button:active{transform:translateY(0)}
.submit-button svg{width:16px;height:16px}html[dir=ltr] .submit-button svg{transform:rotate(180deg)}
.login-error{font-size:12px;line-height:1.7;padding:12px 14px;background:#fff0f1;color:#a1202b;border:1px solid #fbcad0;border-radius:10px;margin-bottom:22px}
.login-footer{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;border-top:1px solid #e9ebf1;margin-top:32px;padding-top:25px;font-size:11px;line-height:1.8;color:#818a99}
.login-footer a{font-weight:800;color:#272f40;white-space:nowrap}.login-footer a:hover{color:var(--red)}
.page-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 auto;padding:14px 0 18px;width:min(1136px,calc(100% - 64px));color:#99a0ad;font-size:10px;font-weight:600;direction:ltr}.page-footer>span:first-child{font:800 10px Inter,sans-serif;letter-spacing:.14em}
html[lang=ar] .showcase h2{letter-spacing:0;line-height:1.5;font-size:clamp(31px,3.15vw,44px)}
html[lang=ar] .login-heading h1{letter-spacing:0;line-height:1.5}
html[lang=ar] .showcase-eyebrow{letter-spacing:0}
html[lang=ar] .login-eyebrow{letter-spacing:0}
@media(max-width:990px){.auth-main{width:min(970px,calc(100% - 36px));min-height:580px}.showcase-inner{padding-inline:32px;min-height:580px}.showcase h2{font-size:clamp(30px,4.1vw,42px)}.login-panel{padding:38px 34px}.page-footer{width:calc(100% - 36px)}}
@media(max-width:720px){.auth-header{height:72px;padding-inline:22px}.auth-main{width:min(510px,calc(100% - 28px));grid-template-columns:1fr;min-height:0;margin:28px auto 18px}.showcase{display:none}.login-panel{padding:45px clamp(24px,6vw,46px) 36px}.login-heading h1{font-size:34px}.page-footer{width:min(510px,calc(100% - 28px));padding-bottom:24px}}
@media(max-width:430px){.auth-header{padding-inline:15px}.brand-mark{width:46px;height:39px}.brand-mark img{width:36px}.brand-name strong{font-size:13px}.brand-name small{font-size:6.7px}.header-actions{gap:7px}.home-link{padding-inline:10px}.home-link span{display:none}.lang-button{min-width:47px}.auth-main{margin:18px auto 12px;border-radius:18px}.login-panel{padding:32px 23px 26px}.login-heading{margin-bottom:26px}.login-heading h1{font-size:30px}.login-footer{margin-top:25px;padding-top:20px}.page-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
