/* Shopgez 4.3 public login/signup/password pages: cosmetic only.
 * Forms, redirects, captcha, password reset, errors and auth untouched.
 * This style applies to html.sg-ui-public ONLY, not existing accounts.
 */
html.sg-ui-public {background:#f4f8fd;}
html.sg-ui-public body.login-layout.light-login {
  min-height:100vh!important;
  background:radial-gradient(ellipse at 100% 0%,#e8f2ff 0,transparent 44%),#f4f8fd!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:#253b5a;
}
html.sg-ui-public body.login-layout.light-login .main-container,
html.sg-ui-public body.login-layout.light-login .main-content {
  background:transparent!important;min-height:100vh;
}
html.sg-ui-public body.login-layout.light-login .main-content > .row {
  display:flex!important;justify-content:center!important;
  align-items:flex-start!important;min-height:90vh;margin:0!important;
}
html.sg-ui-public body.login-layout.light-login .main-content > .row > [class*="col-"] {
  float:none!important;width:100%!important;max-width:520px!important;
  margin:0!important;padding:clamp(22px,5vh,55px) 14px 30px!important;
}
html.sg-ui-public body.login-layout .login-container {width:100%!important;max-width:480px!important;margin:0 auto!important;}
html.sg-ui-public body.login-layout .login-logo {
  display:flex;justify-content:center;align-items:center;padding:5px 0 18px!important;
}
html.sg-ui-public body.login-layout .login-logo img {
  display:block;width:min(75%,270px)!important;max-width:270px!important;
  max-height:82px!important;object-fit:contain!important;
}
html.sg-ui-public body.login-layout #login-box {
  border:1px solid #e0eafb!important;border-radius:18px!important;overflow:visible!important;
  box-shadow:0 20px 60px rgba(31,71,121,.12)!important;background:#fff!important;
}
html.sg-ui-public body.login-layout #login-box .widget-body,
html.sg-ui-public body.login-layout #login-box .widget-main {background:#fff!important;border-radius:18px!important;}
html.sg-ui-public body.login-layout #login-box .widget-main {
  padding:clamp(22px,5vw,35px)!important;
}
html.sg-ui-public body.login-layout #login-box h4.header {
  color:#14365f!important;font-size:21px!important;font-weight:750;
  letter-spacing:-.35px;margin:0 0 18px!important;padding:0 0 14px!important;
  border-bottom:1px solid #e8eef7!important;
}
html.sg-ui-public body.login-layout #login-box .form-control {
  width:100%!important;max-width:100%!important;min-height:45px!important;
  padding:11px 35px 11px 13px!important;border:1px solid #cddbee!important;
  border-radius:9px!important;font-size:14px!important;
}
html.sg-ui-public body.login-layout #login-box .form-control:focus {
  border-color:#2e7ddd!important;box-shadow:0 0 0 3px rgba(46,125,221,.13)!important;
}
html.sg-ui-public body.login-layout #login-box .input-icon-right > .ace-icon {top:50%!important;transform:translateY(-50%);}
html.sg-ui-public body.login-layout #login-box .btn-success,
html.sg-ui-public body.login-layout #login-box .btn-primary {
  min-height:43px!important;padding:10px 19px!important;
  border-radius:9px!important;background:#2d7fe4!important;border-color:#2d7fe4!important;
  color:#fff!important;font-weight:700!important;
}
html.sg-ui-public body.login-layout #login-box .toolbar {
  background:#f7faff!important;color:#34526d!important;
  border-radius:0 0 18px 18px!important;padding:11px 20px!important;
}
html.sg-ui-public body.login-layout #login-box .toolbar a {color:#2367b6!important;}
html.sg-ui-public body.login-layout #login-box .alert {white-space:normal;overflow-wrap:anywhere;}
html.sg-ui-public body.login-layout #captcha-image {max-width:100%;}
@media(max-width:479px) {
 html.sg-ui-public body.login-layout #login-box .widget-main {padding:20px 17px!important;}
 html.sg-ui-public body.login-layout #login-box .width-40.btn {min-width:130px;width:auto!important;}
}
@media(prefers-reduced-motion:reduce) {
 html.sg-ui-public body.login-layout #login-box .btn {transition:none!important;}
}
/* The configured Mantis login artwork is independent of the real brand asset.
 * Reuse the same approved Shopgez blue mark as the authenticated header. */
html.sg-ui-public body.login-layout .login-logo {min-height:105px;}
html.sg-ui-public body.login-layout .login-logo::before {
  content:'';display:block;width:min(75%,265px);height:80px;
  background:url('logo-blue.png') center/contain no-repeat;
}
html.sg-ui-public body.login-layout .login-logo img {display:none!important;}
html.sg-ui-public body.login-layout #login-box .toolbar {
  border:0!important;border-top:1px solid #e8eef7!important;
  box-shadow:none!important;
}
