/* Brand logos: external SVGs cannot inherit page CSS selectors. */


.brand {
    display: flex;
    align-items: center;
    gap: 0;
    margin: -10px 0 -10px;
    text-decoration: none;
}

.sidebar-brand-row .brand-logo {
    max-width: none;
}

.brand-logo {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.brand-text {
    display: block;
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

/* Light mode */
.brand-text-light {
    display: block;
}

.brand-text-dark {
    display: none;
}

/* Dark mode */
html[data-theme="dark"] .brand-text-light {
    display: none;
}

html[data-theme="dark"] .brand-text-dark {
    display: block;
}

.mobile-topbar-brand  {
  margin: 0!important;
  overflow: hidden;
}

@media (max-width: 720px) {
.mobile-topbar-brand .brand-logo-mobile {
    display: block;
    width: 45px;
    height: 45px;
    margin: 0 !important;
  }

}


.auth-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 5px 0;
  text-decoration: none;
}

.auth-brand .brand-logo {
  display: block;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.auth-brand .brand-text {
  display: block;
  width: 100px;
  height: auto;
  flex-shrink: 0;
}