/* HAPP V5 Light · login popup. Only the wrapper changes;
   credentials and email-code verification stay on the shared LK origin. */
#happ-login-popup {
  width:min(460px,calc(100vw - 24px)) !important;
  max-width:calc(100vw - 24px) !important;
  max-height:calc(100dvh - 22px) !important;
  border:1px solid #e1e5ee !important;
  border-radius:25px !important;
  background:linear-gradient(145deg,#ffffff 0%,#f8f9fc 100%) !important;
  color:#252b36 !important;
  box-shadow:0 30px 95px rgba(59,72,103,.22),0 2px 13px rgba(83,101,142,.06) !important;
}
#happ-login-popup::backdrop {
  background:rgba(85,99,124,.33) !important;
  backdrop-filter:blur(9px) !important;
}
#happ-login-popup .popup-top {
  padding:21px 24px 18px !important;
  background:linear-gradient(135deg,#fff 0%,#f0f2f8 100%) !important;
  border-bottom:1px solid #e5e9f1 !important;
}
#happ-login-popup .popup-brand-title {color:#303a4c !important;}
#happ-login-popup .popup-brand-subtitle {color:#818d9f !important;}
#happ-login-popup .popup-close {
  color:#77869a !important;
  background:rgba(255,255,255,.78) !important;
  border:1px solid #e2e7f0 !important;
  border-radius:50% !important;
}
#happ-login-popup .popup-close:hover {
  background:#edf3fa !important;
  color:#55789a !important;
  border-color:#acd8ed !important;
}
#happ-login-popup iframe {background:#fff !important;}
#happ-login-popup .popup-status {color:#738094 !important;}
#happ-login-popup .popup-fallback {
  color:#8491a4 !important;
  background:#fafbfd !important;
  border-top:1px solid #e5e9f1 !important;
}
#happ-login-popup .popup-fallback a {
  color:#637f9e !important;
  text-underline-offset:3px;
}
#happ-login-popup .popup-fallback a:hover {color:#416685 !important;}
@media(max-width:480px){
  #happ-login-popup {border-radius:18px !important;}
  #happ-login-popup .popup-top {padding:18px 19px 16px !important;}
}
