/* Sign-in page: "Live routes" design. A dark map panel with routes drawing themselves, and a clean sign-in panel. */
:root{--navy:#14213D;--night:#0B1428;--accent:#FF5A00;--accent-ink:#C2410C;--muted:#5B6578;--line:#D5D9E2;--bad:#991B1B;--badbg:#FEE2E2}
*{box-sizing:border-box}
[hidden]{display:none !important}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--navy);background:#fff}
.lg{min-height:100vh;display:flex;flex-wrap:wrap}
.lg-art{flex:999 1 560px;min-width:0;min-height:520px;position:relative;overflow:hidden;background:var(--night);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:48px 56px}
.lg-art svg.map{position:absolute;inset:0;width:100%;height:100%}
.lg-brand{position:relative;display:flex;align-items:center;gap:12px}
.lg-mark{width:44px;height:44px;border-radius:12px;background:var(--accent);display:grid;place-items:center;font:700 22px "Space Grotesk",Inter,sans-serif;color:var(--navy)}
.lg-name{font:600 18px "Space Grotesk",Inter,sans-serif;letter-spacing:.2px}
.lg-pitch{position:relative;max-width:520px}
.lg-pitch h1{margin:0 0 16px;font:700 52px/1.05 "Space Grotesk",Inter,sans-serif;letter-spacing:-1px}
.lg-pitch p{margin:0;font-size:17px;line-height:1.6;color:rgba(255,255,255,.72)}
.lg-chips{position:relative;display:flex;flex-wrap:wrap;gap:10px}
.lg-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:13px;font-weight:500}
.lg-chip i{width:8px;height:8px;border-radius:50%;display:inline-block}
.lg-main{flex:1 1 440px;min-width:0;display:flex;align-items:center;justify-content:center;padding:48px 24px;background:#fff}
.lg-box{width:100%;max-width:400px}
.lg-kicker{font-size:13px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;color:var(--accent-ink);margin-bottom:10px}
.lg-box h2{margin:0 0 8px;font:700 32px/1.15 "Space Grotesk",Inter,sans-serif}
.lg-lead{margin:0 0 32px;color:var(--muted);font-size:15px;line-height:1.5}
.lg-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--badbg);color:var(--bad);font-size:14px;font-weight:500;margin-bottom:20px}
.lg-alert svg{flex:none;margin-top:1px}
.lg-form{display:flex;flex-direction:column;gap:18px}
.lg-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.lg-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;gap:12px}
.lg-hint{font-size:13px;color:var(--muted)}
.lg-field input{width:100%;height:52px;border:1.5px solid var(--line);border-radius:12px;padding:0 16px;font:500 15px Inter,system-ui,sans-serif;color:var(--navy);background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}
.lg-field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(255,90,0,.15)}
.lg-field.bad input{border-color:#B91C1C;box-shadow:0 0 0 4px rgba(185,28,28,.10)}
.lg-pw{position:relative}
.lg-pw input{padding-right:56px}
.lg-eye{position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.lg-eye:hover{background:#EEF0F5}
.lg-eye:focus-visible,.lg-go:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
.lg-go{margin-top:8px;height:54px;border:0;border-radius:14px;background:var(--accent);color:var(--navy);font:700 16px Inter,system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .12s,box-shadow .2s}
.lg-go:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(255,90,0,.35)}
.lg-go[disabled]{cursor:progress;opacity:.9;transform:none}
.lg-spin{display:none;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(20,33,61,.25);border-top-color:var(--navy);animation:lg-spin .8s linear infinite}
.lg-go.busy .lg-spin{display:inline-block}
.lg-go.busy .lg-arrow{display:none}
.lg-foot{margin:28px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* motion */
.route{fill:none;stroke-linecap:round;stroke-dasharray:900;stroke-dashoffset:900;animation:lg-dash 3.2s ease-out forwards}
.route.r2{animation-delay:.5s}.route.r3{animation-delay:1s}.route.r4{animation-delay:1.5s}
.ping{animation:lg-pulse 2.4s ease-out infinite}.ping.p2{animation-delay:.8s}.ping.p3{animation-delay:1.6s}
.lg-float{animation:lg-drift 6s ease-in-out infinite}
.lg-rise{animation:lg-rise .7s ease-out both}
@keyframes lg-dash{to{stroke-dashoffset:0}}
@keyframes lg-pulse{0%{r:4;opacity:1}70%{r:16;opacity:0}100%{r:16;opacity:0}}
@keyframes lg-drift{0%,100%{transform:translate(0,0)}50%{transform:translate(6px,-4px)}}
@keyframes lg-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes lg-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.route{animation:none;stroke-dashoffset:0}.ping,.lg-float,.lg-rise,.lg-spin{animation:none}}

/* small screens: the map panel goes on top and gets shorter */
@media (max-width: 700px){
  /* a compact header, so the form is on the first screen */
  .lg-art{min-height:auto;padding:22px 20px 26px;gap:18px}
  .lg-pitch h1{font-size:26px;margin:0}
  .lg-pitch p,.lg-chips{display:none}
  .lg-mark{width:38px;height:38px;font-size:19px}
  .lg-main{padding:28px 20px 36px;align-items:flex-start}
  .lg-box h2{font-size:28px}
  .lg-lead{margin-bottom:24px}
}

/* Arabic (right to left) */
.lg-lang{color:var(--accent-ink,#C2410C);font-weight:600}
[dir=rtl] body,[dir=rtl] .lg-field input,[dir=rtl] .lg-go{font-family:"Noto Sans Arabic",Inter,system-ui,sans-serif}
[dir=rtl] .lg-name,[dir=rtl] .lg-pitch h1,[dir=rtl] .lg-box h2{font-family:"Noto Sans Arabic","Space Grotesk",Inter,sans-serif;letter-spacing:0}
[dir=rtl] .lg-pitch h1{line-height:1.3}
[dir=rtl] .lg-pw input{padding-right:16px;padding-left:56px}
[dir=rtl] .lg-eye{right:auto;left:4px}
[dir=rtl] .lg-arrow{transform:scaleX(-1)}
[dir=rtl] #Email{direction:ltr;text-align:right}
