/* ============================================================================
   OfferEaze — Client portal sign-in (Auth/Login)
   Lifted verbatim from the inline <style> (Layout=null standalone page).
   NOTE: ~90% overlaps client-auth-checkemail.css — a future dedup once visually verified.
   ============================================================================ */
  :root {
    --oe-navy:        #0E1A2E;
    --oe-navy-deep:   #060D1A;
    --oe-navy-soft:   #1F2D47;
    --oe-navy-line:   #2A3A57;
    --oe-slate:       #4A5C7A;
    --oe-pearl:       #F8FAFB;
    --oe-pearl-2:     #F0F3F6;
    --oe-pearl-3:     #E2E8EE;
    --oe-white:       #FFFFFF;
    --oe-line:        #E2E8EE;
    --oe-line-soft:   #EDF1F5;
    --oe-ink:         #0E1A2E;
    --oe-ink-soft:    #4A5568;
    --oe-ink-muted:   #94A3B8;
    --oe-success:     #0F8A5F;
    --oe-success-bg:  #E8F5EE;
    --oe-success-line:#BFE3CC;
    --oe-danger:      #B91C1C;
    --oe-danger-bg:   #FDECEC;
    --oe-danger-line: #F5C6C6;
    --shadow-sm: 0 1px 2px rgba(14, 26, 46, 0.04);
    --shadow-md: 0 1px 3px rgba(14, 26, 46, 0.04), 0 8px 24px rgba(14, 26, 46, 0.05);
    --shadow-lg: 0 12px 32px rgba(14, 26, 46, 0.06), 0 32px 80px rgba(14, 26, 46, 0.08);
    --radius:    10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
  html, body { height: 100%; }
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--oe-ink);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.005em;
    background: var(--oe-pearl);
  }

  /* ───────── split layout ───────── */
  .auth {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
  }

  /* ───────── brand panel (left) ───────── */
  .brand {
    position: relative;
    overflow: hidden;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    color: var(--oe-pearl);
    background:
      radial-gradient(circle at 12% 8%, rgba(255,255,255,0.07), transparent 42%),
      radial-gradient(circle at 92% 96%, rgba(106,199,156,0.10), transparent 50%),
      linear-gradient(160deg, var(--oe-navy) 0%, var(--oe-navy-deep) 100%);
  }
  /* subtle grid texture */
  .brand::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
  }
  .brand > * { position: relative; z-index: 1; }

  .logo {
    display: inline-flex; align-items: center; gap: 11px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px; font-weight: 600; letter-spacing: -0.03em;
    color: var(--oe-pearl); text-decoration: none;
  }
  .logo-mark {
    width: 34px; height: 34px; border-radius: 9px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    display: grid; place-items: center;
    font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 16px;
    color: var(--oe-pearl);
  }
  .logo .dim { color: rgba(248,250,251,0.45); font-weight: 400; }

  .brand-mid { margin-top: auto; margin-bottom: auto; padding: 48px 0; max-width: 440px; }
  .brand-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(165,222,194,0.9);
    margin-bottom: 22px;
  }
  .brand-eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #6AC79C; box-shadow: 0 0 0 3px rgba(106,199,156,0.22);
  }
  .brand-h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 42px; font-weight: 600;
    letter-spacing: -0.04em; line-height: 1.08;
    margin-bottom: 18px;
    text-wrap: balance;
  }
  .brand-p {
    font-size: 16px; line-height: 1.6;
    color: rgba(248,250,251,0.66);
    text-wrap: pretty;
  }

  .brand-feats {
    list-style: none;
    margin-top: 34px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .brand-feats li {
    display: grid; grid-template-columns: 26px 1fr; gap: 12px;
    align-items: start;
    font-size: 14px; color: rgba(248,250,251,0.8);
  }
  .brand-feats .ic {
    width: 26px; height: 26px; border-radius: 7px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    display: grid; place-items: center;
    color: #A5DEC2; font-size: 12px;
    margin-top: 1px;
  }
  .brand-feats strong { color: var(--oe-pearl); font-weight: 600; }

  .brand-foot {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: rgba(248,250,251,0.42);
  }
  .brand-foot .sep { color: rgba(248,250,251,0.2); }

  /* ───────── form panel (right) ───────── */
  .panel {
    display: grid;
    place-items: center;
    padding: 48px 40px;
    background: var(--oe-pearl);
  }
  .form-wrap {
    width: 100%;
    max-width: 400px;
  }

  .form-head { margin-bottom: 28px; }
  .form-kicker {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--oe-ink-muted);
    margin-bottom: 12px;
  }
  .form-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 28px; font-weight: 600;
    letter-spacing: -0.035em; line-height: 1.12;
    color: var(--oe-navy);
    margin-bottom: 8px;
    text-wrap: balance;
  }
  .form-sub {
    font-size: 14px; line-height: 1.55;
    color: var(--oe-ink-soft);
    text-wrap: pretty;
  }

  /* alert */
  .alert {
    display: flex; align-items: flex-start; gap: 11px;
    background: var(--oe-danger-bg);
    border: 1px solid var(--oe-danger-line);
    border-radius: var(--radius);
    padding: 13px 15px;
    margin-bottom: 22px;
    font-size: 13px; line-height: 1.5;
    color: #8E1616;
  }
  .alert i { color: var(--oe-danger); font-size: 15px; margin-top: 1px; flex-shrink: 0; }
  .alert strong { font-weight: 600; }

  /* field */
  .field { margin-bottom: 18px; }
  .field-label {
    display: block;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--oe-navy);
    margin-bottom: 8px;
  }
  .input-wrap { position: relative; }
  .input-wrap .lead-ic {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--oe-ink-muted); font-size: 15px;
    pointer-events: none;
    transition: color .18s;
  }
  .input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--oe-ink);
    background: var(--oe-white);
    border: 1px solid var(--oe-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color .18s, box-shadow .18s;
  }
  .input::placeholder { color: var(--oe-ink-muted); }
  .input:hover { border-color: var(--oe-pearl-3); }
  .input:focus {
    outline: none;
    border-color: var(--oe-navy);
    box-shadow: 0 0 0 3px rgba(14,26,46,0.08);
  }
  .input:focus + .lead-ic,
  .input-wrap:focus-within .lead-ic { color: var(--oe-navy); }

  /* button */
  .btn {
    width: 100%;
    height: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 15px; font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--oe-pearl);
    background: var(--oe-navy);
    border: 1px solid var(--oe-navy);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .18s;
  }
  .btn:hover { background: var(--oe-navy-soft); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14,26,46,0.20); }
  .btn:active { transform: translateY(0); }
  .btn .arrow { transition: transform .18s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* helper note */
  .helper {
    display: flex; align-items: flex-start; gap: 9px;
    margin-top: 20px;
    padding: 13px 15px;
    background: var(--oe-pearl-2);
    border: 1px solid var(--oe-line-soft);
    border-radius: var(--radius);
    font-size: 12.5px; line-height: 1.5;
    color: var(--oe-ink-soft);
  }
  .helper i { color: var(--oe-slate); font-size: 14px; margin-top: 1px; flex-shrink: 0; }

  .legal {
    margin-top: 26px;
    font-size: 12px; line-height: 1.55;
    color: var(--oe-ink-muted);
    text-align: center;
  }
  .legal a { color: var(--oe-slate); text-decoration: none; font-weight: 500; }
  .legal a:hover { text-decoration: underline; }

  /* mobile brand bar (shown only when stacked) */
  .mobile-brand { display: none; }

  /* ───────── responsive ───────── */
  @media (max-width: 880px) {
    .auth { grid-template-columns: 1fr; }
    .brand { display: none; }
    .panel { padding: 0; align-items: stretch; }
    .form-wrap {
      max-width: 460px;
      margin: 0 auto;
      width: 100%;
      padding: 32px 24px 48px;
    }
    .mobile-brand {
      display: flex; align-items: center; gap: 11px;
      padding: 22px 24px;
      background: var(--oe-navy);
      color: var(--oe-pearl);
    }
    .mobile-brand .logo-mark { background: rgba(255,255,255,0.10); }
    .form-head { margin-top: 30px; }
  }
  @media (max-width: 460px) {
    .form-title { font-size: 24px; }
  }
