/* Visual corrections loaded after the legacy admin theme. */

.header .header-logo a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 8px 12px;
}

.header .header-logo a img.large-logo,
.header .header-logo a img.dark-logo {
  width: 156px !important;
  max-width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  object-fit: contain;
}

.form-membership .form-wrapper .admin-login-logo {
  width: 110px !important;
  height: 110px !important;
  margin-inline: auto;
  padding: 12px;
  border-radius: 50%;
  background: #fff;
}

.form-membership .form-wrapper .admin-login-logo img {
  display: block;
  width: 82px !important;
  height: 82px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

@media (min-width: 992px) {
  body.small-navigation:not(.hidden-navigation) .header .header-logo a img.small-logo {
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    object-fit: contain;
  }
}

@media (max-width: 575.98px) {
  .header .header-logo {
    padding-right: 12px;
  }

  .header .header-logo a img.small-logo {
    width: 40px !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    object-fit: contain;
  }
}
