/* Shared BAS portal layout, with JZ Electric's navy and gold brand colors. */
.portalLogin {
  --navy: #19293c;
  --gold: #c9a24b;
  --text: #19293c;
  --muted: #64717f;
  --panel: #fff;
  --panel-soft: #f8f7f3;
  --line: #dce1e6;
  color-scheme: light;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #f5f6f7;
  font-family: "Segoe UI", Arial, sans-serif;
}
.portalAuthHeader { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 27px 6%; border-bottom: 1px solid var(--line); background: #fff; }
.portalBrand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-size: 16px; font-weight: 750; line-height: normal; letter-spacing: 1.5px; }
.portalBrand img { display: block; width: 49px; height: 51px; object-fit: contain; flex-shrink: 0; }
.portalBrand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.7px; margin-top: 5px; color: var(--muted); }
.portalToplabel { font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.loginLayout { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 9%; padding: 75px 6% 65px; align-items: center; }
.loginIntro { min-width: 0; text-align: left; }
.loginEyebrow { font-size: 10px; line-height: normal; letter-spacing: 2px; font-weight: 750; color: #806324; margin-bottom: 20px; }
.loginIntro h1 { font-size: clamp(32px, 4vw, 53px); font-weight: 550; letter-spacing: -1.8px; line-height: 1.1; margin: 0 0 22px; }
.loginLede { font-size: 17px; max-width: 420px; line-height: 1.65; color: var(--muted); margin: 0; }
.loginCopy { width: 100%; max-width: 420px; }
.timesheetIllustration { position: relative; left: var(--login-text-midpoint, 50%); transform: translateX(-50%); display: block; width: 240px; max-width: 100%; height: auto; margin: 25px 0 0; }
.loginIntroNote { display: flex; justify-content: flex-start; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-top: 16px; }
.loginIntroNote > span { background: var(--gold); width: 6px; height: 6px; border-radius: 50%; }
.portalLoginCard { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 39px; box-shadow: 0 14px 40px #19293c10; }
.portalLoginCard .loginEyebrow { margin-bottom: 13px; }
.portalLoginCard h2 { font-size: 25px; font-weight: 600; letter-spacing: -.7px; line-height: normal; margin: 0 0 16px; }
.portalLoginCard > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 30px; }
.portalLoginForm { display: grid; gap: 12px; }
.portalLoginForm label { color: var(--text); font-size: 14px; font-weight: 600; }
.portalLoginForm input { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #a9b3be; border-radius: 6px; font: inherit; }
.portalLogin input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px #c9a24b33; }
.portalLogin button.primary { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-top: 12px; padding: 14px 18px; color: #fff; background: var(--navy); border: 0; border-radius: 6px; font-size: 13px; font-weight: 600; }
.portalLogin button.primary:hover { background: #263d56; }
.portalLogin button.primary > span { color: var(--gold); font-size: 18px; line-height: 1; }
.portalLogin :is(a, button):focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.loginDivider { border-top: 1px solid var(--line); margin: 30px 0; }
.loginSecurity { display: flex; align-items: flex-start; gap: 12px; }
.loginSecurity strong { font-size: 12px; }
.loginSecurity p { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 6px 0; }
.loginShield { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; color: var(--navy); background: #f4eddb; border-radius: 50%; }
.loginShield svg { width: 18px; height: 18px; }
.portalLoginCard .loginHelp { font-size: 11px; margin: 23px 0 0; }
.portalLogin #ownerRecoveryToggle { margin-top: 16px; padding: 0; min-height: 34px; border: 0; text-align: left; color: var(--navy); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.portalLogin #ownerRecoveryForm { margin-top: 15px; }
.portalAuthFooter { display: flex; justify-content: space-between; gap: 15px; padding: 23px 6%; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
@media (max-width: 760px) {
  .portalToplabel { display: none; }
  .portalAuthHeader { padding: 20px 6%; }
  .loginLayout { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; padding-bottom: 38px; }
  .loginIntro h1 { font-size: 32px; margin-bottom: 14px; }
  .loginEyebrow { margin-bottom: 15px; }
  .loginLede { font-size: 14px; line-height: 1.55; max-width: 360px; }
  .loginCopy { max-width: 360px; }
  .timesheetIllustration { width: 112px; margin-top: 12px; }
  .loginIntroNote { display: none; }
  .portalLoginCard { width: 100%; max-width: 460px; margin: 0 auto; padding: 27px; }
  .portalAuthFooter { flex-direction: column; align-items: center; gap: 7px; font-size: 9px; }
}
@media (max-width: 360px) {
  .portalLoginCard { padding: 23px 20px; }
  .portalBrand { font-size: 14px; }
}
