/* Shared authentication presentation. Application state and authorization stay in their own modules. */
.auth-experience{--auth-bg:#f7f9fc;--auth-surface:#fff;--auth-ink:#14213b;--auth-muted:#738097;--auth-line:#e4e9f1;--auth-blue:#215cf3;background:var(--auth-bg);color:var(--auth-ink);min-height:100svh}
.auth-experience .loyalty-site-header{background:var(--auth-surface);border-block-end:1px solid var(--auth-line)}
.auth-layout{max-width:1440px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:24px;padding:24px;min-height:calc(100svh - 88px)}
.auth-form-side{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:42px 46px 12px}
.auth-form-content{width:100%;max-width:420px;margin:auto}
.auth-eyebrow{display:flex;align-items:center;gap:8px;color:var(--auth-muted);font-size:12px;font-weight:500;margin-block-end:14px}
.auth-eyebrow>span{width:6px;height:6px;border-radius:50%;background:#3169f4;box-shadow:0 0 0 4px #eaf0ff}
.auth-experience .auth-form-side h1{font-size:clamp(27px,2.4vw,34px);font-weight:800;letter-spacing:-.6px;line-height:1.45;margin:0 0 9px;color:var(--auth-ink)}
.auth-description{font-size:14px;line-height:1.9;color:var(--auth-muted);margin:0 0 27px;max-width:390px}
.auth-controls{display:grid;gap:15px}
.auth-controls :is(input:not([type=checkbox]):not([type=file]),select,textarea){width:100%;min-height:52px;border:1px solid var(--auth-line);border-radius:12px;background:var(--auth-surface);color:var(--auth-ink);padding:12px 15px;box-shadow:0 1px 2px #14213b03;font:inherit;font-size:16px;transition:border-color .16s,box-shadow .16s;outline:none}
.auth-controls textarea{min-height:95px;resize:vertical}
.auth-controls input::placeholder{color:#a4adbc;opacity:1;font-size:14px}
.auth-controls :is(input,select,textarea):focus{border-color:#537dff;box-shadow:0 0 0 4px #215cf312}
.auth-controls label{display:block;color:var(--auth-ink);font-size:13px;font-weight:600;margin-block-end:7px}
.auth-controls .auth-field{margin:0 0 17px}
.auth-controls .auth-input-wrap{position:relative}
.auth-controls .auth-input-wrap input{padding-inline-end:54px}
.auth-eye{position:absolute;inset-inline-end:7px;top:5px;width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--auth-muted);cursor:pointer}
.auth-eye svg{width:19px;height:19px}.auth-eye:hover{color:var(--auth-blue);background:#215cf308}
.auth-controls .btn-primary{min-height:52px;width:100%;border:1px solid var(--auth-blue);border-radius:12px;background:var(--auth-blue);color:#fff;padding:13px 18px;font-size:14px;font-weight:700;box-shadow:0 5px 12px #215cf31a;cursor:pointer;transition:background .16s,transform .16s}
.auth-controls .btn-primary:hover{background:#174cda;transform:translateY(-1px)}
.auth-controls button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.auth-experience :is(a,button,summary):focus-visible{outline:3px solid #7096ff;outline-offset:4px}
.auth-google{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:52px;border:1px solid var(--auth-line);border-radius:12px;background:var(--auth-surface);font:inherit;font-size:14px;font-weight:600;color:var(--auth-ink);cursor:pointer;transition:border-color .16s,box-shadow .16s}
.auth-google:hover{border-color:#b7c6e0;box-shadow:0 3px 10px #14213b05}.auth-google svg{width:19px;height:19px;flex-shrink:0}
.auth-divider{display:flex;align-items:center;gap:14px;color:#97a2b4;font-size:11px;margin:6px 0 7px;white-space:nowrap}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--auth-line)}
.auth-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block:-3px 19px;font-size:12px}
.auth-text-button{background:none;border:0;padding:3px 0;color:var(--auth-blue);font:inherit;font-size:12px;font-weight:600;cursor:pointer;min-height:32px;text-align:start}
.auth-form-actions small{font-size:11px;color:var(--auth-muted)}
.auth-signup-link{font-size:13px;text-align:center;color:var(--auth-muted);margin:5px 0}.auth-signup-link a{color:var(--auth-blue);text-decoration:none;font-weight:700;margin-inline-start:4px}
.auth-fine-print{font-size:11px;line-height:1.9;color:var(--auth-muted);text-align:center;margin:0}
.auth-controls [role=alert]{border:1px solid #f4d1d1;border-radius:10px;padding:11px 13px;background:#fff4f3;color:#a53232;font-size:13px;line-height:1.8;margin:0 0 12px}
.auth-controls [role=status]{border:1px solid #cddff9;border-radius:10px;padding:11px 13px;background:#f1f6ff;color:#28579b;font-size:13px;line-height:1.8;margin:0 0 12px}
.auth-reassurance{display:flex;justify-content:center;align-items:center;gap:6px;color:#8b97aa;font-size:11px;margin-block-start:27px}.auth-reassurance svg{width:14px;height:14px}
.auth-footer{display:flex;align-items:center;gap:15px;width:100%;max-width:420px;margin:40px auto 0;padding-block:18px 5px;font-size:11px;color:var(--auth-muted)}
.auth-footer a{color:inherit;text-decoration:none}.auth-footer a:hover{color:var(--auth-blue)}.auth-copyright{margin-inline-start:auto;opacity:.65}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border-radius:28px;min-height:730px;background:radial-gradient(ellipse at 16% 74%,#2055e858,transparent 52%),radial-gradient(ellipse at 88% 16%,#173c8c60,transparent 43%),#0a1530;color:#fff;padding:39px 44px 30px}
.auth-story:after{content:"";position:absolute;z-index:-1;width:500px;height:500px;border:1px solid #ffffff0c;border-radius:50%;inset-inline-start:-255px;bottom:-230px;box-shadow:0 0 0 55px #ffffff03,0 0 0 115px #ffffff02}
.auth-story-grid{position:absolute;z-index:-1;inset:0;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(180deg,transparent,#000,transparent)}
.auth-story-top,.auth-story-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}
.auth-story-wordmark{font:700 12px/1.5 Arial,sans-serif;letter-spacing:2.5px}.auth-story-wordmark>span{color:#8eacd7;letter-spacing:1px;font-weight:400;font-size:10px}
.auth-story-spark{width:31px;height:31px;display:grid;place-items:center;border:1px solid #ffffff20;border-radius:50%;font-size:18px;color:#bdceee}
.auth-story-copy{margin-block:68px 16px;position:relative;z-index:1}.auth-story-kicker{font-size:12px;color:#91a7c8;display:block;margin-block-end:16px}
.auth-story h2{font-family:var(--inti-display-font),var(--font-thmanyah),Arial,sans-serif;font-size:clamp(36px,3.5vw,52px);font-weight:800;line-height:1.35;letter-spacing:-.5px;margin:0 0 20px}.auth-story h2>span{color:#91b3ff}
.auth-story-copy>p{font-size:13px;color:#a6b8d3;line-height:2;max-width:340px;margin:0}
.auth-card-scene{position:relative;z-index:1;max-width:360px;width:95%;margin:30px auto 48px;perspective:1000px}
.auth-preview-card{position:relative;border:1px solid #a4bcff48;border-radius:22px;padding:24px 24px 19px;background:linear-gradient(125deg,#3150a6ef,#183065ee 65%,#1e3770);box-shadow:0 30px 50px #0004,inset 0 1px 0 #ffffff15;transform:rotate(-5deg);overflow:hidden}
.auth-preview-card:after{content:"";position:absolute;width:180px;height:180px;inset-inline-end:-110px;top:-80px;border-radius:50%;border:25px solid #ffffff05;pointer-events:none}
.auth-preview-ghost{position:absolute;inset:0 6px -8px;border:1px solid #b0c7ff19;border-radius:22px;background:#183067;transform:rotate(3deg)}
.auth-preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#d7e3ff}.auth-preview-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffffff0c;border:1px solid #ffffff16;font-size:19px}
.auth-preview-label{font:500 9px/1.6 Arial,sans-serif;letter-spacing:2.3px;color:#a3bae9;margin-top:21px}.auth-preview-title{font-size:21px;font-weight:700;margin-top:4px;line-height:1.6}
.auth-preview-progress{display:flex;gap:7px;margin:19px 0 13px}.auth-preview-progress i{height:5px;flex:1;border-radius:10px;background:#a6c0ff}.auth-preview-progress i.empty{background:#ffffff17}
.auth-preview-bottom{display:flex;justify-content:space-between;align-items:center;color:#b6c9eb;font-size:10px}.auth-preview-bottom>span:last-child{font-size:18px;color:#c7d8ff}
.auth-preview-caption{display:block;text-align:center;margin-top:22px;font-size:9px;letter-spacing:.1px;color:#7087ae}
.auth-story-bottom{font-size:10px;color:#8298bb}.auth-story-bottom>span:last-child{font-family:Arial,sans-serif;letter-spacing:2px}
.auth-phone{border:1px solid var(--auth-line);border-radius:12px;background:var(--auth-surface);padding:0;margin:0}
.auth-phone summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none;padding:14px 15px;min-height:52px;font-size:13px;font-weight:600;color:var(--auth-ink)}
.auth-phone summary::-webkit-details-marker{display:none}.auth-phone-icon{width:21px;height:21px;color:#159965;flex-shrink:0}.auth-phone-arrow{width:15px;height:15px;margin-inline-start:auto;color:#8c99ac;transition:transform .2s}.auth-phone[open] .auth-phone-arrow{transform:rotate(180deg)}
.auth-phone form{padding:3px 17px 16px}.auth-phone form>p:first-child{color:var(--auth-muted);font-size:11px;line-height:1.9;margin:0 0 16px}.auth-phone form>label{margin-block:10px 7px}.auth-phone .btn-primary{margin-block-start:12px}.auth-phone input[autocomplete=one-time-code]{text-align:center;font:600 23px/1.4 Arial,sans-serif;letter-spacing:.42em;min-height:58px}
.auth-controls .auth-phone [role=status]{margin-block:12px 0;background:#effaf5;border-color:#d3eee0;color:#1c6a4c}.auth-phone [role=alert]{margin-block:12px 0}
.auth-profile-note{border:1px solid var(--auth-line);border-radius:12px;padding:13px;font-size:12px;color:var(--auth-muted);line-height:1.9}
.auth-experience details>summary{cursor:pointer}.auth-controls .auth-back{font-size:12px;color:var(--auth-muted);text-decoration:none;display:block;text-align:center;padding:8px}
html[data-theme=dark] .auth-experience{--auth-bg:#0b1220;--auth-surface:#111c2f;--auth-ink:#ecf1f9;--auth-muted:#9caac1;--auth-line:#27344b;--auth-blue:#527dff}
html[data-theme=dark] .auth-controls [role=alert]{background:#351e27;border-color:#6d3541;color:#ffb0b6}html[data-theme=dark] .auth-controls [role=status]{background:#172a48;border-color:#2c4d7d;color:#c1d6ff}
html[data-theme=dark] .auth-controls .btn-primary{color:#fff;background:#3768ef;border-color:#3768ef}html[data-theme=dark] .auth-eyebrow>span{box-shadow:0 0 0 4px #527dff19}html[data-theme=dark] .auth-phone form>[role=status]{background:#15342b;border-color:#285747;color:#a8e3cb}
@media(min-width:1600px){.auth-layout{padding-top:35px;padding-bottom:35px}.auth-story{min-height:800px}}
@media(max-width:1050px){.auth-layout{gap:12px;padding:18px}.auth-form-side{padding-inline:26px}.auth-story{padding-inline:30px}.auth-story h2{font-size:39px}.auth-story-copy{margin-block-start:60px}}
@media(max-width:780px){.auth-layout{display:block;max-width:520px;min-height:calc(100svh - 80px);padding:14px 24px 8px}.auth-story{display:none}.auth-form-side{padding:30px 0 8px;min-height:calc(100svh - 118px)}.auth-form-content{margin-block:auto}.auth-eyebrow{font-size:11px;margin-bottom:13px}.auth-experience .auth-form-side h1{font-size:29px;letter-spacing:0}.auth-description{margin-bottom:25px;font-size:13px}.auth-footer{margin-top:30px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.auth-controls{gap:13px}.auth-controls input:not([type=checkbox]){font-size:16px}.auth-reassurance{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.auth-experience *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* The same visual system for the static portal, staff CRM, CRM app and Events. */
.auth-entry-static,.auth-entry-layout{--auth-surface:#fff;--auth-ink:#14213b;--auth-muted:#738097;--auth-line:#e4e9f1;--auth-blue:#215cf3;color:var(--auth-ink)}
:is(#authWrap.auth-entry-static,.auth-entry-layout){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);align-items:center;gap:36px;padding:28px 36px;box-sizing:border-box;background:#f7f9fc}
#authWrap.auth-entry-static{min-height:100svh;overflow:auto;align-content:center}
.auth-entry-layout{width:calc(100% - 40px);max-width:1300px;min-height:calc(100svh - 100px);margin:24px auto;border-radius:28px}
:is(#authWrap.auth-entry-static,.auth-entry-layout)>.auth-story{min-height:680px;align-self:stretch;text-align:start}
:is(#authWrap.auth-entry-static,.auth-entry-layout) :is(.authcard,.auth){width:100%;max-width:440px;margin:0 auto;padding:30px 20px;background:transparent;border:0;box-shadow:none;border-radius:0;box-sizing:border-box;text-align:start}
.auth-entry-static .auth-story h2,.auth-entry-layout .auth-story h2{font-family:inherit}
.auth-entry-static .authcard :is(.panel,.auth-form),.auth-entry-layout .auth form{background:transparent;border:0;box-shadow:none;padding:0}
:is(.auth-entry-static,.auth-entry-layout) :is(h1,.logo h1){font-size:30px;line-height:1.4;font-weight:800;color:var(--auth-ink);margin-block:10px 12px;letter-spacing:0}
:is(.auth-entry-static,.auth-entry-layout) :is(.hint,.sub){color:var(--auth-muted);font-size:13px;line-height:1.9}
:is(.auth-entry-static,.auth-entry-layout) :is(.logo,.sub){text-align:start}
:is(.auth-entry-static,.auth-entry-layout) :is(input:not([type=checkbox]):not([type=file]),select,textarea){font-family:inherit;font-size:16px;min-height:52px;width:100%;box-sizing:border-box;padding:12px 15px;border:1px solid var(--auth-line);border-radius:12px;color:var(--auth-ink);background:var(--auth-surface);outline:none}
:is(.auth-entry-static,.auth-entry-layout) :is(input,select,textarea):focus{border-color:#537dff;box-shadow:0 0 0 4px #215cf312}
:is(.auth-entry-static,.auth-entry-layout) label{font-size:13px;color:var(--auth-ink);font-weight:600;display:block;margin-bottom:8px}
:is(.auth-entry-static,.auth-entry-layout) :is(.field,.fld){margin-bottom:17px}
:is(.auth-entry-static,.auth-entry-layout) button{font-family:inherit;cursor:pointer;border-radius:12px;min-height:44px;font-size:13px}
:is(.auth-entry-static,.auth-entry-layout) :is(.btn.primary,button.primary,.btn-primary,#submitBtn){border:1px solid var(--auth-blue);background:var(--auth-blue);color:white;min-height:52px;box-shadow:0 4px 12px #215cf31a;font-weight:700}
:is(.auth-entry-static,.auth-entry-layout) :is(.google,#googleBtn,#btnGoogle){border:1px solid var(--auth-line);background:var(--auth-surface);color:var(--auth-ink);min-height:52px;font-weight:600;display:flex;justify-content:center;align-items:center;gap:11px;width:100%;box-shadow:none}
:is(.auth-entry-static,.auth-entry-layout) :is(.google,#googleBtn,#btnGoogle) svg{width:19px;height:19px;flex-shrink:0}
:is(.auth-entry-static,.auth-entry-layout) :is(.tabs,.navtabs){gap:5px;padding:4px;border:1px solid var(--auth-line);border-radius:12px;background:#edf1f7;box-shadow:none;margin-block:20px}
:is(.auth-entry-static,.auth-entry-layout) :is(.tabs,.navtabs) button{border:0;background:transparent;color:var(--auth-muted);font-size:12px;min-height:39px}
:is(.auth-entry-static,.auth-entry-layout) :is(.tabs,.navtabs) :is(.on,.active){background:var(--auth-surface);color:var(--auth-ink);box-shadow:0 1px 4px #14213b0b}
:is(.auth-entry-static,.auth-entry-layout) .portal-switch{margin-top:24px;border-top:1px solid var(--auth-line);padding-top:17px;font-size:12px}
.auth-entry-layout .auth-logo{object-fit:contain;max-width:58px;height:58px;margin:0 0 17px}
html[data-theme=dark] :is(.auth-entry-static,.auth-entry-layout){--auth-surface:#111c2f;--auth-ink:#ecf1f9;--auth-muted:#9caac1;--auth-line:#27344b;--auth-blue:#527dff;background:#0b1220}
html[data-theme=dark] :is(.auth-entry-static,.auth-entry-layout) :is(.tabs,.navtabs){background:#172238}
html[data-theme=dark] .auth-entry-layout img[src="/uploads/assets-1784318017075.png"]{filter:brightness(0) invert(1)}
html[dir=ltr] :is(.auth-entry-static,.auth-entry-layout) :is(.authcard,.auth,.logo){direction:ltr;text-align:start}
:is(#eaLogin,#eaRecovery).auth-entry-static{max-width:440px;margin:42px auto 65px;padding:18px 10px;background:transparent}
:is(#eaLogin,#eaRecovery).auth-entry-static h1{font-size:30px;text-align:start;margin:0 0 10px}
:is(#eaLogin,#eaRecovery).auth-entry-static .ea-login-head{text-align:start;margin:0 0 25px}
:is(#eaLogin,#eaRecovery).auth-entry-static form{background:transparent;border:0;box-shadow:none;padding:0;gap:16px}
:is(#eaLogin,#eaRecovery).auth-entry-static .evt-btn{min-height:48px;border-radius:12px}
:is(#eaLogin,#eaRecovery).auth-entry-static #eaGoogle{background:var(--auth-surface);border:1px solid var(--auth-line);min-height:52px}
.auth-legacy-signup>.mx-auto>.grid{gap:54px;align-items:start}
.auth-legacy-signup section:first-child{padding:34px 24px}.auth-legacy-signup section:last-child{border-radius:22px;border:1px solid #e4e9f1;box-shadow:0 12px 55px #17255406;padding:30px}
.auth-legacy-signup input,.auth-legacy-signup select,.auth-legacy-signup textarea{border-radius:12px;min-height:52px}
@media(max-width:900px){:is(#authWrap.auth-entry-static,.auth-entry-layout){grid-template-columns:minmax(0,1fr);padding:28px 22px;gap:0}.auth-entry-static>.auth-story,.auth-entry-layout>.auth-story{display:none!important}.auth-entry-layout{max-width:520px;width:calc(100% - 20px);margin:12px auto;min-height:calc(100svh - 100px)}:is(#authWrap.auth-entry-static,.auth-entry-layout) :is(.authcard,.auth){padding:20px 0;max-width:420px}.auth-legacy-signup section:first-child{padding:10px 0}.auth-legacy-signup section:last-child{padding:24px 20px}.auth-legacy-signup>.mx-auto>.grid{gap:20px}}
[data-auth-lang=en]{display:none}html[dir=ltr] [data-auth-lang=en]{display:contents}html[dir=ltr] [data-auth-lang=ar]{display:none}
.auth-story h2>[data-auth-lang]{color:inherit}.auth-story h2 em{font-style:normal;color:#91b3ff}
#eaLogin.auth-entry-events,#eaRecovery.auth-entry-events{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);gap:40px;max-width:1220px;padding:20px 0;margin:20px auto 40px}
.auth-entry-events .auth-static-form{width:100%;max-width:420px;margin:auto;min-width:0}.auth-entry-events>.auth-story{min-height:680px}
.auth-entry-layout .btn-main{min-height:52px;border-radius:12px;background:var(--auth-blue);font-weight:700}
body:has(>.auth-entry-layout){display:block;background:#f7f9fc}html[data-theme=dark] body:has(>.auth-entry-layout){background:#0b1220}
@media(max-width:900px){#eaLogin.auth-entry-events,#eaRecovery.auth-entry-events{display:block;max-width:460px;padding:24px 8px}.auth-entry-events>.auth-story{display:none!important}}

.auth-experience[dir=rtl] .auth-input-wrap input{padding-left:54px;padding-right:15px}
.auth-experience[dir=ltr] .auth-input-wrap input{padding-right:54px;padding-left:15px}
