/* REH_PUBLIC_AUTH_LOGO_V2 */

.reh-auth-popup-logo{
  display:inline-flex!important;
  align-items:center!important;
  margin:0 0 12px!important;
  min-height:26px!important;
}

.reh-auth-popup-logo img{
  display:block!important;
  width:auto!important;
  height:27px!important;
  max-width:190px!important;
  object-fit:contain!important;
  object-position:left center!important;
  visibility:visible!important;
  opacity:1!important;
  filter:none!important;
}

.reh-auth-popup-logo .reh-auth-popup-logo-dark{
  display:none!important;
}

html[data-reh-theme="dark"] .reh-auth-popup-logo .reh-auth-popup-logo-light{
  display:none!important;
}

html[data-reh-theme="dark"] .reh-auth-popup-logo .reh-auth-popup-logo-dark{
  display:block!important;
}

/* The main Account / Sign-in workspace has its own fixed heading shell. */
.reh-account-heading .reh-auth-popup-logo{
  margin-bottom:6px!important;
}

.reh-account-heading .reh-auth-popup-logo img{
  height:25px!important;
  max-width:180px!important;
}

/* Hide only the old plain-text REALESTATE.HOST eyebrow when logo is present. */
.reh-account-heading.reh-auth-logo-ready small:first-of-type{
  display:none!important;
}

/* Create-account / reset-password cards generated by public auth. */
.reh-mobile-auth-card .reh-auth-popup-logo{
  margin-bottom:15px!important;
}

.reh-mobile-auth-card.reh-auth-logo-ready [data-reh-old-brand],
.reh-mobile-auth-card.reh-auth-logo-ready .reh-auth-old-brand{
  display:none!important;
}