/* Full-viewport construction photo with centered sign-in card; authentication unchanged. */
body.vf-auth-page.vf-reference-login { background: #0b1a33; color: #10223a; }
body.vf-reference-login > .vf-public-header { display: none; }
body.vf-auth-page.vf-reference-login #main-content { width: 100%; max-width: none; min-height: 100svh; margin: 0; padding: 0; background: #0b1a33; }
#main-content > .vf-alert { position: relative; z-index: 2; margin: 12px auto; }
.login-layout { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; min-height: 100svh; padding: 42px 20px; background: #0b1a33; }
.login-hero { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 3.5vw, 50px); color: white; background: linear-gradient(108deg, #09182dbe 0%, #0c233d82 40%, #081d3570 100%), #172b43 url('valuationflow-hero-approved.webp') center / cover no-repeat; }
.login-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, #081a3188 100%); }
.login-brand { position: relative; z-index: 1; width: fit-content; color: white; font-size: clamp(29px, 3vw, 40px); font-weight: 750; line-height: 1.04; letter-spacing: -.055em; }
.login-brand span { color: #62e6c7; }
.login-hero p { position: relative; z-index: 1; margin: 0; color: #eaf5fa; font-size: clamp(15px, 1.5vw, 19px); font-weight: 550; line-height: 1.3; }
body.vf-reference-login .auth-card.login-panel { position: relative; z-index: 1; width: min(100%, 480px); max-width: 480px; margin: 0 auto; padding: clamp(23px, 3vw, 38px); border: 1px solid #ffffffd9; border-radius: 24px; background: #fffffff5; color: #10223a; box-shadow: 0 28px 75px #07172c85; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.login-panel .login-back { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; }
body.vf-reference-login .login-panel #login-title { margin: 12px 0 20px; font-size: clamp(30px, 5vw, 40px); letter-spacing: -.045em; }
.login-panel form { display: grid; gap: 15px; }
.login-panel label, .login-panel .login-back, .login-panel .login-recover { color: #152842; font-size: 15px; }
.login-panel input:not([type=checkbox]) { font-size: 16px; }
.login-password, .login-password label { position: relative; }
.login-password label { width: 100%; }
.login-password .login-recover { position: absolute; right: 0; top: 0; z-index: 1; font-size: 13px; text-decoration: underline; }
.login-password input { padding-right: 50px !important; }
.login-password .qa-password-toggle {
  position: absolute; right: 2px; bottom: 2px; width: 44px; height: 44px;
  display: grid; place-items: center; margin: 0; padding: 0; border: 0; background: transparent;
  color: #193552; font-size: 0; cursor: pointer;
}
.login-password .qa-password-toggle::before { content: ''; position: absolute; top: 50%; left: 50%; width: 17px; height: 13px; border: 2px solid currentColor; border-radius: 75% 15%; transform: translate(-50%, -50%) rotate(45deg); }
.login-password .qa-password-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.login-password .qa-password-toggle[aria-pressed=true]::after { width: 23px; height: 2px; border-radius: 0; transform: translate(-50%, -50%) rotate(-45deg); }
.login-panel .auth-check-row { min-height: 32px; }
body.vf-reference-login .auth-card.login-panel .button[type=submit] { background: #65e4bb; border: 0; border-radius: 10px; color: #102738; font-size: 17px; font-weight: 750; }
.login-panel .button:disabled { opacity: .55; }
.login-panel .login-register { margin: 18px 0; text-align: center; font-size: 15px; }
.login-panel .login-register a { text-decoration: underline; }
.login-panel .login-footer { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 14px; border-top: 1px solid #dde4eb; padding-top: 8px; }
.login-footer a { display: inline-flex; align-items: center; min-height: 38px; font-size: 12px; }
@media (max-width: 680px) {
  .login-layout { padding: 90px 14px 24px; }
  .login-hero { padding: 22px 20px; background-position: 64% center; }
  .login-hero p { display: none; }
  body.vf-reference-login .auth-card.login-panel { padding: 22px 21px; border-radius: 21px; }
  body.vf-reference-login .login-panel #login-title { margin: 7px 0 14px; }
  .login-panel form { gap: 12px; }
}
@media (max-width: 360px) {
  .login-layout { padding: 78px 6px 16px; }
  .login-hero { padding: 16px 18px; }
  body.vf-reference-login .auth-card.login-panel { padding: 18px 11px; }
  .login-panel .login-footer { column-gap: 10px; }
  .login-footer a { font-size: 11px; }
}
