/* KBM U7: clean-room login/registration/OTP experience. Presentation only.
 * Deliberately scoped to canonical auth route; Core remains owner of all handlers.
 */
body.kbm-login-cc-active{
  --kbm-u7-ink:#112b40;
  --kbm-u7-muted:#4f6476;
  --kbm-u7-navy:#071a33;
  --kbm-u7-gold:#ffcc00;
  --kbm-u7-outline:#cbd9e2;
  background:#f5f8fb!important;
  background-image:radial-gradient(ellipse at 9% 12%,rgba(255,210,63,.13),transparent 40%),linear-gradient(155deg,#f8fafc,#ebf2f8)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode,
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode.has-visual-background{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
  width:min(1170px,calc(100% - 40px))!important;
  min-width:0!important;
  max-width:1170px!important;
  min-height:600px!important;
  margin:clamp(18px,3vw,40px) auto 48px!important;
  border-radius:28px!important;
  border:1px solid #dce7ee!important;
  box-shadow:0 26px 74px rgba(9,35,55,.13),0 5px 14px rgba(9,35,55,.04)!important;
  isolation:isolate;
  overflow:hidden!important;
  align-items:stretch!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside{
  direction:rtl!important;
  grid-column:1!important;
  grid-row:1!important;
  order:initial!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:600px!important;
  padding:112px clamp(25px,3.4vw,46px) 40px!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background-color:#092b42!important;
  background-image:linear-gradient(180deg,rgba(5,28,44,.55),rgba(6,31,51,.79) 40%,rgba(4,24,42,.98)),var(--kbm-lx-hero-desktop)!important;
  background-size:cover!important;
  background-position:center!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside::before,
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside::after{
  content:none!important;display:none!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand{
  top:28px!important;right:clamp(22px,3vw,42px)!important;
  max-width:calc(100% - 44px)!important;
  display:flex!important;align-items:center!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand-mark{
  flex:0 0 50px!important;width:50px!important;height:50px!important;
  border:1px solid rgba(255,235,143,.5)!important;
  box-shadow:0 8px 24px rgba(0,12,25,.25)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand strong{
  font-size:21px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand small{
  font-size:11px!important;color:#e6edf6!important;-webkit-text-fill-color:#e6edf6!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside>span{
  align-self:flex-start!important;
  background:rgba(11,45,68,.84)!important;
  border-color:rgba(255,220,113,.48)!important;
  color:#ffdf78!important;-webkit-text-fill-color:#ffdf78!important;
  font-size:12px!important;line-height:1.7!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside :is(h2,p,li,strong,small){
  opacity:1!important;
  text-shadow:0 2px 10px rgba(0,0,0,.4)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside h2{
  font-size:clamp(28px,2.6vw,39px)!important;
  line-height:1.5!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  margin:15px 0 11px!important;
  overflow-wrap:normal!important;word-break:normal!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside p{
  font-size:15px!important;line-height:1.85!important;
  color:#eaf3fb!important;-webkit-text-fill-color:#eaf3fb!important;
  max-width:100%!important;margin:0 0 15px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-gdb09-auth-benefits{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;margin:10px 0 0!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-gdb09-auth-benefits li{
  min-height:41px!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:rgba(9,35,56,.83)!important;
  border:1px solid rgba(255,222,126,.27)!important;
  font-size:13px!important;line-height:1.75!important;
  padding:9px 34px 9px 10px!important;
  text-shadow:none!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>.kbm-auth-recode-card{
  direction:rtl!important;
  grid-column:2!important;grid-row:1!important;order:initial!important;
  align-self:stretch!important;
  width:100%!important;min-width:0!important;
  min-height:600px!important;max-width:none!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  background:#fff!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  padding:clamp(28px,3.3vw,49px) clamp(26px,3.6vw,52px)!important;
  overflow:visible!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-gdb09-auth-steps,.kbm-lx-steps){
  margin:0 0 25px!important;padding:5px!important;
  background:#edf2f6!important;border:1px solid #dae4ea!important;
  border-radius:15px!important;
  display:flex!important;gap:6px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-gdb09-auth-steps,.kbm-lx-steps)>span{
  flex:1 1 0!important;min-height:45px!important;
  font-size:13px!important;font-weight:800!important;
  padding:9px 4px!important;border-radius:11px!important;
  color:#36536a!important;-webkit-text-fill-color:#36536a!important;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-gdb09-auth-steps,.kbm-lx-steps)>span[aria-current="step"]{
  background:#0b3049!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 13px rgba(9,36,56,.19)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head{
  margin:0 0 25px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-pill{
  padding:6px 13px!important;border-radius:999px!important;
  color:#704e03!important;-webkit-text-fill-color:#704e03!important;
  background:#fff6db!important;border:1px solid #f2d785!important;
  font-size:12px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head h1{
  font-size:clamp(24px,2.35vw,34px)!important;line-height:1.48!important;
  color:var(--kbm-u7-ink)!important;-webkit-text-fill-color:var(--kbm-u7-ink)!important;
  margin:7px 0 8px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head p{
  font-size:14px!important;line-height:1.95!important;color:var(--kbm-u7-muted)!important;
  -webkit-text-fill-color:var(--kbm-u7-muted)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-form{
  display:grid!important;gap:14px!important;align-content:start!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-field{
  width:100%!important;min-width:0!important;gap:8px!important;
  font-size:13px!important;font-weight:800!important;color:#28445b!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-field input{
  direction:ltr!important;text-align:left!important;
  display:block!important;width:100%!important;height:56px!important;min-height:56px!important;
  border:1.5px solid #c9d9e4!important;
  border-radius:13px!important;
  background:#f9fbfc!important;
  color:#102c40!important;-webkit-text-fill-color:#102c40!important;
  font-size:18px!important;font-weight:650!important;letter-spacing:.045em!important;
  font-variant-numeric:tabular-nums!important;
  padding:12px 17px!important;
  transition:border-color .16s ease,box-shadow .16s ease!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-field input:focus,
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-field input:focus-visible{
  border-color:#12698c!important;box-shadow:0 0 0 4px rgba(11,115,156,.13)!important;
  outline:none!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-field input[aria-invalid="true"]{
  border-color:#b92e42!important;box-shadow:0 0 0 3px rgba(185,46,66,.11)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-field-help{
  margin:0!important;padding:0 2px!important;
  font-size:12px!important;line-height:1.8!important;color:#546d80!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-btn{
  min-height:51px!important;border-radius:12px!important;
  font-size:15px!important;font-weight:850!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-btn--primary{
  color:#071a33!important;-webkit-text-fill-color:#071a33!important;
  border:1px solid #ffcc00!important;
  background:#ffcc00!important;
  box-shadow:0 8px 18px rgba(8,46,72,.2)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-btn--primary:hover:not(:disabled){
  transform:translateY(-1px)!important;
  background:#f0bc00!important;box-shadow:0 11px 20px rgba(9,45,65,.22)!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-auth-recode-btn,.kbm-auth-recode-link):disabled{
  opacity:.58!important;cursor:not-allowed!important;transform:none!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode.is-loading .kbm-auth-recode-btn--primary{
  opacity:.72!important;cursor:progress!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-status.is-visible{
  padding:12px 14px!important;border-radius:12px!important;
  line-height:1.85!important;font-size:13px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-status.is-error{
  color:#8b2330!important;-webkit-text-fill-color:#8b2330!important;
  border:1px solid #edb8c0!important;background:#fff0f1!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode [data-step="otp"] [data-kbm-auth-mobile-label]{
  background:#f2f7fb!important;border:1px solid #dbe6ee!important;
  padding:12px 13px!important;border-radius:11px!important;
  font-size:13px!important;line-height:1.8!important;color:#25465d!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-link{
  font-size:13px!important;font-weight:800!important;min-height:44px!important;
  color:#135a81!important;-webkit-text-fill-color:#135a81!important;
  text-decoration:none!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(button,a):focus-visible{
  outline:3px solid #20779e!important;outline-offset:3px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-foot{
  display:flex!important;flex-wrap:wrap!important;gap:8px 13px!important;
  padding:18px 0 0!important;margin:22px 0 0!important;
  border-top:1px solid #e4ebf0!important;
  font-size:12px!important;line-height:1.85!important;
  color:#526a7c!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-foot span{
  flex:1 0 100%!important;font-size:12px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-foot a{
  color:#175877!important;-webkit-text-fill-color:#175877!important;
  display:inline-flex!important;align-items:center!important;min-height:44px!important;font-size:12px!important;text-decoration:underline!important;text-underline-offset:3px!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-assurance{
  margin-top:16px!important;padding:12px 14px!important;
  font-size:12px!important;line-height:1.7!important;
  color:#214d59!important;border-color:#d4e8e8!important;
}
body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-lock-note{
  line-height:1.9!important;padding:12px!important;
  border-radius:12px!important;
}
/* Avoid vertical clipped text in compact desktop and Android DeX. */
@media (min-width:981px) and (max-height:760px){
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode{min-height:560px!important;margin-top:18px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside,
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>.kbm-auth-recode-card{min-height:560px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside{padding-top:93px!important;padding-bottom:25px!important;}
}
@media (max-width:980px){
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode,
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode.has-visual-background{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    direction:rtl!important;width:min(620px,calc(100% - 24px))!important;
    max-width:620px!important;min-width:0!important;min-height:0!important;
    margin:16px auto 28px!important;border-radius:22px!important;overflow:hidden!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside{
    order:1!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;width:100%!important;grid-area:auto!important;
    min-height:150px!important;max-height:none!important;height:auto!important;
    padding:70px 24px 21px!important;
    background-image:linear-gradient(180deg,rgba(5,27,46,.38),rgba(5,29,47,.96)),var(--kbm-lx-hero-mobile,var(--kbm-lx-hero-desktop))!important;
    background-position:center!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside h2{
    font-size:clamp(20px,3.7vw,27px)!important;line-height:1.45!important;
    margin:7px 0!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside h2 br{display:none!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside p{
    font-size:12px!important;line-height:1.75!important;margin:0!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-gdb09-auth-benefits{display:none!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand{
    top:14px!important;right:20px!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand-mark{height:38px!important;width:38px!important;flex-basis:38px!important;border-radius:11px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand strong{font-size:16px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-lx-brand small{font-size:9px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>.kbm-auth-recode-card{
    order:2!important;grid-area:auto!important;width:100%!important;min-height:0!important;max-height:none!important;
    padding:26px clamp(18px,4.7vw,31px) 30px!important;
  }
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head h1{font-size:clamp(21px,4.5vw,29px)!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head p{font-size:13px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-gdb09-auth-steps,.kbm-lx-steps){margin-bottom:18px!important;}
}
@media(max-width:390px){
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode{width:calc(100% - 16px)!important;border-radius:17px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>aside.kbm-vr-auth-context.kbm-gdb09-auth-aside{padding:65px 17px 16px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode>.kbm-auth-recode-card{padding:22px 16px 24px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode :is(.kbm-gdb09-auth-steps,.kbm-lx-steps)>span{font-size:11px!important;}
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode .kbm-auth-recode-head h1{font-size:21px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode *,
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode *::before,
  body.kbm-login-cc-active #kbm-vr-auth.kbm-auth-recode *::after{
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}
