/* STAS ERP v251 strict website auth polish: SuperAdmin-fit, hover scrollbars, alert close */
html{overflow-y:auto;}
body.auth-page.auth-foundation{overflow-y:auto!important;scrollbar-width:none;background:#020617!important;}
body.auth-page.auth-foundation:hover{scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.55) transparent;}
body.auth-page.auth-foundation::-webkit-scrollbar{width:0;height:0;}
body.auth-page.auth-foundation:hover::-webkit-scrollbar{width:8px;height:8px;}
body.auth-page.auth-foundation::-webkit-scrollbar-track{background:transparent;}
body.auth-page.auth-foundation::-webkit-scrollbar-thumb{background:rgba(148,163,184,.55);border-radius:999px;}

body.auth-page.auth-foundation .stas-site-header{
  position:relative!important;
  min-height:72px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  background:rgba(2,6,23,.92)!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
  box-shadow:0 16px 42px rgba(2,6,23,.18)!important;
}
body.auth-page.auth-foundation .stas-site-header__inner{min-height:72px!important;}
body.auth-page.auth-foundation .stas-site-header__brand{font-weight:900!important;letter-spacing:-.02em;color:#f8fafc!important;}
body.auth-page.auth-foundation .stas-site-header__nav{gap:1.2rem!important;margin-inline:auto!important;}
body.auth-page.auth-foundation .stas-site-header__nav .nav-link{font-weight:700!important;color:#f8fafc!important;opacity:.92;}
body.auth-page.auth-foundation .stas-site-header__nav .nav-link:hover{opacity:1;color:#fff!important;}
body.auth-page.auth-foundation .stas-site-header__actions .btn{min-height:36px;border-radius:8px;font-weight:800;}
body.auth-page.auth-foundation .live-weather-badge{min-height:44px!important;max-width:260px!important;padding:.45rem .9rem!important;border-radius:999px!important;font-size:.76rem!important;line-height:1.15!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.16)!important;}

body.auth-page.auth-foundation footer{
  height:42px!important;
  min-height:42px!important;
  margin-top:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  background:rgba(2,6,23,.92)!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  position:relative!important;
  z-index:5!important;
}
body.auth-page.auth-foundation footer .container{min-height:42px!important;align-items:center!important;color:rgba(248,250,252,.86)!important;}
body.auth-page.auth-foundation footer a{color:#f8fafc!important;font-weight:700!important;}

body.auth-page.auth-foundation .auth-foundation-shell,
body.auth-page.auth-foundation .stas-auth-page{
  min-height:calc(100svh - 114px)!important;
  padding:10px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0 auto!important;
}
body.auth-page.auth-foundation .auth-foundation-grid,
body.auth-page.auth-foundation .stas-auth-grid{
  width:min(1050px,calc(100vw - 32px))!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.06fr) minmax(340px,420px)!important;
  gap:1rem!important;
  align-items:stretch!important;
  margin:0 auto!important;
  padding:0!important;
}
body.auth-page.auth-foundation .auth-live-quote-card,
body.auth-page.auth-foundation .auth-hero-panel,
body.auth-page.auth-foundation .auth-foundation-card,
body.auth-page.auth-foundation .stas-auth-quote,
body.auth-page.auth-foundation .stas-auth-hero,
body.auth-page.auth-foundation .stas-auth-card{
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(180deg,rgba(2,22,44,.40),rgba(2,47,78,.36))!important;
  box-shadow:0 24px 48px rgba(2,8,23,.22)!important;
  backdrop-filter:blur(10px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(10px) saturate(115%)!important;
}
body.auth-page.auth-foundation .auth-live-quote-card,
body.auth-page.auth-foundation .stas-auth-quote{min-height:96px!important;padding:1rem 1.25rem!important;display:flex!important;align-items:center!important;}
body.auth-page.auth-foundation .auth-live-quote-text,
body.auth-page.auth-foundation .stas-auth-quote p{font-size:clamp(1rem,1.28vw,1.2rem)!important;line-height:1.35!important;font-weight:800!important;text-shadow:0 2px 10px rgba(0,0,0,.32)!important;}
body.auth-page.auth-foundation .auth-live-quote-author,
body.auth-page.auth-foundation .stas-auth-quote .author{font-size:.92rem!important;margin-top:.45rem!important;font-weight:800!important;}
body.auth-page.auth-foundation .auth-foundation-hero,
body.auth-page.auth-foundation .stas-auth-stack{display:grid!important;gap:1rem!important;align-content:stretch!important;}
body.auth-page.auth-foundation .auth-hero-panel,
body.auth-page.auth-foundation .stas-auth-hero{min-height:290px!important;padding:1.35rem 1.45rem!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
body.auth-page.auth-foundation .auth-foundation-kicker,
body.auth-page.auth-foundation .stas-auth-kicker{width:max-content;font-size:.7rem!important;font-weight:900!important;letter-spacing:.07em;text-transform:uppercase;padding:.4rem .8rem!important;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);}
body.auth-page.auth-foundation .auth-foundation-title,
body.auth-page.auth-foundation .stas-auth-title{font-size:clamp(2rem,3.25vw,3.25rem)!important;line-height:1.02!important;margin:.8rem 0 .55rem!important;font-weight:900!important;letter-spacing:-.035em!important;}
body.auth-page.auth-foundation .auth-foundation-copy,
body.auth-page.auth-foundation .stas-auth-copy{font-size:.95rem!important;line-height:1.58!important;font-weight:600!important;max-width:34rem!important;color:rgba(248,250,252,.92)!important;text-shadow:0 2px 9px rgba(0,0,0,.24)!important;}
body.auth-page.auth-foundation .website-auth-feature-list,
body.auth-page.auth-foundation .stas-auth-points{margin:.95rem 0 0!important;gap:.45rem!important;}
body.auth-page.auth-foundation .website-auth-feature-list li,
body.auth-page.auth-foundation .stas-auth-points li{font-size:.82rem!important;line-height:1.42!important;font-weight:650!important;color:rgba(248,250,252,.90)!important;text-shadow:none!important;}

body.auth-page.auth-foundation .auth-foundation-card-panel,
body.auth-page.auth-foundation .stas-auth-card{padding:1.15rem 1.25rem!important;}
body.auth-page.auth-foundation .auth-foundation-form-title,
body.auth-page.auth-foundation .stas-auth-card h1{font-size:clamp(1.9rem,2.6vw,2.55rem)!important;line-height:1.05!important;margin:.25rem 0 .3rem!important;font-weight:900!important;}
body.auth-page.auth-foundation .auth-foundation-form-copy,
body.auth-page.auth-foundation .stas-auth-subtitle{font-size:.88rem!important;line-height:1.45!important;margin:0 0 .75rem!important;font-weight:600!important;color:rgba(248,250,252,.88)!important;}
body.auth-page.auth-foundation .auth-field-stack{gap:.78rem!important;}
body.auth-page.auth-foundation .auth-foundation-form .form-label,
body.auth-page.auth-foundation .stas-auth-card .form-label{font-size:.78rem!important;margin-bottom:.26rem!important;font-weight:800!important;color:#fff!important;text-shadow:0 2px 7px rgba(0,0,0,.25)!important;}
body.auth-page.auth-foundation .auth-foundation-form .form-control,
body.auth-page.auth-foundation .auth-foundation-form .form-select,
body.auth-page.auth-foundation .stas-auth-card .form-control,
body.auth-page.auth-foundation .stas-auth-card .form-select{min-height:42px!important;border-radius:15px!important;padding:.58rem .86rem!important;font-size:.88rem!important;background:rgba(248,250,252,.96)!important;color:#0f172a!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 12px 24px rgba(2,6,23,.12)!important;}
body.auth-page.auth-foundation .auth-btn-primary,
body.auth-page.auth-foundation .auth-btn-secondary,
body.auth-page.auth-foundation .btn-auth-primary,
body.auth-page.auth-foundation .btn-auth-secondary{min-height:42px!important;border-radius:15px!important;padding:.58rem 1rem!important;font-size:.88rem!important;font-weight:850!important;}
body.auth-page.auth-foundation .auth-action-row,
body.auth-page.auth-foundation .stas-auth-actions{gap:.7rem!important;padding-top:.05rem!important;margin-top:0!important;}
body.auth-page.auth-foundation .website-auth-links-row,
body.auth-page.auth-foundation .stas-auth-links{font-size:.84rem!important;font-weight:750!important;}
body.auth-page.auth-foundation .website-auth-helper{display:none!important;}

body.auth-page.auth-foundation .alert{position:relative!important;padding:.7rem 2.4rem .7rem .85rem!important;border-radius:14px!important;font-size:.82rem!important;line-height:1.42!important;text-shadow:none!important;}
body.auth-page.auth-foundation .alert .stas-alert-close{position:absolute;right:.55rem;top:.45rem;width:26px;height:26px;border:0;border-radius:999px;background:rgba(15,23,42,.18);color:#fff;font-size:1.1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;opacity:0;transform:scale(.94);transition:opacity .15s ease,transform .15s ease,background .15s ease;}
body.auth-page.auth-foundation .alert:hover .stas-alert-close,
body.auth-page.auth-foundation .alert:focus-within .stas-alert-close{opacity:1;transform:scale(1);}
body.auth-page.auth-foundation .alert .stas-alert-close:hover{background:rgba(15,23,42,.42);}

body.auth-page.auth-foundation .password-toggle::before{content:'👁';font-size:16px;}
body.auth-page.auth-foundation .password-toggle.is-active::before{content:'🙈';}
body.auth-page.auth-foundation .password-toggle{font-size:0!important;}

/* Signup: SuperAdmin-style fit using existing IDs/classes */
body.auth-page.auth-website-signup .stas-auth-page{min-height:calc(100svh - 114px)!important;padding:8px 0!important;}
body.auth-page.auth-website-signup .stas-auth-grid{grid-template-columns:minmax(0,1.05fr) minmax(430px,520px)!important;}
body.auth-page.auth-website-signup .stas-auth-quote{min-height:78px!important;padding:.8rem 1.15rem!important;}
body.auth-page.auth-website-signup .stas-auth-hero{min-height:236px!important;padding:1.05rem 1.25rem!important;justify-content:center!important;}
body.auth-page.auth-website-signup .stas-auth-title{font-size:clamp(1.75rem,2.4vw,2.4rem)!important;}
body.auth-page.auth-website-signup .stas-auth-copy{font-size:.86rem!important;line-height:1.48!important;}
body.auth-page.auth-website-signup .stas-auth-points{margin-top:.75rem!important;}
body.auth-page.auth-website-signup .stas-auth-points li{font-size:.78rem!important;}
body.auth-page.auth-website-signup .stas-auth-card{max-height:none!important;padding:1rem 1.1rem!important;overflow:visible!important;}
body.auth-page.auth-website-signup .stas-auth-card h1{font-size:2rem!important;}
body.auth-page.auth-website-signup .auth-form .row.g-3{--bs-gutter-x:.65rem!important;--bs-gutter-y:.48rem!important;}
body.auth-page.auth-website-signup .stas-auth-card .form-label{font-size:.72rem!important;}
body.auth-page.auth-website-signup .stas-auth-card .form-control,
body.auth-page.auth-website-signup .stas-auth-card .form-select{min-height:38px!important;border-radius:13px!important;padding:.48rem .75rem!important;font-size:.82rem!important;}
body.auth-page.auth-website-signup .field-hint:not(.show){display:none!important;}
body.auth-page.auth-website-signup .strength-bar{height:4px!important;}
body.auth-page.auth-website-signup .stas-auth-links a[href*="reset-password"]{display:none!important;}
body.auth-page.auth-website-signup .stas-auth-actions .btn{min-height:38px!important;padding:.48rem .85rem!important;font-size:.82rem!important;}
body.auth-page.auth-website-signup #planInfo{font-size:.74rem!important;line-height:1.25!important;margin-top:.25rem!important;}

@media (min-width: 992px) and (max-height: 820px){
  body.auth-page.auth-foundation .auth-foundation-shell,
  body.auth-page.auth-foundation .stas-auth-page{padding:6px 0!important;}
  body.auth-page.auth-foundation .auth-live-quote-card,
  body.auth-page.auth-foundation .stas-auth-quote{min-height:78px!important;padding:.75rem 1rem!important;}
  body.auth-page.auth-foundation .auth-live-quote-text,
  body.auth-page.auth-foundation .stas-auth-quote p{font-size:1rem!important;}
  body.auth-page.auth-foundation .auth-hero-panel,
  body.auth-page.auth-foundation .stas-auth-hero{min-height:230px!important;padding:1rem 1.15rem!important;}
  body.auth-page.auth-foundation .auth-foundation-title,
  body.auth-page.auth-foundation .stas-auth-title{font-size:2.15rem!important;}
  body.auth-page.auth-foundation .auth-foundation-copy,
  body.auth-page.auth-foundation .stas-auth-copy{font-size:.82rem!important;line-height:1.42!important;}
  body.auth-page.auth-foundation .website-auth-feature-list li,
  body.auth-page.auth-foundation .stas-auth-points li{font-size:.74rem!important;}
  body.auth-page.auth-foundation .auth-foundation-card-panel,
  body.auth-page.auth-foundation .stas-auth-card{padding:.9rem 1rem!important;}
  body.auth-page.auth-foundation .auth-foundation-form-title,
  body.auth-page.auth-foundation .stas-auth-card h1{font-size:1.9rem!important;}
  body.auth-page.auth-foundation .auth-field-stack{gap:.58rem!important;}
  body.auth-page.auth-foundation .auth-foundation-form .form-control,
  body.auth-page.auth-foundation .auth-foundation-form .form-select,
  body.auth-page.auth-foundation .stas-auth-card .form-control,
  body.auth-page.auth-foundation .stas-auth-card .form-select{min-height:38px!important;font-size:.82rem!important;}
  body.auth-page.auth-website-login .website-auth-helper{display:none!important;}
}

@media (max-width: 991.98px){
  body.auth-page.auth-foundation .auth-foundation-grid,
  body.auth-page.auth-foundation .stas-auth-grid{grid-template-columns:1fr!important;width:min(720px,calc(100vw - 20px))!important;}
  body.auth-page.auth-foundation .auth-hero-panel,
  body.auth-page.auth-foundation .stas-auth-hero{min-height:auto!important;}
  body.auth-page.auth-foundation .auth-foundation-shell,
  body.auth-page.auth-foundation .stas-auth-page{align-items:flex-start!important;padding:12px 0!important;}
}
