/* LotCare(HVAC) brand: keep aspect ratio; do not recolor, stretch, or overlay */

.lotcare-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
  aspect-ratio: 5 / 1;
  object-fit: contain;
  object-position: left center;
}

.lotcare-mark,
.lotcare-mark-collapsed {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Stacked layout: logo centered in header; version sits below with clear spacing. */
#sidebar .content-header.lotcare-side-header {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  height: auto !important;
  min-height: 9rem;
  padding: 0.85rem 0.35rem 0.7rem !important;
  overflow: visible !important;
}

#sidebar .lotcare-side-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.35rem !important;
  width: 100% !important;
  order: 2 !important;
}

#sidebar .lotcare-brand-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  text-decoration: none !important;
  order: 1 !important;
}

#sidebar .lotcare-brand-expanded {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

#sidebar .lotcare-brand-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
}

#sidebar .lotcare-brand-panel .lotcare-logo {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 auto !important;
  aspect-ratio: 5 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1.28) !important;
  transform-origin: center center !important;
  image-rendering: auto !important;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)) !important;
}

#sidebar .lotcare-mark-collapsed {
  width: 44px !important;
  height: 44px !important;
  margin: 0 auto !important;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)) !important;
}

#sidebar .lotcare-brand-version {
  display: block !important;
  width: 100% !important;
  color: #fff !important;
  font-size: 10px !important;
  text-align: center !important;
  margin-top: 0.85rem !important;
  padding-top: 0.15rem !important;
  opacity: 0.9 !important;
}

.lotcare-logo-auth {
  height: 48px;
  margin: 0 auto 1rem;
}
