
:root{
  --kpl-navy:#123258;
  --kpl-navy-deep:#0b223c;
  --kpl-text:#263f58;
  --kpl-muted:#7d91a5;
  --kpl-line:#e4ebf1;
  --kpl-bg:#f4f8fb;
  --kpl-accent:#3c83c2;
}

.kapanto-login-experience-page{
  background:#f3f7fa!important;
}

.kapanto-login-experience-page main,
.kapanto-login-experience-page .site-main,
.kapanto-login-experience-page .entry-content{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
}

.kapanto-login-experience-page .entry-header,
.kapanto-login-experience-page .page-header,
.kapanto-login-experience-page h1.entry-title{
  display:none!important;
}

.kpl-page,
.kpl-page *{
  box-sizing:border-box;
}

.kpl-page{
  width:100%;
  min-height:calc(100vh - 74px);
  padding:38px 24px 48px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Arial,sans-serif;
  color:var(--kpl-text);
  background:
    radial-gradient(circle at 8% 6%,rgba(59,129,193,.10),transparent 24%),
    radial-gradient(circle at 92% 84%,rgba(103,86,169,.08),transparent 26%),
    #f4f8fb;
}

.kpl-shell{
  width:min(1160px,100%);
  min-height:680px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(440px,.98fr);
  overflow:hidden;
  border:1px solid rgba(18,50,88,.08);
  border-radius:30px;
  background:#fff;
  box-shadow:0 28px 80px rgba(18,50,88,.12);
}

.kpl-brand-panel{
  position:relative;
  overflow:hidden;
  padding:44px;
  color:#fff;
  background:
    radial-gradient(circle at 8% 8%,rgba(255,255,255,.12),transparent 23%),
    radial-gradient(circle at 84% 77%,rgba(111,88,175,.34),transparent 34%),
    linear-gradient(145deg,#123258 0%,#173f69 52%,#2f4f83 100%);
}

.kpl-brand-panel::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-180px;
  top:-130px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:50%;
}

.kpl-brand-panel::after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  left:-135px;
  bottom:-135px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
}

.kpl-brand-inner{
  position:relative;
  z-index:1;
  min-height:590px;
  display:flex;
  flex-direction:column;
}

.kpl-brand{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:180px;
  text-decoration:none!important;
}

.kpl-brand img{
  display:block;
  width:auto;
  max-width:160px;
  max-height:62px;
  object-fit:contain;
}

.kpl-brand-word{
  color:#fff;
  font-size:24px;
  font-weight:950;
  letter-spacing:-.8px;
}

.kpl-brand-copy{
  margin-top:88px;
  max-width:470px;
}

.kpl-eyebrow{
  display:block;
  color:#7191ad;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:1.55px;
}

.kpl-brand-panel .kpl-eyebrow{
  color:rgba(255,255,255,.58);
}

.kpl-brand-copy h1{
  margin:10px 0 0!important;
  color:#fff!important;
  font-size:39px!important;
  line-height:1.12!important;
  font-weight:950!important;
  letter-spacing:-1.2px!important;
}

.kpl-brand-copy p{
  margin:16px 0 0!important;
  max-width:430px;
  color:rgba(255,255,255,.70)!important;
  font-size:12px!important;
  line-height:1.75!important;
}

.kpl-feature-grid{
  display:grid;
  gap:10px;
  margin-top:32px;
  max-width:460px;
}

.kpl-feature{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:11px;
  align-items:center;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:15px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.kpl-feature-icon{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:rgba(255,255,255,.10);
}

.kpl-feature-icon svg{
  width:17px;
  height:17px;
  fill:#fff;
}

.kpl-feature>div{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.kpl-feature strong{
  color:#fff;
  font-size:10px;
  font-weight:900;
}

.kpl-feature>div span{
  margin-top:2px;
  color:rgba(255,255,255,.58);
  font-size:8.5px;
  font-weight:650;
}

.kpl-brand-foot{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:auto;
  color:rgba(255,255,255,.56);
  font-size:8.5px;
  font-weight:700;
}

.kpl-status-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#39d878;
  box-shadow:0 0 0 4px rgba(57,216,120,.12);
}

.kpl-form-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
  background:
    radial-gradient(circle at 100% 0%,rgba(60,131,194,.06),transparent 25%),
    #fff;
}

.kpl-form-card{
  width:min(100%,420px);
}

.kpl-mobile-brand{
  display:none;
}

.kpl-form-head{
  margin-bottom:26px;
}

.kpl-form-head h2{
  margin:8px 0 0!important;
  color:var(--kpl-navy)!important;
  font-size:30px!important;
  line-height:1.15!important;
  font-weight:950!important;
  letter-spacing:-.7px!important;
}

.kpl-form-head p{
  margin:8px 0 0!important;
  color:var(--kpl-muted)!important;
  font-size:10.5px!important;
  line-height:1.65!important;
}

/* Ultimate Membership Pro — presentation only */
.kpl-ump-wrap .ihc-login-form-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:inherit!important;
}

.kpl-ump-wrap #ihc_login_form{
  width:100%!important;
  margin:0!important;
  padding:0!important;
}

.kpl-ump-wrap .impu-form-line-fr{
  position:relative!important;
  width:100%!important;
  margin:0 0 13px!important;
  padding:0!important;
  background:transparent!important;
}

.kpl-ump-wrap .impu-form-label-fr{
  display:block!important;
  width:auto!important;
  margin:0 0 6px!important;
  padding:0!important;
  color:#4c647b!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
  text-align:left!important;
}

.kpl-ump-wrap .impu-form-line-fr input[type="text"],
.kpl-ump-wrap .impu-form-line-fr input[type="email"],
.kpl-ump-wrap .impu-form-line-fr input[type="password"],
.kpl-ump-wrap #ihc_login_form input[name="log"],
.kpl-ump-wrap #ihc_login_form input[name="pwd"]{
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #dce5ec!important;
  border-radius:14px!important;
  outline:0!important;
  background:#fbfcfd!important;
  background-image:none!important;
  color:#29445f!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:inset 0 1px 2px rgba(18,50,88,.015)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}

.kpl-ump-wrap .impu-form-line-fr input:focus{
  border-color:#7ba8cc!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(60,131,194,.08)!important;
}

.kpl-ump-wrap .impu-form-line-fr input::placeholder{
  color:#a1afbc!important;
  opacity:1!important;
}

.kpl-ump-wrap .fa-ihc{
  display:none!important;
}

.kpl-password-field{
  position:relative!important;
}

.kpl-password-field input[type="password"],
.kpl-password-field input[type="text"]{
  padding-right:48px!important;
}

.kpl-password-toggle{
  position:absolute!important;
  z-index:3!important;
  right:8px!important;
  bottom:7px!important;
  width:36px!important;
  height:36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#71879a!important;
  box-shadow:none!important;
  cursor:pointer!important;
}

.kpl-password-toggle:hover{
  background:#eef4f8!important;
  color:var(--kpl-navy)!important;
}

.kpl-password-toggle svg{
  width:17px;
  height:17px;
  fill:currentColor;
}

/* remember + password recovery */
.kpl-ump-wrap .impu-remember-wrapper{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  float:none!important;
  width:auto!important;
  margin:2px 0 13px!important;
  padding:0!important;
  color:#667b8f!important;
  font-size:9.5px!important;
}

.kpl-ump-wrap .impu-form-input-remember{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
  accent-color:var(--kpl-navy);
}

.kpl-ump-wrap .impu-form-label-remember{
  margin:0!important;
  color:#657b90!important;
  font-size:9.5px!important;
  font-weight:700!important;
}

.kpl-ump-wrap .impu-form-links,
.kpl-ump-wrap .impu-form-line-fr.impu-form-links{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 15px!important;
  padding:0!important;
}

.kpl-ump-wrap .impu-form-links-reg,
.kpl-ump-wrap .impu-form-links-pass{
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}

.kpl-ump-wrap .impu-form-links a{
  color:#386f9e!important;
  font-size:9px!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

.kpl-ump-wrap .impu-form-links a:hover{
  color:var(--kpl-navy)!important;
  text-decoration:underline!important;
}

/* submit */
.kpl-ump-wrap .impu-form-submit{
  margin-top:6px!important;
  margin-bottom:14px!important;
}

.kpl-ump-wrap .impu-form-submit input[type="submit"],
.kpl-ump-wrap #ihc_login_form input[name="Submit"]{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#123258,#2f6597)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:10.5px!important;
  font-weight:900!important;
  letter-spacing:.1px!important;
  text-shadow:none!important;
  box-shadow:0 11px 24px rgba(18,50,88,.18)!important;
  cursor:pointer!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}

.kpl-ump-wrap .impu-form-submit input[type="submit"]:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(18,50,88,.23)!important;
}

/* UMP social login */
.kpl-social-divider{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  margin:17px 0 12px;
  color:#9aa8b4;
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.65px;
}

.kpl-social-divider::before,
.kpl-social-divider::after{
  content:"";
  height:1px;
  flex:1;
  background:#e7edf2;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;
  margin:0 0 15px!important;
  padding:0!important;
}

.kpl-ump-wrap .ihc-sm-item{
  float:none!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.kpl-ump-wrap .ihc-sm-item a{
  width:100%!important;
  min-height:45px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #dfe7ed!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#415970!important;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(18,50,88,.035)!important;
  font-family:inherit!important;
  font-size:9px!important;
  font-weight:850!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}

.kpl-ump-wrap .ihc-sm-item a:hover{
  transform:translateY(-1px)!important;
  border-color:#cfdce6!important;
  box-shadow:0 8px 18px rgba(18,50,88,.07)!important;
}

.kpl-ump-wrap .ihc-sm-item.ihc-goo a{
  color:#384b5e!important;
}

.kpl-ump-wrap .ihc-sm-item.ihc-fb a{
  color:#315c9b!important;
}

.kpl-ump-wrap .fa-ihc-sm{
  flex:0 0 auto!important;
  margin:0!important;
}

.kpl-social-label{
  display:inline-block;
  line-height:1.1;
}

/* reCAPTCHA / anti-bot widgets: style the surrounding area only */
.kpl-ump-wrap .g-recaptcha,
.kpl-ump-wrap .ihc-recaptcha-wrapper,
.kpl-ump-wrap [class*="recaptcha"],
.kpl-ump-wrap [class*="captcha"]{
  max-width:100%!important;
  margin:12px auto!important;
}

.kpl-ump-wrap iframe[title*="reCAPTCHA"],
.kpl-ump-wrap iframe[src*="recaptcha"]{
  max-width:100%!important;
}

/* UMP errors remain functional */
.kpl-ump-wrap .ihc-wrapp-the-errors,
.kpl-ump-wrap .ihc-error-div{
  width:100%!important;
  margin:0 0 14px!important;
  padding:11px 12px!important;
  border:1px solid #f0cfd4!important;
  border-radius:12px!important;
  background:#fff3f5!important;
  color:#a34755!important;
  font-size:9px!important;
  line-height:1.55!important;
  box-shadow:none!important;
}

.kpl-security-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:16px;
  color:#93a2b0;
  font-size:8px;
  font-weight:650;
  text-align:center;
}

.kpl-security-note svg{
  width:13px;
  height:13px;
  flex:0 0 auto;
  fill:#8195a6;
}

.kpl-admin-warning{
  max-width:720px;
  margin:30px auto;
  padding:18px;
  border:1px solid #f0d9a8;
  border-radius:14px;
  background:#fff9e9;
  color:#735d28;
  font-size:12px;
}

/* hard-remove legacy visual content from the original login page */
.kapanto-login-experience-page .elementor-widget-wrap > *:not(:has(.kpl-page)){
  /* The content filter replaces the main content; this is only a defensive rule
     for page builders that duplicate legacy widgets around the filtered content. */
}

@media(max-width:980px){
  .kpl-page{
    padding:24px 16px 38px;
  }

  .kpl-shell{
    min-height:0;
    grid-template-columns:1fr;
    max-width:620px;
  }

  .kpl-brand-panel{
    display:none;
  }

  .kpl-form-panel{
    padding:42px 38px;
  }

  .kpl-mobile-brand{
    display:block;
    margin-bottom:28px;
  }

  .kpl-mobile-brand a{
    display:inline-flex;
    text-decoration:none!important;
  }

  .kpl-mobile-brand img{
    width:auto;
    max-width:150px;
    max-height:56px;
    object-fit:contain;
  }

  .kpl-mobile-brand strong{
    color:var(--kpl-navy);
    font-size:22px;
    font-weight:950;
  }
}

@media(max-width:560px){
  .kpl-page{
    min-height:0;
    padding:12px 9px 24px;
    background:#f4f8fb;
  }

  .kpl-shell{
    border-radius:22px;
  }

  .kpl-form-panel{
    padding:29px 18px 25px;
  }

  .kpl-form-card{
    max-width:none;
  }

  .kpl-mobile-brand{
    margin-bottom:22px;
  }

  .kpl-form-head h2{
    font-size:25px!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    grid-template-columns:1fr!important;
  }

  .kpl-security-note{
    line-height:1.45;
  }
}


/* v1.0.1 — vertical centering + equal social buttons */
.kpl-page{
  min-height:calc(100vh - 74px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding-top:24px!important;
  padding-bottom:24px!important;
}

.kpl-shell{
  margin-top:auto!important;
  margin-bottom:auto!important;
}

.kpl-form-panel{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.kpl-form-card{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Hide native UMP "OR" separators or stray divider text around social login. */
.kpl-ump-wrap .ihc-sm-wrapp-fe + .ihc-sm-separator,
.kpl-ump-wrap .ihc-sm-separator,
.kpl-ump-wrap .ihc-sm-or,
.kpl-ump-wrap .ihc-login-social-separator,
.kpl-ump-wrap [class*="social-separator"],
.kpl-ump-wrap [class*="sm-separator"]{
  display:none!important;
}

/* Social login: force exactly equal columns. */
.kpl-ump-wrap .ihc-sm-wrapp-fe{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item{
  display:block!important;
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #dfe7ed!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(18,50,88,.035)!important;
  text-decoration:none!important;
  line-height:1!important;
}

/* Normalize provider icon/label alignment. */
.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a > *{
  float:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .fa-ihc-sm,
.kpl-ump-wrap .ihc-sm-wrapp-fe i,
.kpl-ump-wrap .ihc-sm-wrapp-fe svg,
.kpl-ump-wrap .ihc-sm-wrapp-fe img{
  flex:0 0 auto!important;
  margin:0!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item-label,
.kpl-ump-wrap .ihc-sm-wrapp-fe .kpl-social-label{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  line-height:1!important;
}

/* If UMP inserts an orphaned "- OR -" text node container, neutralize it visually. */
.kpl-ump-wrap .ihc-sm-wrapp-fe ~ div:has(> span:only-child){
  max-width:100%;
}

@media(max-width:980px){
  .kpl-page{
    min-height:calc(100vh - 74px)!important;
  }
}

@media(max-width:560px){
  .kpl-page{
    align-items:flex-start!important;
    min-height:0!important;
    padding-top:12px!important;
    padding-bottom:24px!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    grid-template-columns:1fr!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
    height:46px!important;
  }
}


/* v1.0.2 — branded Google / Facebook social login */
.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
  position:relative!important;
  overflow:hidden!important;
  background:#fff!important;
  border-color:#dfe7ed!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item.ihc-goo a:hover{
  border-color:#cfdce6!important;
  background:#fbfdff!important;
}

.kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item.ihc-fb a:hover{
  border-color:#bfd3ef!important;
  background:#f8fbff!important;
}

.kpl-social-brand-icon{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
}

.kpl-social-brand-icon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
}

.kpl-ump-wrap .ihc-sm-item.ihc-goo .kpl-social-label{
  color:#3c4043!important;
  font-weight:850!important;
}

.kpl-ump-wrap .ihc-sm-item.ihc-fb .kpl-social-label{
  color:#1877f2!important;
  font-weight:900!important;
}

/* Hide the monochrome UMP social icon once the branded icon is injected. */
.kpl-ump-wrap .ihc-sm-item.is-kpl-branded .fa-ihc-sm,
.kpl-ump-wrap .ihc-sm-item.is-kpl-branded > a > i:not(.kpl-social-brand-icon),
.kpl-ump-wrap .ihc-sm-item.is-kpl-branded > a > .fa,
.kpl-ump-wrap .ihc-sm-item.is-kpl-branded > a > .fab{
  display:none!important;
}


/* v1.0.3 — mobile centering and brand cleanup */
@media(max-width:560px){
  .kpl-page{
    width:100%!important;
    padding:12px 8px 24px!important;
  }

  .kpl-shell{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    border-radius:22px!important;
  }

  .kpl-form-panel{
    width:100%!important;
    padding:24px 18px 22px!important;
    justify-content:center!important;
  }

  .kpl-form-card{
    width:100%!important;
    max-width:420px!important;
    margin:0 auto!important;
  }

  /* Mobile logo: centered on a navy plate so the white logo stays readable */
  .kpl-mobile-brand{
    display:flex!important;
    justify-content:center!important;
    width:100%!important;
    margin:0 auto 24px!important;
    text-align:center!important;
  }

  .kpl-mobile-brand a{
    min-width:154px!important;
    min-height:68px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:9px 18px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:17px!important;
    background:linear-gradient(145deg,#123258,#1d4c79)!important;
    box-shadow:0 10px 24px rgba(18,50,88,.14)!important;
  }

  .kpl-mobile-brand img{
    display:block!important;
    width:auto!important;
    max-width:126px!important;
    max-height:50px!important;
    margin:0 auto!important;
    object-fit:contain!important;
  }

  .kpl-form-head{
    width:100%!important;
    margin:0 auto 23px!important;
    text-align:center!important;
  }

  .kpl-form-head .kpl-eyebrow{
    text-align:center!important;
  }

  .kpl-form-head p{
    max-width:330px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .kpl-ump-wrap,
  .kpl-ump-wrap .ihc-login-form-wrap,
  .kpl-ump-wrap #ihc_login_form{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .kpl-ump-wrap .impu-form-line-fr{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .kpl-ump-wrap .impu-remember-wrapper{
    width:100%!important;
    justify-content:center!important;
    margin:4px auto 14px!important;
    text-align:center!important;
  }

  .kpl-ump-wrap .impu-form-links,
  .kpl-ump-wrap .impu-form-line-fr.impu-form-links{
    width:100%!important;
    justify-content:center!important;
    text-align:center!important;
  }

  .kpl-ump-wrap .impu-form-links-reg,
  .kpl-ump-wrap .impu-form-links-pass{
    width:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  .kpl-ump-wrap .impu-form-submit{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .kpl-social-divider{
    width:100%!important;
    margin:18px auto 13px!important;
    text-align:center!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
    width:100%!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    justify-content:center!important;
    margin:0 auto!important;
  }

  .kpl-mobile-center-row{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  .kpl-security-note{
    width:100%!important;
    max-width:320px!important;
    margin:17px auto 0!important;
    justify-content:center!important;
  }
}

/* Provider classes added by JS make brand order and color deterministic */
.kpl-provider-google{order:1!important}
.kpl-provider-facebook{order:2!important}

.kpl-provider-google .kpl-social-label{
  color:#3c4043!important;
}

.kpl-provider-facebook .kpl-social-label{
  color:#1877f2!important;
}

/* Remove any UMP-native divider once our clean divider exists */
.kpl-native-or-hidden{
  display:none!important;
}


/* v1.0.4 — final mobile/desktop alignment pass */

/* Keep only our password eye toggle. Hide UMP/theme-native eye controls. */
.kpl-ump-wrap .impu-form-line-fr .ihc-hide-pw,
.kpl-ump-wrap .impu-form-line-fr .ihc-show-pw,
.kpl-ump-wrap .impu-form-line-fr .ihc-pass-eye,
.kpl-ump-wrap .impu-form-line-fr .password-eye,
.kpl-ump-wrap .impu-form-line-fr .show-password,
.kpl-ump-wrap .impu-form-line-fr .toggle-password,
.kpl-ump-wrap .impu-form-line-fr [class*="eye"]:not(.kpl-password-toggle),
.kpl-ump-wrap .impu-form-line-fr [class*="password-visibility"]:not(.kpl-password-toggle){
  display:none!important;
}

/* Desktop: social providers equal size, side by side and centered. */
@media(min-width:981px){
  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    width:100%!important;
    max-width:370px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0 auto!important;
    align-items:stretch!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
    padding:0 10px!important;
    justify-content:center!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .kpl-social-label{
    font-size:8.6px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .kpl-social-brand-icon{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }

  .kpl-social-brand-icon svg{
    width:18px!important;
    height:18px!important;
  }

  /* Account/signup row: centered and clearly separated from social buttons. */
  .kpl-account-row{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    margin:19px auto 0!important;
    text-align:center!important;
  }

  .kpl-account-row,
  .kpl-account-row *{
    font-size:9.5px!important;
    line-height:1.2!important;
  }

  .kpl-account-row a{
    color:#2f6faa!important;
    font-weight:850!important;
    text-decoration:none!important;
  }
}

/* Mobile: remove the inner logo and add breathing room from header/footer. */
@media(max-width:560px){
  .kpl-page{
    padding-top:28px!important;
    padding-bottom:38px!important;
  }

  .kpl-shell{
    margin-top:0!important;
    margin-bottom:0!important;
  }

  .kpl-mobile-brand{
    display:none!important;
  }

  .kpl-form-panel{
    padding-top:34px!important;
    padding-bottom:30px!important;
  }

  .kpl-form-card{
    padding-top:0!important;
  }

  /* Keep only one password eye on the far right. */
  .kpl-password-toggle{
    right:9px!important;
    bottom:7px!important;
  }

  .kpl-password-field input[type="password"],
  .kpl-password-field input[type="text"]{
    padding-right:48px!important;
  }

  /* Center social buttons and keep them equal. */
  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    gap:11px!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
    width:100%!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    justify-content:center!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .kpl-social-label{
    font-size:10px!important;
    white-space:nowrap!important;
  }

  .kpl-social-brand-icon,
  .kpl-social-brand-icon svg{
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
  }

  /* Balanced "Don't have an account?  Sign Up" row */
  .kpl-account-row{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    margin:18px auto 0!important;
    text-align:center!important;
    flex-wrap:wrap!important;
  }

  .kpl-account-row,
  .kpl-account-row *{
    font-size:10.5px!important;
    line-height:1.25!important;
  }

  .kpl-account-row a{
    color:#2f6faa!important;
    font-weight:850!important;
    text-decoration:none!important;
  }

  .kpl-account-row a:hover{
    text-decoration:underline!important;
  }

  .kpl-security-note{
    margin-top:22px!important;
  }
}


/* v1.0.5 — remove Protected member login indicator everywhere */
.kpl-brand-foot,
.kpl-status-dot{
  display:none!important;
}


/* v1.0.6 — anti-bot honeypot */
.kpl-hp-wrap{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:.01!important;
  pointer-events:none!important;
}


/* v1.0.7 — mobile spacing, horizontal social buttons, single password eye */

/* Our custom password eye is no longer used.
   Keep UMP's native visibility control only. */
.kpl-password-toggle{
  display:none!important;
}

/* Restore normal password padding because our custom right-side control is gone. */
.kpl-password-field input[type="password"],
.kpl-password-field input[type="text"]{
  padding-right:14px!important;
}

/* Do not suppress the native UMP password-eye control anymore. */
.kpl-ump-wrap .impu-form-line-fr .ihc-hide-pw,
.kpl-ump-wrap .impu-form-line-fr .ihc-show-pw,
.kpl-ump-wrap .impu-form-line-fr .ihc-pass-eye,
.kpl-ump-wrap .impu-form-line-fr .password-eye,
.kpl-ump-wrap .impu-form-line-fr .show-password,
.kpl-ump-wrap .impu-form-line-fr .toggle-password,
.kpl-ump-wrap .impu-form-line-fr [class*="eye"]:not(.kpl-password-toggle),
.kpl-ump-wrap .impu-form-line-fr [class*="password-visibility"]:not(.kpl-password-toggle){
  display:revert!important;
}

/* Mobile: create a visible white/light breathing zone between header,
   login card, and footer. */
@media(max-width:560px){
  .kpl-page{
    min-height:auto!important;
    padding-top:48px!important;
    padding-bottom:58px!important;
    background:#f4f8fb!important;
  }

  .kpl-shell{
    width:calc(100% - 4px)!important;
    max-width:100%!important;
    margin:0 auto!important;
  }

  /* Social providers in one horizontal row, equal width. */
  .kpl-ump-wrap .ihc-sm-wrapp-fe{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
    margin:0 auto!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
  }

  .kpl-ump-wrap .ihc-sm-wrapp-fe .ihc-sm-item a{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:48px!important;
    min-height:48px!important;
    padding:0 8px!important;
    justify-content:center!important;
    gap:7px!important;
    white-space:nowrap!important;
  }

  /* Short provider labels on mobile so both buttons fit comfortably. */
  .kpl-ump-wrap .ihc-sm-wrapp-fe .kpl-social-label{
    font-size:9.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .kpl-social-brand-icon,
  .kpl-social-brand-icon svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
  }

  .kpl-account-row{
    margin-top:20px!important;
  }

  .kpl-security-note{
    margin-top:24px!important;
  }
}


/* v1.0.8 — independent Kapanto social row */
.kpl-social-clean-row{
  width:100%!important;
  max-width:390px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  justify-content:center!important;
  margin:0 auto!important;
}

.kpl-social-clean-slot{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.kpl-social-clean-slot > a{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:48px!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #dfe7ed!important;
  border-radius:13px!important;
  background:#fff!important;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(18,50,88,.035)!important;
  white-space:nowrap!important;
}

.kpl-social-clean-slot > a:hover{
  transform:translateY(-1px)!important;
  border-color:#cddce7!important;
  box-shadow:0 8px 18px rgba(18,50,88,.07)!important;
}

.kpl-social-clean-slot.google > a{
  color:#3c4043!important;
}

.kpl-social-clean-slot.facebook > a{
  color:#1877f2!important;
}

.kpl-social-clean-slot .kpl-social-label{
  font-size:9.4px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

.kpl-social-clean-slot.facebook .kpl-social-label{
  font-weight:900!important;
}

/* Hide the original UMP social visual container after links are moved. */
.kpl-original-social-hidden{
  display:none!important;
}

@media(max-width:560px){
  .kpl-social-clean-row{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  .kpl-social-clean-slot > a{
    height:48px!important;
    min-height:48px!important;
    padding:0 8px!important;
  }

  .kpl-social-clean-slot .kpl-social-label{
    font-size:9px!important;
  }
}


/* v1.0.10 — deterministic provider row */
.kpl-social-v110{
  width:100%!important;
  max-width:390px!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0 auto!important;
  align-items:stretch!important;
}

.kpl-social-v110 a{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 10px!important;
  border:1px solid #dfe7ed!important;
  border-radius:13px!important;
  background:#fff!important;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(18,50,88,.035)!important;
  white-space:nowrap!important;
}

.kpl-social-v110 a:hover{
  transform:translateY(-1px)!important;
  border-color:#cfdce6!important;
  box-shadow:0 8px 18px rgba(18,50,88,.07)!important;
}

.kpl-social-v110 .google{
  color:#3c4043!important;
}

.kpl-social-v110 .facebook{
  color:#1877F2!important;
}

.kpl-social-v110 .kpl-social-brand-icon,
.kpl-social-v110 .kpl-social-brand-icon svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
}

.kpl-social-v110 .kpl-social-label{
  font-size:9.3px!important;
  line-height:1!important;
  font-weight:850!important;
}

.kpl-social-v110 .facebook .kpl-social-label{
  font-weight:900!important;
}

@media(max-width:560px){
  .kpl-social-v110{
    max-width:100%!important;
    gap:10px!important;
  }

  .kpl-social-v110 a{
    padding:0 8px!important;
  }

  .kpl-social-v110 .kpl-social-label{
    font-size:9px!important;
  }
}
