/* Log in, forgot / reset password and other pages without the app shell.
   28 Oct 2026 (D12): the new log in page design (4Cast360-Login-Page-Design-28-Oct.html). Website colours on every
   computer and for every user: cream left side, white card, 4Cast360 orange. The left side is always shown: it scales
   with the screen, stays centred on large monitors, tightens on short laptop screens and stacks under the form below 960 px. */
.lg-body { --lg-orange: #F5A623; --lg-orange-h: #E59A1A; --lg-link: #9A5B00; --lg-ink: #1E1E1E; --lg-ink2: #3A3A3A; --lg-muted: #6B6B6B; --lg-faint: #8A8A8A;
  --lg-line: #E6E6E6; --lg-bg: #F8F8F8; --lg-cream: #FEF7EA; --lg-tint: #FDF0D8; --lg-cline: #F3E3C3; --lg-ring: #FDF0D8;
  --lg-padx: clamp(24px, 4.2vw, 80px); --lg-pady: clamp(20px, 4vh, 48px); --lg-gap: clamp(12px, 2.4vh, 28px); --lg-colw: 640px;
  margin: 0; font-family: "Inter", "Segoe UI", system-ui, sans-serif; background: var(--lg-bg); color: var(--lg-ink); -webkit-font-smoothing: antialiased; }
.lg-body a { color: var(--lg-link); text-decoration: none; }
.lg-body a:hover { text-decoration: underline; }

.lg-wrap { line-height: normal; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.lg-wrap *, .lg-wrap *::before, .lg-wrap *::after { box-sizing: border-box; }

/* left side: logo top, content centred in the free space, footer bottom; all on the same left and right edges */
.lg-side { background: var(--lg-cream); border-right: 1px solid var(--lg-cline); padding: var(--lg-pady) var(--lg-padx); display: flex; flex-direction: column; align-items: center; min-height: 100%; color: var(--lg-ink); }
.lg-side > * { width: 100%; max-width: var(--lg-colw); }
.lg-brand { display: inline-block; }
.lg-brand:hover { opacity: .85; }
.lg-logo { display: block; height: clamp(34px, 4.6vh, 52px); width: auto; }
/* logo and content sit together as one block, centred in the height; the footer stays at the bottom (28 Oct: no gap under the logo) */
.lg-brand-row { margin-top: auto; }
.lg-mid { flex: 0 0 auto; display: flex; flex-direction: column; gap: var(--lg-gap); padding: clamp(20px, 4vh, 36px) 0 0; }
.lg-foot { margin-top: auto; padding-top: var(--lg-gap); }
.lg-mid h1 { margin: 0; font-size: clamp(24px, calc(2.1vw + .6vh), 38px); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; color: var(--lg-ink); }
.lg-lead { margin: clamp(6px, 1.2vh, 12px) 0 0; font-size: clamp(13px, .95vw, 16px); color: var(--lg-muted); line-height: 1.6; }
.lg-pts { display: flex; flex-direction: column; gap: clamp(8px, 1.2vh, 12px); }
.lg-pt { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--lg-cline); border-radius: 12px; padding: clamp(9px, 1.4vh, 14px) 14px; font-size: clamp(13px, .95vw, 15px); line-height: 1.45; }
.lg-n { width: 32px; height: 32px; border-radius: 9px; background: var(--lg-tint); color: var(--lg-link); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 600; font-size: 15px; }
.lg-pt b { font-weight: 600; }
.lg-pt span { color: var(--lg-muted); }
.lg-sample { background: #fff; border: 1px solid var(--lg-cline); border-radius: 14px; padding: clamp(12px, 2vh, 18px) 18px; }
.lg-sample__h { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--lg-muted); margin-bottom: 12px; }
.lg-sample__h b { color: var(--lg-ink); font-weight: 600; }
.lg-sample__r { display: grid; grid-template-columns: minmax(76px, auto) 1fr 70px; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 9px; }
.lg-sample__r b { font-weight: 600; }
.lg-sample__r > span:last-child { text-align: right; }
.lg-sample__r .m { color: var(--lg-muted); }
.lg-sample__r .o { color: var(--lg-link); font-weight: 600; }
.lg-bar { height: 8px; background: #F2F2F2; border-radius: 4px; }
.lg-bar i { display: block; height: 8px; border-radius: 4px; }
.lg-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.lg-chips span { font-size: 12px; padding: 3px 10px; border-radius: 20px; background: var(--lg-tint); color: var(--lg-link); }
.lg-note { font-size: 12px; color: var(--lg-faint); margin-top: 8px; }
.lg-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--lg-faint); }

/* right side: the card centred */
.lg-main { padding: var(--lg-pady) var(--lg-padx); display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.lg-top { display: flex; justify-content: flex-end; align-items: center; }
.lg-toplogo { display: none; margin-right: auto; }
.lg-toplogo img { display: block; height: 34px; width: auto; }
.lg-back { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border: 1px solid var(--lg-line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 500; color: var(--lg-ink2) !important; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
.lg-back svg { color: var(--lg-link); transition: transform .15s; }
.lg-back:hover { border-color: var(--lg-orange); background: var(--lg-cream); color: var(--lg-ink) !important; }
.lg-back:hover svg { transform: translateX(-2px); }
.lg-back:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lg-ring); border-color: var(--lg-orange); }
.lg-card { margin: auto; width: 100%; max-width: clamp(380px, 30vw, 440px); background: #fff; border: 1px solid var(--lg-line); border-radius: 18px; padding: clamp(22px, 3.6vh, 32px) clamp(22px, 2.4vw, 32px); color: var(--lg-ink); box-shadow: none; }
.lg-mark-img { display: block; width: 44px; height: 44px; margin-bottom: clamp(8px, 1.6vh, 14px); }
.lg-card h2 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--lg-ink); }
.lg-sub { margin: 6px 0 clamp(14px, 2.6vh, 22px); color: var(--lg-muted); font-size: 14px; line-height: 1.5; }
.lg-sub--tight { margin-top: 6px; margin-bottom: 20px; }
.lg-card label { display: block; font-size: 14px; font-weight: 500; color: var(--lg-ink2); margin: 0 0 6px; }
.lg-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lg-label-row label { margin-bottom: 6px; }
.lg-fg { font-size: 14px; }
.lg-field { position: relative; margin-bottom: clamp(12px, 2vh, 16px); }
.lg-field > i { display: none; } /* plain fields, no icons (28 Oct) */
.lg-field input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--lg-line); background: #fff; color: var(--lg-ink); padding: 0 14px; font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.lg-field--pw input { padding-right: 64px; }
.lg-field input::placeholder { color: #A6A6A6; }
.lg-field input:focus { outline: none; border-color: var(--lg-orange); box-shadow: 0 0 0 3px var(--lg-ring); }
.lg-show, .lg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--lg-link); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.lg-show:hover, .lg-eye:hover { background: var(--lg-tint); }
.lg-row { display: flex; justify-content: space-between; align-items: center; margin: 0 0 clamp(14px, 2.2vh, 18px); font-size: 14px; color: var(--lg-ink2); }
.lg-card .lg-row label { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--lg-ink2); margin: 0; cursor: pointer; }
.lg-row input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--lg-orange); }
.lg-go { width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--lg-orange); color: var(--lg-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; gap: 8px; align-items: center; justify-content: center; transition: background .15s, transform .05s; }
.lg-go:hover { background: var(--lg-orange-h); }
.lg-go:active { transform: translateY(1px); }
.lg-err { display: none; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(180,35,24,.08); color: #b42318; font-size: 13px; }
.lg-err.on { display: flex; }
.lg-err i { margin-top: 2px; }
.lg-who { margin: 0 0 18px; padding: 10px 12px; border-radius: 10px; background: var(--lg-cream); color: var(--lg-ink); font-size: 13px; line-height: 1.45; }
.lg-help { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--lg-muted); }
.lg-or { display: flex; align-items: center; gap: 12px; margin: clamp(14px, 2.4vh, 20px) 0 12px; color: #A6A6A6; font-size: 12px; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: var(--lg-line); }
.lg-demo { height: 44px; border-radius: 10px; border: 1px solid var(--lg-ink); color: var(--lg-ink) !important; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.lg-demo:hover { background: var(--lg-cream); text-decoration: none !important; }
.lg-alt { width: 100%; height: 44px; margin-bottom: 8px; border: 1px solid var(--lg-line); border-radius: 10px; background: #fff; color: var(--lg-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; gap: 10px; align-items: center; justify-content: center; }
.lg-alt:hover { border-color: var(--lg-orange); }
.lg-legal { margin: 14px 0 0; font-size: 12px; color: var(--lg-muted); text-align: center; }
.lg-helpline { margin: 0; font-size: 12px; color: var(--lg-muted); text-align: center; }
/* other shell-less pages (reset password, no access, error, not found) keep their form markup */
.lg-card .auth-card__title { font-size: 24px; font-weight: 600; margin: 0 0 6px; color: var(--lg-ink); }
.lg-card .auth-card__desc { color: var(--lg-muted); font-size: 14px; margin: 0 0 22px; }
.lg-card .btn-primary { background: var(--lg-orange); border-color: var(--lg-orange); color: var(--lg-ink); font-weight: 600; }
.lg-card .btn-primary:hover { background: var(--lg-orange-h); border-color: var(--lg-orange-h); color: var(--lg-ink); }

/* short laptop screens (768 px high and below): tighter spacing, everything stays */
@media (max-height: 800px) and (min-width: 961px) {
  .lg-body { --lg-pady: 18px; --lg-gap: 12px; }
  .lg-mid h1 { font-size: clamp(22px, 1.9vw, 30px); }
  .lg-lead { margin-top: 4px; line-height: 1.5; }
  .lg-pt { padding: 7px 12px; }
  .lg-n { width: 28px; height: 28px; font-size: 14px; }
  .lg-sample { padding: 10px 16px; }
  .lg-sample__r { margin-bottom: 6px; }
  .lg-chips { margin-top: 8px; }
  .lg-note { margin-top: 6px; }
}
/* big monitors: equal halves, and the page scaled up on 2K / 4K screens so it doesn't look tiny */
@media (min-width: 1800px) { .lg-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 2200px) and (min-height: 1200px) { .lg-body { zoom: 1.3; } .lg-wrap { min-height: calc(100vh / 1.3); } }
@media (min-width: 3000px) and (min-height: 1600px) { .lg-body { zoom: 1.7; } .lg-wrap { min-height: calc(100vh / 1.7); } }
/* tablets and phones: the two sides stack, log in card first, then the left side in full */
@media (max-width: 960px) {
  .lg-wrap { grid-template-columns: minmax(0, 1fr); }
  .lg-main { order: 1; padding: 20px 16px 28px; }
  .lg-side { order: 2; border-right: 0; border-top: 1px solid var(--lg-cline); padding: 28px 16px; }
  .lg-side .lg-brand-row { display: none; }
  .lg-side > * { max-width: 560px; }
  .lg-mid { padding: 0 0 20px; }
  .lg-toplogo { display: block; }
  .lg-card { max-width: 440px; }
}
@media (max-width: 420px) { .lg-card { padding: 22px 18px; border-radius: 14px; } .lg-card h2 { font-size: 22px; } }
