:root{--bg:#F3F2EE;--surface:#FFFFFF;--surface-2:#ECEBE6;--ink:#151515;--ink-2:#33332F;--muted:#66665F;--line:#DEDDD8;--red:#D21F26;--red-ink:#FFFFFF;--red-text:#C81E25;--red-soft:#FBE7E7;--ok:#167D3E;--ok-soft:#E3F3E8;--warn:#9A5B00;--warn-soft:#FDF0DC;--wa:#118043;--brand-bg:#0A0A0A;--brand-ink:#F5F4F0;--font-display:"Readex Pro","IBM Plex Sans Arabic",system-ui,sans-serif;--font-body:"IBM Plex Sans Arabic",system-ui,sans-serif;--radius:12px;--radius-lg:18px;color-scheme:light}:root[data-theme=dark]{--bg:#121212;--surface:#1A1A1A;--surface-2:#232323;--ink:#EDEDEB;--ink-2:#CFCFCB;--muted:#9C9C97;--line:#2A2A2A;--red-text:#FF5A5F;--red-soft:#3A1517;--ok:#3DBE7A;--ok-soft:#12301F;--warn:#F0B45A;--warn-soft:#33270F;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:15.5px;line-height:1.7;transition:background-color .3s,color .3s}a,button,input{color:inherit}button,input{font:inherit}button{cursor:pointer;background:none;border:0;padding:0}.num{font-family:var(--font-display);font-feature-settings:"tnum"}.icon{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:6px}:root:not([data-theme=dark]) .i-sun,:root[data-theme=dark] .i-moon{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 22px;border-radius:var(--radius);font-weight:600;font-size:15.5px;transition:filter .2s,transform .1s,opacity .2s}.btn:active{transform:scale(.99)}.btn-red{background:var(--red);color:var(--red-ink);width:100%}.btn-red:hover{filter:brightness(1.06)}.btn-red[disabled]{opacity:.55;cursor:not-allowed}.btn-ghost{border:1px solid var(--line)}.btn-ghost,.icon-btn{background:var(--surface)}.icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);display:inline-grid;place-items:center}.icon-btn:hover{border-color:var(--ink)}.link{text-decoration:underline;text-underline-offset:4px;font-weight:600;font-size:14px}.link[disabled]{opacity:.45;text-decoration:none;cursor:default}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.auth{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.auth-form{display:grid;place-items:center;padding:40px 24px}.auth-card{width:min(380px,100%)}.auth-brand{position:relative;overflow:hidden;background:var(--brand-bg);color:var(--brand-ink);display:flex;flex-direction:column;justify-content:space-between;padding:40px 56px;order:-1}.auth-brand:before{content:"";position:absolute;width:760px;height:760px;inset-inline-start:-260px;bottom:-380px;background:radial-gradient(closest-side,rgba(210,31,38,.42),rgba(210,31,38,0));pointer-events:none}.auth-brand>*{position:relative}.ag-logo{display:inline-flex;align-items:center;gap:12px;font-family:var(--font-display);font-weight:700;font-size:20px;letter-spacing:.04em;direction:ltr}.ag-logo img{width:44px;height:44px;border-radius:50%}.ag-logo b{color:#E8343A;font-weight:700}.auth-brand h2{font-family:var(--font-display);font-weight:700;font-size:clamp(34px,3.6vw,56px);line-height:1.18;margin:0 0 14px;max-width:13ch}.auth-brand p{margin:0;color:rgba(245,244,240,.72);font-size:16px;max-width:42ch}.auth-brand .foot{font-size:13px;color:rgba(245,244,240,.55)}.auth-brand .lines{display:grid;grid-gap:10px;gap:10px;margin-top:28px;font-size:14.5px;color:rgba(245,244,240,.8)}.auth-brand .lines span{display:flex;gap:10px;align-items:center}.auth-brand .lines .icon{color:#E8343A}.who{display:flex;align-items:center;gap:12px;margin-bottom:26px}.who-icon{width:44px;height:44px;border-radius:12px;background:var(--brand-bg);display:grid;place-items:center;overflow:hidden}.who-icon img{width:100%;height:100%;object-fit:cover}.who-icon .icon{color:#E8343A;width:22px;height:22px}.who b{display:block;font-family:var(--font-display);font-weight:600;font-size:16px;line-height:1.3}.who small{color:var(--muted);font-size:12.5px}.auth-card h1{font-family:var(--font-display);font-weight:700;font-size:30px;line-height:1.25;margin:0 0 6px}.auth-card .sub{margin:0 0 24px;color:var(--muted);font-size:14.5px}.auth-card .sub b{color:var(--ink);font-family:var(--font-display);font-weight:600}.field-l{display:block;font-size:13px;color:var(--ink-2);margin:0 0 8px;font-weight:500}.input{position:relative;display:flex;align-items:center;height:52px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);transition:border-color .2s;margin-bottom:16px}.input:focus-within{border-color:var(--ink)}.input.bad{border-color:var(--red-text)}.input input{border:0;outline:none;background:transparent;width:100%;height:100%;padding:0 16px;font-size:16px}.input .prefix{-webkit-padding-start:16px;padding-inline-start:16px;color:var(--muted);font-family:var(--font-display);font-size:15.5px;direction:ltr;white-space:nowrap}.input .prefix+input{-webkit-padding-start:8px;padding-inline-start:8px}.input .eye{-webkit-margin-end:8px;margin-inline-end:8px;width:36px;height:36px;border-radius:8px;display:grid;place-items:center;color:var(--muted)}.input .eye:hover{color:var(--ink)}.phone-input{direction:ltr}.phone-input .prefix{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0}.phone-input input{text-align:left;font-family:var(--font-display);letter-spacing:.02em}.otp{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:10px;gap:10px;direction:ltr;margin-bottom:18px}.otp input{width:100%;min-width:0;height:58px;text-align:center;font-family:var(--font-display);font-size:24px;font-weight:600;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);outline:none;transition:border-color .2s,transform .2s}.otp input:focus{border-color:var(--red);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 18%,transparent)}.otp.bad input{border-color:var(--red-text);animation:shake .35s}.otp.good input{border-color:var(--ok)}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}.msg{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--radius);font-size:14px;margin:0 0 16px;line-height:1.6}.msg .icon{margin-top:2px}.msg.err{background:var(--red-soft);color:var(--red-text)}.msg.warn{background:var(--warn-soft);color:var(--warn)}.msg.ok{background:var(--ok-soft);color:var(--ok)}.row-between{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13.5px;color:var(--muted);margin-top:14px}.row-between b{color:var(--ink);font-family:var(--font-display)}.help{font-size:13px;color:var(--muted);margin:14px 0 0}.help b{color:var(--ink);font-family:var(--font-display);font-weight:600;direction:ltr;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}.auth-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:26px;padding-top:16px;font-size:13px;color:var(--muted)}.auth-foot .tools{display:flex;gap:8px}.auth-foot .lang{width:auto;padding:0 12px;font-weight:600;font-family:var(--font-display);font-size:13px}.rules{list-style:none;padding:0;margin:-6px 0 16px;display:grid;grid-gap:4px;gap:4px;font-size:13px;color:var(--muted)}.rules li{display:flex;align-items:center;gap:8px}.rules .icon{width:15px;height:15px;opacity:.35}.rules li.ok{color:var(--ok)}.rules li.ok .icon{opacity:1}.done-box{text-align:center}.done-box .big-icon{width:64px;height:64px;border-radius:50%;background:var(--ok-soft);color:var(--ok);display:grid;place-items:center;margin:0 auto 18px}.done-box .big-icon .icon{width:30px;height:30px}.lock-time{font-family:var(--font-display);font-weight:700}.demo-note{margin-top:18px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;font-size:12.5px;color:var(--muted)}.demo-note b{font-family:var(--font-display);color:var(--ink);direction:ltr;unicode-bidi:-webkit-isolate;unicode-bidi:isolate}@media (max-width:900px){.auth{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.auth-brand{padding:22px 20px 26px;min-height:0}.auth-brand:before{width:420px;height:420px;bottom:-260px}.auth-brand h2{font-size:26px;margin:18px 0 6px;max-width:none}.auth-brand p{font-size:14px}.auth-brand .foot,.auth-brand .lines{display:none}.ag-logo img{width:36px;height:36px}.ag-logo{font-size:17px}.auth-form{place-items:start center;padding:28px 16px 40px}.otp{gap:7px}.otp input{height:52px;font-size:21px}}