/* Only the inline login dialog used on the business detail page. */
body:has(#businessBottomBar) #authOverlay.auth-overlay {
  background: rgba(20, 31, 50, .46) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 2147483005 !important;
  height: var(--pix-auth-vh, 100dvh) !important;
  top: var(--pix-auth-top, 0px) !important;
  bottom: auto !important;
  box-sizing: border-box;
  padding: 12px 12px max(12px, env(safe-area-inset-bottom));
  overflow: hidden;
}
body:has(#businessBottomBar) #authOverlay.active {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
body:has(#businessBottomBar) #authOverlay .auth-popup {
  width: min(100%, 390px);
  max-width: 390px;
  max-height: calc(var(--pix-auth-vh, 100dvh) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
body.pix-business-auth-open { overflow: hidden !important; }
body.pix-business-auth-open #businessBottomBar,
body.pix-business-auth-open .business-bottom-bar,
body.pix-business-auth-open .bottom-nav,
body.pix-business-auth-open .mobile-bottom-nav,
body.pix-business-auth-open .mobile-footer,
body.pix-business-auth-open .fixed-bottom-bar { display: none !important; }
@media (max-width: 600px) {
  body:has(#businessBottomBar) #authOverlay .auth-popup {
    max-height: calc(var(--pix-auth-vh, 100dvh) - 28px);
  }
  body:has(#businessBottomBar) #authOverlay .auth-popup-body { padding: 18px 18px 20px; }
  body:has(#businessBottomBar) #authOverlay .auth-popup-header { padding-top: 16px; }
  body:has(#businessBottomBar) #authOverlay .auth-input-group input { font-size: 16px; }
}
