/* Arvelor Business Portal — sign-in premium presentation layer
   (founder order, 5 Dec 2026, 20:05 GMT: the sign-in page must look
   like the best professional dashboards real businesses use —
   Stripe / Linear / Mercury class).

   PRESENTATION ONLY. Every rule is scoped to the sign-in view
   (.brand-login and its children) so nothing else in the Portal
   changes, and no behaviour, action, or auth flow is touched:
   this file only restyles what the shipped client already renders.

   What it fixes against the shipped bundle CSS:
   1. The step headings ("Sign in", "One more step", …) rendered
      WHITE on the white card — the bundle's .font-display{color:#fff}
      rule wins there — so the heading was invisible. Now dark ink.
   2. The primary button was pale ice-blue with a gold border.
      Now a solid deep-navy button with white text.
   3. Gold was used as a full outline ring around the whole card and
      an inset ring on the brand panel — garish. Gold now appears
      only as the one hairline accent in the brand panel, matte
      #B08D2E on deep navy #000F30, per the founder's gold-on-navy rule.
   4. The logo disc carried a blurry light halo on navy; now a crisp
      disc with a soft dark shadow. The wordmark takes the light
      (white) treatment of the same Logo A lockup on navy.
   5. Inputs had a heavy steel-blue border; now a calm neutral
      border, 12px radius, and a quiet steel focus ring. Labels are
      smaller, darker and clearer. Spacing is more generous
      throughout — calm, premium, uncluttered. */

/* ---------- Page: deep navy, calm depth ---------- */
.brand-login {
  background-color: #000f30;
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(99, 144, 175, 0.32), rgba(0, 15, 48, 0) 62%),
    linear-gradient(180deg, #000f30 0%, #000f30 46%, #000f30 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.brand-login > main {
  padding: 44px 24px 52px;
}

/* ---------- Card: white, soft deep shadow, no gold ring ---------- */
.brand-login .login-shell {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow:
    0 32px 80px -24px rgba(0, 2, 12, 0.7),
    0 10px 28px rgba(0, 2, 12, 0.42);
}

/* ---------- Brand panel: navy gradient, gold only as the hairline ---------- */
.brand-login .login-brand {
  background: linear-gradient(165deg, #000f30 0%, #000f30 55%, #000f30 100%);
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
/* Logo A lockup, light treatment on navy: crisp disc, white wordmark */
.brand-login .login-brand > span:first-child {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: transparent;
}
.brand-login .login-brand .wordmark {
  color: #ffffff;
}

/* ---------- Form panel: airier padding ---------- */
.brand-login .login-shell > div {
  padding: 44px 48px;
}

/* ---------- Headings: visible, dark ink, Poppins (via .font-display) ---------- */
.brand-login .login-shell .font-display {
  color: #030303;
  letter-spacing: -0.015em;
}

/* ---------- Labels: small, dark, clear ---------- */
.brand-login label {
  font-size: 14px;
  font-weight: 600;
  color: #315b7e;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

/* ---------- Inputs: calm neutral border, quiet focus ---------- */
.brand-login input:not([type="checkbox"]) {
  background-color: #ffffff;
  border: 1px solid #98c0d9;
  border-radius: 12px;
  padding: 13px 16px;
  color: #030303;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}
.brand-login input:not([type="checkbox"]):not(.mono) {
  font-size: 16px; /* 16px also stops iOS auto-zoom on focus */
}
.brand-login input:not([type="checkbox"]):focus {
  border-color: #315b7e;
  box-shadow: 0 0 0 4px rgba(49, 91, 126, 0.16);
  outline: none;
}
.brand-login input.pr-12 {
  padding-right: 48px; /* keep room for the show/hide password eye */
}
.brand-login input::placeholder {
  color: #315b7e;
}

/* ---------- Primary button: solid navy, white text ---------- */
.brand-login .btn-primary-glass {
  background: #000f30;
  color: #ffffff;
  border: 1px solid #000f30;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px -10px rgba(0, 15, 48, 0.55);
}
.brand-login .btn-primary-glass:hover:not(:disabled) {
  background: #315b7e;
  border-color: #315b7e;
  color: #ffffff;
}
.brand-login .btn-primary-glass:active:not(:disabled) {
  background: #000f30;
}

/* ---------- Secondary soft buttons: quiet white ---------- */
.brand-login .btn-soft {
  background: #ffffff;
  border-color: #98c0d9;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

/* ---------- Remember-me tick: navy accent ---------- */
.brand-login input[type="checkbox"] {
  accent-color: #000f30;
}

/* ---------- Hairline dividers and card borders inside the form: softer ---------- */
.brand-login [class*="border-[var(--border)]"] {
  border-color: #98c0d9;
}

/* ---------- Keyboard focus: always visible ---------- */
.brand-login button:focus-visible,
.brand-login a:focus-visible,
.brand-login input:focus-visible {
  outline: 2px solid #6390af;
  outline-offset: 2px;
}

/* ---------- Small screens: same standard, tighter frame ---------- */
@media (max-width: 1023px) {
  .brand-login .login-brand {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}
@media (max-width: 639px) {
  .brand-login > main {
    padding: 22px 14px 30px;
  }
  .brand-login .login-shell {
    border-radius: 20px;
  }
  .brand-login .login-shell > div {
    padding: 30px 22px 34px;
  }
  .brand-login .login-brand {
    padding: 28px 22px;
  }
}

/* ---------- 100%-zoom fit on standard laptops (founder order,
   5 Dec 2026, 22:28 GMT): at 1366x768 / 1440x900 the whole card
   AND the plain-text footer line are visible with no scrolling.
   Same design, tighter rhythm on shorter viewports. ---------- */
@media (min-width: 1024px) and (max-height: 900px) {
  .brand-login > main { padding: 26px 24px 30px; }
  .brand-login .login-shell > div { padding: 34px 44px; }
  .brand-login .login-brand { padding-top: 28px; padding-bottom: 28px; }
  .brand-login .short-hide { margin-top: 6px; }
  .brand-login .short-notes { margin-top: 10px; }
  .brand-login .short-notes li { margin-top: 4px; }
}
@media (min-width: 1024px) and (max-height: 840px) {
  .brand-login > main { padding: 18px 24px 20px; }
  .brand-login .login-shell > div { padding: 26px 40px; }
  .brand-login .login-brand { padding-top: 22px; padding-bottom: 22px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .brand-login > main { padding: 12px 24px 14px; }
  .brand-login .login-shell > div { padding: 20px 36px; }
}

.brand-login { min-height: 100dvh; }

/* Zero-fix: the keep-signed-in checkbox label is a 16px flex row, not a
   14px field label; and one focus treatment for every sign-in input. */
.brand-login label:has(> input[type="checkbox"]) {
  font-size: 16px;
  margin-bottom: 0;
}
.brand-login input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(49, 91, 126, 0.16);
}
