/* Sign-in page: "Navy Button" (chosen 17 Nov 2026 from 10 dashboard-colour samples; before it, "Lilac Split" in Rose
   Lilac). The same split layout and form, in the dashboard's colours: a near-white page, the dashboard's Lilac Mist
   behind the headline and the order-flow picture, navy-grey text and a solid navy Sign in button. The picture's own
   colours (grey circles, the first in soft navy) are set in auth/login.ejs.
   Loaded only by auth/login.ejs; remove its <link> there to go back to the peach page. */
body.auth-split {
  --ll-ink: #26314a;
  --ll-muted: #727a8c;
  --ll-line: #e1e5ee;
  --ll-icon: #8a96ad;
  --ll-navy: #33476e;
  --ll-focus: #8a9cbd;
  /* How far the curve reaches across (at most 880px). The left column ends where the curve does, so the form is
     centred in the open white space beside it */
  --ll-curve: min(55vw, 880px);
  grid-template-columns: minmax(0, var(--ll-curve)) minmax(0, 1fr);
  color: var(--ll-ink);
  background: #fbfbfd;
}
/* The curve behind the headline: the dashboard's Lilac Mist background; on wide screens at most 880px across (it
   still clears the headline and the order-flow picture) */
.auth-art .blob-1 { background: linear-gradient(160deg, #ece9f6, #f4f3fa); }
@media (min-width: 901px) {
  .auth-art .blob-1 { left: calc(-1 * var(--ll-curve)); width: calc(2 * var(--ll-curve)); }
  /* a little more room between the curve and the form on smaller laptops */
  .auth-panel { padding-inline: clamp(24px, 4vw, 64px); }
}

.auth-brand h2 { font-weight: 750; color: var(--ll-ink); letter-spacing: -.035em; line-height: 1.08; }
/* The order-flow picture under the headline, kept modest in size */
.auth-illo { width: min(100%, 540px); }
.auth-brand p { color: var(--ll-muted); }

/* The form side sits straight on the page: no panel tint or edge line between it and the curve */
.auth-panel { background: none; border-left: 0; }
.auth-form { width: min(480px, 100%); }
/* Heading centred, in the navy-grey text colour; the line under it centred too */
.auth-form h1 { font-weight: 750; color: var(--ll-ink); letter-spacing: -.035em; width: fit-content; margin-inline: auto; text-align: center; }
.auth-sub { color: var(--ll-muted); text-align: center; }
.auth-form .field label, .auth-form .check { color: var(--ll-ink); }
.auth-form input[type='email'], .auth-form input[type='password'], .auth-form input[type='text'] {
  min-height: 54px; border-radius: 12px; border-color: var(--ll-line); background: #fff; color: var(--ll-ink);
  box-shadow: 0 1px 2px rgb(30 40 60 / 4%);
}
.auth-form input::placeholder { color: var(--ll-icon); }
.auth-form input:focus { border-color: var(--ll-focus); box-shadow: 0 0 0 4px rgb(138 156 189 / 22%); }
.auth-form input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #fff inset; -webkit-text-fill-color: var(--ll-ink); caret-color: var(--ll-ink); }
.auth-form input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px #fff inset, 0 0 0 4px rgb(138 156 189 / 22%); }
.auth-panel .input-ico > .ico, .auth-panel .pw-toggle { color: var(--ll-icon); }
.auth-panel .pw-toggle:hover { background: var(--ll-line); color: var(--ll-ink); }
.auth-form .check input { border-color: var(--ll-line); background: #fff; }
.auth-form .check input:checked { border-color: var(--ll-ink); background-color: var(--ll-ink); }
.auth-form .check input:focus-visible { outline-color: var(--ll-focus); }
/* "Remember my email" lines up with the inside of the fields: the tick sits under the field icons and the words
   start where the typed text starts */
.auth-form .check { padding-left: 19px; gap: 16px; }

/* Sign in: a solid navy pill with white text; a shade deeper when pointed at */
.auth-form .btn-primary {
  min-height: 54px; border-radius: 999px; border: 1.5px solid var(--ll-navy);
  background: var(--ll-navy); color: #fff; font-weight: 750; box-shadow: 0 8px 20px -12px rgb(30 40 60 / 35%);
}
.auth-form .btn-primary:hover { border-color: #2a3b5d; background: #2a3b5d; color: #fff; }
.auth-form .btn-primary:focus-visible { outline: 2px solid var(--ll-focus); outline-offset: 3px; }
.auth-foot { color: var(--ll-icon); }

@media (max-width: 900px) {
  body.auth-split { grid-template-columns: 1fr; }
}
