.auth-split { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.auth-side {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(11, 110, 246, .45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(56, 189, 248, .25), transparent 50%),
    linear-gradient(160deg, #07111f 0%, #0a1a33 45%, #0c2347 100%);
  color: #e8f1ff;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: 2rem;
}
.auth-side::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 110, 246, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 246, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
}
.auth-side::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: -60px; bottom: -40px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(11, 110, 246, .35), transparent 70%);
  filter: blur(20px);
}
.auth-side .brand { position: relative; z-index: 1; color: #e8f1ff; text-decoration: none; --logo-hole: #07111f; }
.auth-side-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1rem; max-width: 420px; }
.auth-side-body h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.auth-side-body p { color: #9eb3d0; }
.auth-side small { position: relative; z-index: 1; color: #6b849f; }
.auth-pane {
  display: grid; place-items: center; padding: clamp(1.2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(11, 110, 246, .08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 165, 233, .06), transparent 50%),
    linear-gradient(180deg, #f4f8ff, #eef3fb);
}
:root[data-theme="dark"] .auth-pane {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(61, 139, 253, .14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 165, 233, .10), transparent 50%),
    linear-gradient(180deg, #0b1424, #070d16);
}
.auth-box { width: min(440px, 100%); }
.auth-box h2 { font-size: 1.7rem; margin-bottom: .25rem; }
.auth-box .seg { margin: 1.2rem 0; }
.auth-box form { margin-top: 1.1rem; }
.auth-mobile-brand { display: none; text-decoration: none; margin-bottom: 1.4rem; }
.auth-links { display: flex; gap: 1rem; justify-content: center; margin-top: 1.6rem; }
.auth-links a { color: inherit; }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-mobile-brand { display: inline-flex; }
  .auth-pane { place-items: start center; }
}
.cf-box { margin: .2rem 0 1rem; min-height: 65px; }

/* ── Email OTP, lupa & reset password ── */
.lblrow { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.forgot { font-size: .85rem; font-weight: 650; color: var(--ink2); text-decoration: none; }
.forgot:hover { color: var(--red); text-decoration: underline; }
.otp-in { text-align: center; font-size: 1.9rem; font-weight: 700; letter-spacing: .55em; padding-left: .55em; height: 3.7rem; font-variant-numeric: tabular-nums; }
.otp-in::placeholder { letter-spacing: .35em; color: var(--line2); }
.otp-in.shake { animation: otpShake .35s; }
@keyframes otpShake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.otp-meta { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin: -.2rem 0 1rem; }
.linkbtn { background: none; border: 0; padding: .3rem 0; font: inherit; font-size: .86rem; font-weight: 650; color: var(--red); cursor: pointer; }
.linkbtn:disabled { color: var(--ink3); cursor: default; }
.otp-help { margin-top: 1.1rem; text-align: center; line-height: 1.5; }
.st-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); margin-bottom: 1rem; font-style: normal; }
.st-ic svg { width: 36px; height: 36px; }
.st-ic.sm { width: 48px; height: 48px; border-radius: 15px; background: var(--card2); color: var(--ink); margin: .2rem 0 .9rem; }
.st-ic.sm svg { width: 24px; height: 24px; }
.st-card { padding-top: .4rem; }
.st-card.err .st-ic { background: var(--err-bg); color: var(--err); }
.st-card h2 { font-size: 1.6rem; margin: 0 0 .4rem; }
.st-card p { margin: 0 0 1.5rem; line-height: 1.6; }
.st-acts { display: grid; gap: .6rem; }
.pwm { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .3rem; align-items: center; margin: -.5rem 0 1rem; }
.pwm i { height: 5px; border-radius: 99px; background: var(--line); transition: background .2s; }
.pwm span { font-size: .78rem; color: var(--ink3); margin-left: .5rem; min-width: 5.6rem; }
.pwm[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
.pwm[data-s="2"] i:nth-child(-n+2) { background: var(--amber); }
.pwm[data-s="3"] i:nth-child(-n+3) { background: var(--green); }
.pwm[data-s="4"] i:nth-child(-n+4) { background: var(--green); }
@media (prefers-reduced-motion: reduce) { .otp-in.shake { animation: none; } }

.st-card.warn .st-ic { background: var(--amber-bg, #f6ebcf); color: var(--amber, #8f5f0a); }

.auth-side .brand .brand-logo-img, .auth-mobile-brand .brand-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; display: block; }
