/* KOERIUM v2.8.5.9 — login/register responsive layout correction.
   Scoped to the public authentication screen. No form/route behavior changes. */
body:has(.authLayout) .authLayout {
  display:grid!important;
  grid-template-columns:minmax(0, 1.03fr) minmax(0, .97fr)!important;
  min-height:max(670px, calc(100vh - 64px))!important;
  margin:-22px -30px -90px!important;
  overflow:hidden;
}
body:has(.authLayout) .authVisual {
  isolation:isolate;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  min-width:0;
  min-height:670px!important;
  padding:37px 36px!important;
  background:linear-gradient(135deg,#e7f3c2 0%,#d5eba0 80%,#cee58b 100%)!important;
  overflow:hidden;
}
body:has(.authLayout) .authVisual::after {
  content:"";
  position:absolute;
  inset:20% auto 0 0;
  width:83%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(224,242,174,.98) 0%,rgba(224,242,174,.92) 38%,rgba(224,242,174,.25) 78%,transparent 100%);
}
body:has(.authLayout) .authVisual>img {
  position:absolute!important;
  z-index:0!important;
  right:0!important;
  bottom:0!important;
  top:auto!important;
  width:61%!important;
  max-width:none!important;
  height:81%!important;
  object-fit:cover!important;
  object-position:70% center!important;
  border-radius:22px 0 0 0!important;
  opacity:1!important;
  filter:none!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 19%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 19%);
}
body:has(.authLayout) .authVisual>.brand {position:relative!important;z-index:3!important;align-self:flex-start;max-width:100%;padding:0!important;}
body:has(.authLayout) .authCopy {
  position:relative!important;
  z-index:3!important;
  width:min(100%, 300px)!important;
  max-width:54%!important;
  padding:0 0 15px!important;
}
body:has(.authLayout) .authCopy span {color:#4e751e!important;font-size:11px!important;letter-spacing:.13em!important;}
body:has(.authLayout) .authCopy h1 {
  font-size:clamp(27px,2.43vw,36px)!important;
  line-height:1.22!important;
  letter-spacing:-.055em!important;
  font-weight:900!important;
  color:#283a12!important;
  margin:12px 0 14px!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
}
body:has(.authLayout) .authCopy p {color:#465b2d!important;font-size:13px!important;line-height:1.8!important;max-width:290px!important;margin:0!important;}
body:has(.authLayout) .authForms {
  min-width:0;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  padding:40px 26px!important;
  background:#fff!important;
}
body:has(.authLayout) .authCard {
  width:min(440px,100%)!important;
  padding:28px!important;
  border:1px solid #d5e1c0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 10px 34px rgba(66,93,29,.07)!important;
}
body:has(.authLayout) .authSwitch {margin-bottom:21px!important;gap:6px!important;background:#f0f7e4!important;padding:4px!important;border-radius:10px!important;}
body:has(.authLayout) .authSwitch button {
  min-height:42px!important;
  border-radius:7px!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#52653f!important;
}
body:has(.authLayout) .authSwitch button.active {background:#b4de5a!important;color:#293e14!important;box-shadow:none!important;}
body:has(.authLayout) .authCard .field {margin-bottom:16px!important;}
body:has(.authLayout) .authCard .field label {display:block;font-size:13px!important;font-weight:750!important;margin-bottom:7px!important;}
body:has(.authLayout) .authCard .field input {
  width:100%;
  min-height:46px!important;
  padding:10px 12px!important;
  font-size:16px!important;
  border-radius:8px!important;
}
body:has(.authLayout) .authCard .btn[type="submit"] {min-height:44px!important;padding:10px 22px!important;font-size:14px!important;}
body:has(.authLayout) .authCard .authHelp a {font-size:12px!important;}
body:has(.authLayout) .authCard .notice {line-height:1.7!important;font-size:12px!important;}

@media (max-width:1000px) and (min-width:761px) {
  body:has(.authLayout) .authVisual{padding:30px 26px!important;}
  body:has(.authLayout) .authCopy{max-width:57%!important;}
  body:has(.authLayout) .authCopy h1{font-size:clamp(24px,2.9vw,31px)!important;}
  body:has(.authLayout) .authCopy p{font-size:12px!important;}
  body:has(.authLayout) .authVisual>img{width:62%!important;object-position:76% center!important;}
}
@media (max-width:760px) {
  body:has(.authLayout) .authLayout {
    display:flex!important;
    flex-direction:column!important;
    margin:-14px -13px -90px!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body:has(.authLayout) .authVisual {
    min-height:300px!important;
    padding:24px 20px!important;
    gap:24px!important;
  }
  body:has(.authLayout) .authVisual::after{inset:16% auto 0 0;width:86%;}
  body:has(.authLayout) .authVisual>img {
    right:0!important;bottom:0!important;
    width:48%!important;height:75%!important;
    object-position:70% center!important;
    opacity:.95!important;
  }
  body:has(.authLayout) .authVisual>.brand{max-width:100%;}
  body:has(.authLayout) .authCopy{width:65%!important;max-width:65%!important;padding:0!important;}
  body:has(.authLayout) .authCopy h1{font-size:clamp(23px,6.0vw,34px)!important;line-height:1.2!important;margin:7px 0 8px!important;}
  body:has(.authLayout) .authCopy span{font-size:9px!important;}
  body:has(.authLayout) .authCopy p{font-size:11px!important;line-height:1.5!important;}
  body:has(.authLayout) .authForms{display:block!important;padding:20px 14px calc(100px + env(safe-area-inset-bottom))!important;}
  body:has(.authLayout) .authCard{margin:0 auto!important;padding:20px!important;}
}
@media (max-width:370px){
  body:has(.authLayout) .authVisual{min-height:285px!important;padding:22px 17px!important;}
  body:has(.authLayout) .authCopy h1{font-size:22px!important;}
  body:has(.authLayout) .authCopy p{font-size:10px!important;}
}
