body.resident-auth{min-height:100vh;background:
radial-gradient(circle at 15% 15%,rgba(23,111,209,.16),transparent 28%),
linear-gradient(135deg,#eef4fb 0%,#f8fafc 52%,#edf3f8 100%)}
.auth-shell{width:min(100% - 28px,960px);min-height:100vh;margin:auto;display:grid;grid-template-columns:1fr 430px;align-items:center;gap:56px;padding:46px 0}
.auth-brand img{width:132px;height:100px;object-fit:contain;margin-bottom:22px}
.auth-brand h1{margin:0;font-size:46px;line-height:1.05;letter-spacing:-.05em;color:var(--jmb-navy)}
.auth-brand p:not(.eyebrow){max-width:480px;margin:14px 0 0;color:var(--jmb-muted);font-size:16px;line-height:1.65}
.auth-panel{padding:30px;border:1px solid rgba(230,234,240,.9);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 22px 58px rgba(17,42,76,.12);backdrop-filter:blur(14px)}
.auth-heading h2{margin:0 0 7px;font-size:27px;letter-spacing:-.035em}
.auth-heading p:last-child{margin:0 0 22px;color:var(--jmb-muted);font-size:13px}
.auth-panel label{display:block;margin:14px 0 6px;color:#344054;font-size:12px;font-weight:800}
.auth-panel input{width:100%;min-height:48px;padding:11px 13px;border:1px solid #ccd5df;border-radius:13px;outline:none;background:#fff;color:var(--jmb-text);font-size:16px}
.auth-panel input:focus{border-color:#4b8bd0;box-shadow:0 0 0 4px rgba(23,111,209,.1)}
.auth-primary,.auth-secondary{width:100%;min-height:48px;margin-top:18px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:850}
.auth-primary{border:0;background:linear-gradient(135deg,var(--jmb-navy),#155b9d);color:#fff}
.auth-secondary{border:1px solid #dbe4ee;background:#f8fafc;color:var(--jmb-navy)}
.auth-help{margin:16px 4px 0;color:var(--jmb-muted);font-size:11px;line-height:1.55}
.auth-notice{margin:0 0 14px;padding:12px 13px;border-radius:12px;font-size:12px}
.auth-notice.error{color:#982f3f;background:#fff0f2;border:1px solid #f2c9cf}
.auth-notice.success{color:#176244;background:#ecf8f2;border:1px solid #c8e8d8}
@media(max-width:780px){.auth-shell{display:block;width:min(100% - 22px,480px);padding:28px 0}.auth-brand{text-align:center;margin-bottom:18px}.auth-brand img{width:94px;height:72px;margin-bottom:10px}.auth-brand h1{font-size:30px}.auth-brand p:not(.eyebrow){margin:8px auto 0;font-size:13px}.auth-panel{padding:21px;border-radius:20px}.auth-heading h2{font-size:23px}}
.payment-reference-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:14px 0 2px}
.payment-reference-links a{color:var(--jmb-blue);font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
/* JMB Resident Login 2026 - runtime hot layer */
@media(max-width:780px){
  body.resident-auth{background:#eef4fb}
  .auth-shell{width:100%;min-height:100vh;padding:0;display:block}
  .auth-brand{position:relative;min-height:330px;padding:42px 26px 96px;display:flex;align-items:flex-end;text-align:left;background:linear-gradient(180deg,rgba(8,34,66,.08),rgba(8,34,66,.74)),url('/static/resident/sidebar-community-final.webp') center/cover no-repeat;color:#fff}
  .auth-brand::after{display:none}
  .auth-brand img{position:absolute;top:34px;left:26px;width:70px;height:58px;margin:0;filter:drop-shadow(0 4px 10px rgba(0,0,0,.18))}
  .auth-brand>div{position:relative;z-index:1}
  .auth-brand .eyebrow{color:#dcebff;font-size:10px}
  .auth-brand h1{font-size:30px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.25)}
  .auth-brand p:not(.eyebrow){max-width:300px;margin:8px 0 0;color:#f0f6fd;font-size:13px;line-height:1.5}
  .auth-panel{
    position:relative;
    z-index:3;
    width:100%;
    margin:-62px 0 0;
    padding:24px 28px calc(34px + env(safe-area-inset-bottom,0px));
    border:0;
    border-radius:28px 28px 0 0;
    background:#fff;
    box-shadow:none;
  }
  .auth-primary{background:linear-gradient(135deg,#176fd1,#278af0)}
}


/* Resident Mobile 2026 - Auth typography standard */
@media(max-width:780px){
  .auth-heading .eyebrow{font-size:10px}
  .auth-heading h2{
    margin-bottom:7px;
    font-size:24px;
    line-height:1.15;
  }
  .auth-heading p:last-child{
    margin-bottom:20px;
    font-size:13px;
    line-height:1.5;
  }

  .auth-panel label{
    margin:14px 0 6px;
    font-size:12px;
  }

  .auth-panel input{
    min-height:48px;
    font-size:16px;
  }

  .auth-primary,
  .auth-secondary{
    min-height:48px;
    font-size:14px;
    line-height:1.25;
  }

  .auth-help{
    font-size:12px;
    line-height:1.55;
  }

  .auth-notice{
    font-size:12px;
    line-height:1.45;
  }
}

/* Resident Login 2026 - PPR scene follows Malaysia time */
@media(max-width:780px){
  body.resident-auth.auth-time-morning .auth-brand{
    background:
      linear-gradient(180deg,rgba(24,14,22,.05) 0%,rgba(24,14,22,.12) 45%,rgba(17,13,18,.76) 100%),
      url('/static/resident/home-hero-morning.webp?v=20260927-login-time-1') center 48%/cover no-repeat;
  }

  body.resident-auth.auth-time-midday .auth-brand{
    background:
      linear-gradient(180deg,rgba(7,34,64,.03) 0%,rgba(7,34,64,.10) 45%,rgba(7,27,51,.72) 100%),
      url('/static/resident/home-hero-midday.webp?v=20260927-login-time-1') center 48%/cover no-repeat;
  }

  body.resident-auth.auth-time-evening .auth-brand{
    background:
      linear-gradient(180deg,rgba(42,20,8,.04) 0%,rgba(42,20,8,.12) 45%,rgba(28,15,9,.76) 100%),
      url('/static/resident/home-hero-evening.webp?v=20260927-login-time-1') center 48%/cover no-repeat;
  }

  body.resident-auth.auth-time-night .auth-brand{
    background:
      linear-gradient(180deg,rgba(3,12,30,.10) 0%,rgba(3,12,30,.22) 45%,rgba(3,12,30,.82) 100%),
      url('/static/resident/home-hero-night.webp?v=20260927-login-time-1') center 48%/cover no-repeat;
  }
}


/* Resident Login 2026 - six Malaysia time scenes */
@media(max-width:780px){
  body.resident-auth.auth-time-subuh .auth-brand{
    background:linear-gradient(180deg,rgba(20,20,39,.05) 0%,rgba(20,20,39,.12) 45%,rgba(17,17,31,.76) 100%),url('/static/resident/home-hero-subuh.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
  body.resident-auth.auth-time-pagi .auth-brand{
    background:linear-gradient(180deg,rgba(7,34,64,.02) 0%,rgba(7,34,64,.08) 45%,rgba(7,27,51,.70) 100%),url('/static/resident/home-hero-pagi.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
  body.resident-auth.auth-time-tengah-hari .auth-brand{
    background:linear-gradient(180deg,rgba(7,34,64,.02) 0%,rgba(7,34,64,.08) 45%,rgba(7,27,51,.70) 100%),url('/static/resident/home-hero-tengah-hari.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
  body.resident-auth.auth-time-petang .auth-brand{
    background:linear-gradient(180deg,rgba(42,26,10,.03) 0%,rgba(42,26,10,.10) 45%,rgba(30,19,10,.74) 100%),url('/static/resident/home-hero-petang.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
  body.resident-auth.auth-time-senja .auth-brand{
    background:linear-gradient(180deg,rgba(43,18,22,.04) 0%,rgba(43,18,22,.13) 45%,rgba(29,14,22,.78) 100%),url('/static/resident/home-hero-senja.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
  body.resident-auth.auth-time-malam .auth-brand{
    background:linear-gradient(180deg,rgba(3,12,30,.10) 0%,rgba(3,12,30,.22) 45%,rgba(3,12,30,.82) 100%),url('/static/resident/home-hero-malam.webp?v=20260927-login-time-2') center 48%/cover no-repeat;
  }
}
