.erp-brand,
.sidebar .brand {
  font-size: 13px;
  line-height: 1.2;
}

.erp-brand,
.sidebar .brand {
  height: 80px;
  justify-content: center;
  padding: 5px 12px;
  overflow: hidden;
}

.app-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.simple-brand.app-brand-link,
.mobile-brand.app-brand-link,
.login-shell .brand.app-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 240px);
  min-height: 70px;
  margin-inline: auto;
}

.dashboard-body .simple-brand.app-brand-link {
  width: min(220px, 42vw);
  min-height: 54px;
  margin-inline: 0;
}

.company-logo-preview {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed #cfd8e6;
  border-radius: 12px;
  background: #f8fafc;
}

.company-logo-preview .app-brand-logo {
  max-height: 70px;
}

.erp-brand > span:first-child,
.brand-mark {
  flex: 0 0 auto;
}

.login-shell .brand,
.mobile-brand,
.simple-brand {
  font-size: 16px;
  line-height: 1.2;
}

.panel-footer {
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 575.98px) {
  .dashboard-body .simple-brand {
    max-width: 190px;
    font-size: 13px;
  }

  .mobile-brand {
    max-width: 100%;
    font-size: 14px;
  }
}
