/* Scotplus 4 auth screens - one geometry, one contrast system.
   Loaded last; scoped only to the modern auth body classes. */
html:has(body:is(.sp-auth-login-v2,.sp-auth-forgot-v2)){min-height:100%;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2){
  margin:0!important;padding:24px!important;min-height:100vh!important;min-height:100dvh!important;
  width:100%!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  background:#eaf2ec!important;color:#173b29!important;color-scheme:light!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-layout{
  width:min(960px,100%)!important;max-width:960px!important;
  min-height:0!important;height:auto!important;flex:none!important;
  margin:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;
  border-radius:23px!important;border:1px solid #a9cbb5!important;
  background:#fff!important;box-shadow:0 23px 60px rgba(22,59,36,.12)!important;
  overflow:hidden!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-hero{
  min-height:580px!important;padding:30px 32px 26px!important;
  background:#dcefe1!important;color:#183f2b!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-form-panel{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:580px!important;padding:69px 35px 31px!important;background:#fff!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-card{width:100%!important;max-width:405px!important;margin:0 auto!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-card h2{color:#133d28!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-lead,
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-forgot-note{color:#426a53!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields>label{color:#173f2a!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields input:not([type=checkbox]){
  color:#143824!important;background:#fff!important;border:1px solid #9cbdab!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields input::placeholder{color:#657c70!important;opacity:1!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields input:focus-visible{
  outline:2px solid #19864b!important;outline-offset:1px!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-perks>div,
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-forgot-cat-frame{
  background:#fff!important;border-color:#c4dcca!important;
}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-tabs{background:#e4efe7!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-tabs a:not(.active){color:#205239!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-legal,
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-switch{color:#42634f!important;}
body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-submit{background:#137e3e!important;color:#fff!important;}
/* Explicit, shared dark mode overrides page-specific light !important declarations. */
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2){
  background:#081710!important;color:#ecfaef!important;color-scheme:dark!important;
}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-layout{
  background:#12251a!important;border-color:#46694f!important;box-shadow:0 26px 70px rgba(0,0,0,.3)!important;
}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-hero{background:#1c3829!important;color:#f2fff3!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-form-panel{background:#10241a!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-card h2,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields>label,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-chip{color:#f2fff4!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-lead,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-forgot-note,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-switch,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-legal{color:#bed9c5!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields input:not([type=checkbox]){
  color:#f5fff7!important;background:#20392b!important;border-color:#648471!important;
}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-fields input::placeholder{color:#b4cdbb!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-perks>div,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-forgot-cat-frame{background:#243e2e!important;border-color:#46674e!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-tabs{background:#254033!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-tabs a:not(.active){color:#dbf2e1!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-hero h1{color:#f4fff5!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-hero-copy>p:last-child,
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-perks small{color:#d1ebd8!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-perks strong{color:#effcf1!important;}
html[data-scotplus-auth-theme="dark"] body.sp-auth-page:is(.sp-auth-login-v2,.sp-auth-forgot-v2) .sp-auth-back{background:#2b4836!important;color:#f4fff5!important;border-color:#52775a!important;}
/* Unified compact mobile layout for login and registration rendered by uye-giris.php. */
@media (max-width:700px) {
  html:has(body.sp-auth-login-v2){height:auto;min-height:100%;}
  body.sp-auth-page.sp-auth-login-v2{
    display:block!important;width:100%!important;height:auto!important;min-height:100dvh!important;
    margin:0!important;padding:0!important;overflow-x:hidden!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-layout{
    display:block!important;position:relative!important;width:100%!important;max-width:none!important;
    height:auto!important;min-height:100dvh!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-hero{display:none!important;}
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-form-panel{
    display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
    align-items:stretch!important;position:relative!important;width:100%!important;
    height:auto!important;min-height:100dvh!important;margin:0!important;
    padding:82px 20px 32px!important;gap:0!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-mobile-brand{
    display:flex!important;position:absolute!important;top:18px!important;left:20px!important;
    width:160px!important;height:42px!important;margin:0!important;z-index:2!important;
    align-items:center!important;justify-content:flex-start!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-mobile-brand a{display:flex!important;width:100%!important;align-items:center!important;}
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-mobile-brand .sp-auth-logo{
    display:block!important;position:static!important;width:160px!important;height:42px!important;
    max-width:100%!important;object-fit:contain!important;object-position:left center!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-card{
    display:block!important;position:static!important;align-self:center!important;width:100%!important;
    max-width:440px!important;min-width:0!important;flex:none!important;
    margin:0 auto!important;padding:0!important;transform:none!important;
  }
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-fields input:not([type=checkbox]){font-size:16px!important;}
}
@media(max-width:380px){
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-form-panel{padding-right:16px!important;padding-left:16px!important;}
  body.sp-auth-page.sp-auth-login-v2 .sp-auth-mobile-brand{left:16px!important;}
}
