/* Login/Cadastro global: body-level modal, sem dependência do overlay legado. */
html body #sr-login-modal.login-dropdown{
  position:fixed!important; inset:0!important; width:100%!important; min-width:0!important; max-width:none!important; max-height:none!important; left:0!important; top:0!important; right:0!important; bottom:0!important; height:100vh!important; height:100dvh!important;
  margin:0!important; padding:clamp(12px,3vw,28px)!important; box-sizing:border-box!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
  overflow-x:hidden!important; overflow-y:auto!important; background:rgba(2,5,10,.78)!important;
  backdrop-filter:blur(8px)!important; -webkit-backdrop-filter:blur(8px)!important;
  border:0!important; border-radius:0!important; box-shadow:none!important; transform:none!important;
  opacity:0!important; visibility:hidden!important; pointer-events:none!important;
  z-index:2147483600!important;
}
html body #sr-login-modal.login-dropdown.active{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
html body #sr-login-modal > .login-dropdown-content{
  position:relative!important; inset:auto!important; transform:none!important;
  width:min(480px,100%)!important; max-width:480px!important; min-width:0!important;
  height:auto!important; max-height:calc(100dvh - 24px)!important; margin:auto!important;
  padding:24px 26px 26px!important; box-sizing:border-box!important; overflow:auto!important;
  background:linear-gradient(180deg,#0c121d 0%,#090e17 100%)!important;
  border:1px solid #263247!important; border-radius:18px!important;
  box-shadow:0 28px 90px rgba(0,0,0,.68)!important; opacity:1!important; visibility:visible!important;
  z-index:1!important;
}
html body #sr-login-modal .modal-close{position:absolute!important;top:12px!important;right:12px!important;z-index:3!important;}
html body #sr-login-modal .login-tabs{margin:0 42px 20px 0!important;}
html body.sr-login-open{overflow:hidden!important;}
@media (max-width:600px){
  html body #sr-login-modal.login-dropdown{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;}
  html body #sr-login-modal > .login-dropdown-content{width:100%!important;max-width:430px!important;padding:20px 14px 16px!important;border-radius:15px!important;max-height:calc(100dvh - 16px)!important;}
}
@media (max-height:620px){html body #sr-login-modal.login-dropdown{align-items:flex-start!important;}html body #sr-login-modal > .login-dropdown-content{margin-top:8px!important;margin-bottom:8px!important;}}

html body #sr-login-modal #login-form,html body #sr-login-modal #register-form{width:100%!important;min-width:0!important;max-width:100%!important;display:block!important;float:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body #sr-login-modal .form-group{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
html body #sr-login-modal input[type="text"],html body #sr-login-modal input[type="email"],html body #sr-login-modal input[type="password"]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important}
html body #sr-login-modal .login-submit,html body #sr-login-modal .register-submit{position:static!important;float:none!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;transform:none!important;margin:16px 0 0!important;padding:12px 16px!important;box-sizing:border-box!important;text-align:center!important;white-space:normal!important}
html body #sr-login-modal>.login-dropdown-content{overflow-x:hidden!important;flex:0 1 480px!important;max-height:calc(100vh - 24px)!important;max-height:calc(100dvh - 24px)!important}
html body #sr-login-modal .remember-me{display:flex!important;align-items:center!important;gap:8px!important}
html body #sr-login-modal .remember-me input{width:18px!important;height:18px!important;flex:0 0 18px!important;margin:0!important}
