/* Login screen (S01) — ported from source/designs/web-01-login.html */

  .split { display: grid; grid-template-columns: 600px 1fr; min-height: 100vh; }
  html, body { height: auto; }

  /* ---------- Form panel ---------- */
  .form-panel { background: #fff; display: flex; flex-direction: column; padding: 30px 72px 26px; }
  .fp-top { display: flex; align-items: center; justify-content: space-between; }
  .fp-brand { display: flex; align-items: center; gap: 10px; }
  .fp-brand img { width: 34px; height: 34px; }
  .fp-brand .n { font-family: var(--hx-font-en); font-weight: 700; font-size: 17px; line-height: 1.1; }
  .fp-brand .s { font-size: 11px; color: var(--hx-muted); }
  .fp-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
  .fp-body h1 { font-size: 26px; font-weight: 700; line-height: 1.3; }
  .fp-body .lead { color: var(--hx-muted); font-size: 13.5px; margin-top: 2px; }
  .auth-steps { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--hx-muted); background: var(--hx-bg); border: 1px solid var(--hx-border); border-radius: 10px; padding: 8px 12px; }
  .auth-steps .s { display: flex; align-items: center; gap: 7px; }
  .auth-steps .d { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--hx-font-en); font-size: 11px; font-weight: 600; background: #fff; border: 1.5px solid var(--hx-border-strong); color: var(--hx-muted); }
  .auth-steps .s.on { color: var(--hx-text); font-weight: 600; }
  .auth-steps .s.on .d { background: var(--hx-indigo-500); border-color: var(--hx-indigo-500); color: #fff; }
  .auth-steps .line { flex: 1; height: 1.5px; background: var(--hx-border-strong); }
  .input svg.lucide, .select svg.lucide { width: 17px; height: 17px; color: var(--hx-faint); }
  .input .end { margin-inline-start: auto; }
  .pw { letter-spacing: 3px; font-size: 16px; color: var(--hx-text); line-height: 1; }
  .opts { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
  .check { display: flex; align-items: center; gap: 7px; color: var(--hx-text-2); }
  .check .box { width: 16px; height: 16px; border-radius: 4px; background: var(--hx-indigo-500); display: grid; place-items: center; color: #fff; }
  .check .box svg.lucide { width: 12px; height: 12px; stroke-width: 3; }
  .lnk { color: var(--hx-indigo-500); font-weight: 500; }
  .btn-block { width: 100%; justify-content: center; padding: 11px 18px; font-size: 14.5px; border-radius: 11px; }
  .or { display: flex; align-items: center; gap: 12px; color: var(--hx-faint); font-size: 12px; }
  .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hx-border); }
  .mfa { border: 1px dashed var(--hx-indigo-200); background: #FAFBFF; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 14px; }
  .mfa .t { font-size: 12.5px; font-weight: 600; }
  .mfa .h { font-size: 11.5px; color: var(--hx-muted); }
  .otp { display: flex; gap: 6px; direction: ltr; margin-inline-start: auto; }
  .otp span { width: 30px; height: 36px; border-radius: 8px; border: 1px solid var(--hx-border-strong); background: #fff; display: grid; place-items: center; font-family: var(--hx-font-en); font-weight: 600; color: var(--hx-faint); }
  .sec-note { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; color: var(--hx-muted); background: var(--hx-teal-50); border-radius: 10px; padding: 9px 12px; line-height: 1.6; }
  .sec-note svg.lucide { color: var(--hx-teal-600); width: 17px; height: 17px; margin-top: 1px; }
  .fp-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--hx-faint); }
  .fp-foot .links { display: flex; gap: 14px; }

  /* ---------- Brand panel ---------- */
  .brand-panel { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #1B2A6B 0%, var(--hx-ink) 55%, #070E22 100%); color: #fff; padding: 56px 72px; display: flex; flex-direction: column; }
  .brand-panel .pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
  .brand-panel .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(15,181,166,.28), rgba(15,181,166,0) 65%); left: -140px; bottom: -180px; }
  .bp-inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
  .bp-logo { display: flex; align-items: center; gap: 14px; }
  .bp-logo .mark { width: 58px; height: 58px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .bp-logo .mark img { width: 44px; height: 44px; }
  .bp-logo .n { font-family: var(--hx-font-en); font-weight: 700; font-size: 26px; letter-spacing: .3px; line-height: 1.1; }
  .bp-logo .n b { color: var(--hx-teal-500); font-weight: 700; }
  .bp-logo .s { font-size: 13px; color: #9AA6C6; margin-top: 2px; }
  .tagline { margin-top: auto; font-size: 40px; font-weight: 700; line-height: 1.45; max-width: 620px; }
  .tagline span { display: block; }
  .tagline .hl { background: linear-gradient(90deg, #5EEAD4, #8EA2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .tag-en { font-family: var(--hx-font-en); direction: ltr; text-align: right; color: #8E9AB8; font-size: 14px; margin-top: 12px; letter-spacing: .2px; }
  .values { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; max-width: 700px; }
  .val { display: flex; gap: 12px; align-items: flex-start; }
  .val .ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: var(--hx-teal-500); flex-shrink: 0; }
  .val .t { font-weight: 600; font-size: 14px; }
  .val .d { font-size: 12.5px; color: #9AA6C6; line-height: 1.6; }
  .glass { margin-top: auto; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 18px; max-width: 700px; backdrop-filter: blur(6px); }
  .method { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; margin-top: 10px; }
  .method .st { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #C9D1E6; white-space: nowrap; }
  .method .st .d { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-family: var(--hx-font-en); font-size: 10.5px; font-weight: 600; background: rgba(15,181,166,.18); color: #5EEAD4; border: 1px solid rgba(94,234,212,.4); }
  .method .ar { color: #4B5878; }
  .method .ar svg.lucide { width: 13px; height: 13px; }
  .bp-foot { display: flex; gap: 10px; margin-top: 18px; }
  .trust { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #AEB8D3; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px 11px; }
  .trust svg.lucide { width: 14px; height: 14px; color: var(--hx-teal-500); }

  html[dir="ltr"] .tag-en { text-align: left; }
  .form-panel input.input-real { border: 0; outline: none; background: transparent; flex: 1; font: inherit; color: var(--hx-text); min-width: 0; }
  .form-panel select.input-real { appearance: auto; }
  .seg a { padding: 5px 12px; border-radius: 8px; font-size: 12.5px; color: var(--hx-muted); }
  .seg a.on { background: #fff; color: var(--hx-text); font-weight: 600; box-shadow: var(--hx-shadow-sm); }
  .demo-hint { font-size: 11.5px; color: var(--hx-muted); background: var(--hx-bg); border: 1px dashed var(--hx-border-strong); border-radius: 10px; padding: 8px 12px; line-height: 1.7; }
  .demo-hint code { font-family: var(--hx-font-mono); background: #fff; border: 1px solid var(--hx-border); border-radius: 5px; padding: 0 5px; }
