/**
 * Avelon / panel logosu — header satır yüksekliği ve padding değişmeden
 * logo slotunu ve max-height ile görünürlük artırılır.
 */
.template__TemplateHeader-sc-w6brfa-0 .iwTqzd {
  align-items: center;
}

/* Panel header — satır yüksekliği aynı; logo sola ve optik büyük */
.layout__HeaderLayoutItem-sc-1e4mgx3-1.cZIfsO {
  max-width: 19rem !important;
  flex: 0 1 auto !important;
  margin-left: -0.45rem;
  padding-right: 0.15rem;
}

a.dAoYoo.smsx-logo-link,
.dAoYoo.smsx-logo-link {
  max-width: 19rem !important;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

html.theme-sb-light img.smsx-header-logo,
img.smsx-header-logo {
  filter: none;
  max-height: 52px !important;
  max-width: 18rem !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center;
  transform: scale(1.12);
  transform-origin: left center;
}

@media (max-width: 34.9375em) {
  img.smsx-header-logo {
    max-height: 48px !important;
    max-width: min(14rem, 62vw) !important;
    transform: scale(1.06);
  }
  .layout__HeaderLayoutItem-sc-1e4mgx3-1.cZIfsO {
    margin-left: -0.25rem;
    max-width: 15rem !important;
  }
}

html.theme-sb-light img.smsx-header-logo {
  filter: none;
}

/* Giriş / kayıt portalı — panel.css yüklenmez; logo burada büyütülür */
body.auth-portal-page img.smsx-auth-logo {
  height: auto !important;
  width: auto !important;
  max-width: min(20rem, 94vw) !important;
  object-fit: contain;
}

body.auth-portal-page .auth-page--login img.smsx-auth-logo {
  max-height: clamp(64px, 11vw, 80px) !important;
}
