/* OrbiCraft premium transparent header logo and wordmark. No layout boxes are resized. */
html body #header#header .logo.orbi-header-brand .orbi-logo-mark,
html body .portal-logo .portal-logo-mark,
html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-mark {
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body #header#header .logo.orbi-header-brand .orbi-logo-mark img,
html body .portal-logo .portal-logo-mark img,
html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-mark img {
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: scale(1.26) !important;
  transform-origin: center center !important;
  filter:
    drop-shadow(0 0 3px rgba(62,205,255,.58))
    drop-shadow(0 0 8px rgba(35,220,164,.26)) !important;
}

/* Matching the logo's blue-green highlights in the existing OrbiCraft wordmark. */
html body #header#header .logo.orbi-header-brand .orbi-logo-text,
html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-text {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(18px, 1.75vw, 26px) !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: -0.8px !important;
  color: #f7fcff !important;
  background: linear-gradient(108deg, #ffffff 0%, #e4faff 42%, #c8ffe8 74%, #f2fbff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.22),
    0 0 11px rgba(56,189,248,.32),
    0 0 20px rgba(34,197,94,.14) !important;
}

html body #header#header .logo.orbi-header-brand .orbi-logo-text > span,
html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-text > span,
html body .portal-logo-text > span,
html body .admin-brand .brand-dot,
html body .so-brand strong > span {
  color: #68e5ff !important;
  -webkit-text-fill-color: #68e5ff !important;
  text-shadow:
    0 0 7px rgba(56,189,248,.72),
    0 0 16px rgba(34,211,238,.42),
    0 0 20px rgba(34,197,94,.24) !important;
}

html body .portal-logo-text,
html body .client-brand strong,
html body .admin-brand strong,
html body .so-brand strong {
  font-size: .96em !important;
  font-weight: 600 !important;
  color: #f7fcff !important;
  background: linear-gradient(108deg, #ffffff 0%, #e4faff 42%, #c8ffe8 74%, #f2fbff 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 1px 0 rgba(255,255,255,.18),
    0 0 10px rgba(56,189,248,.28),
    0 0 18px rgba(34,197,94,.13) !important;
}

html body .client-brand > img,
html body .admin-brand > img,
html body .so-brand > img {
  transform: scale(1.26) !important;
  transform-origin: center center !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 0 3px rgba(62,205,255,.58))
    drop-shadow(0 0 8px rgba(35,220,164,.26)) !important;
}

html body .admin-brand .brand-dot,
html body .so-brand strong > span {
  -webkit-text-fill-color: #68e5ff !important;
}

@media (max-width: 767px) {
  html body #header#header .logo.orbi-header-brand .orbi-logo-text,
  html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-text {
    font-size: 20px !important;
  }
}
@media (max-width: 380px) {
  html body #header#header .logo.orbi-header-brand .orbi-logo-text,
  html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-text {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  html body #header#header .logo.orbi-header-brand .orbi-logo-mark img,
  html body .portal-logo .portal-logo-mark img,
  html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-mark img,
  html body .client-brand > img,
  html body .admin-brand > img,
  html body .so-brand > img {
    transform: scale(1.20) !important;
  }
}
@media (max-width: 380px) {
  html body #header#header .logo.orbi-header-brand .orbi-logo-mark img,
  html body .portal-logo .portal-logo-mark img,
  html body#orbi-public-layout#orbi-public-layout.index-page #header#header .logo.orbi-header-brand .orbi-logo-mark img,
  html body .client-brand > img,
  html body .admin-brand > img,
  html body .so-brand > img {
    transform: scale(1.15) !important;
  }
}


/* Shared, compact portal branding and signed-in footer. These rules preserve
   the existing header dimensions while giving the transparent brand art room. */
html body .client-topbar .client-brand.client-brand,
html body .client-brand.client-brand,
html body .admin-brand.admin-brand,
html body .so-brand.so-brand {
  align-items: center !important;
}

html body .client-topbar .client-brand.client-brand > img,
html body .client-brand.client-brand > img {
  display: block !important;
  flex: 0 0 auto !important;
  width: 67px !important;
  min-width: 67px !important;
  max-width: 67px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center !important;
  filter:
    drop-shadow(0 0 3px rgba(62,205,255,.60))
    drop-shadow(0 0 9px rgba(35,220,164,.28)) !important;
}

html body .admin-brand.admin-brand > img,
html body .so-brand.so-brand > img {
  display: block !important;
  flex: 0 0 auto !important;
  width: 78px !important;
  min-width: 78px !important;
  max-width: 78px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  object-position: center !important;
  filter:
    drop-shadow(0 0 3px rgba(62,205,255,.60))
    drop-shadow(0 0 9px rgba(35,220,164,.28)) !important;
}

html body .client-brand.client-brand strong,
html body .admin-brand.admin-brand strong,
html body .so-brand.so-brand strong {
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  letter-spacing: -.35px !important;
  color: #f7fcff !important;
  background: linear-gradient(108deg, #fff 0%, #e4faff 48%, #c8ffe8 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow:
    0 0 8px rgba(56,189,248,.24),
    0 0 15px rgba(34,197,94,.10) !important;
}

html body footer.portal-session-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 36px !important;
  margin: 20px 0 0 !important;
  padding: 10px 18px !important;
  border: 0 !important;
  border-top: 1px solid rgba(148,163,184,.20) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  font: 500 11px/1.5 "Open Sans", Arial, sans-serif !important;
  letter-spacing: .02em !important;
}

html body footer.portal-session-footer.client-session-footer {
  color: rgba(203,213,225,.72) !important;
}

html body footer.portal-session-footer.admin-session-footer {
  color: #64748b !important;
}

@media (max-width: 767px) {
  html body .client-topbar .client-brand.client-brand > img,
  html body .client-brand.client-brand > img {
    width: 67px !important;
    min-width: 67px !important;
    max-width: 67px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  html body .admin-brand.admin-brand > img,
  html body .so-brand.so-brand > img {
    width: 67px !important;
    min-width: 67px !important;
    max-width: 67px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }

  html body .client-brand.client-brand strong,
  html body .admin-brand.admin-brand strong,
  html body .so-brand.so-brand strong {
    font-size: 15px !important;
  }

  html body footer.portal-session-footer {
    margin-top: 16px !important;
    padding: 9px 14px !important;
    font-size: 10.5px !important;
  }
}


/* Match the index logo's gentle lift and cyan hover glow while keeping portal
   logo art transparent and preserving its current responsive scale. */
html body .client-brand.client-brand.client-brand > img,
html body .admin-brand.admin-brand.admin-brand > img,
html body .so-brand.so-brand.so-brand > img {
  transition:
    transform .28s cubic-bezier(.22,1,.36,1),
    filter .28s ease !important;
}

html body .client-brand.client-brand.client-brand:hover > img,
html body .client-brand.client-brand.client-brand:focus-visible > img,
html body .admin-brand.admin-brand.admin-brand:hover > img,
html body .admin-brand.admin-brand.admin-brand:focus-visible > img,
html body .so-brand.so-brand.so-brand:hover > img,
html body .so-brand.so-brand.so-brand:focus-visible > img {
  transform: translateY(-2px) scale(1.26) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 0 4px rgba(56,189,248,.72))
    drop-shadow(0 0 11px rgba(56,189,248,.42))
    drop-shadow(0 0 19px rgba(35,220,164,.22)) !important;
}

@media (max-width: 767px) {
  html body .client-brand.client-brand.client-brand:hover > img,
  html body .client-brand.client-brand.client-brand:focus-visible > img,
  html body .admin-brand.admin-brand.admin-brand:hover > img,
  html body .admin-brand.admin-brand.admin-brand:focus-visible > img,
  html body .so-brand.so-brand.so-brand:hover > img,
  html body .so-brand.so-brand.so-brand:focus-visible > img {
    transform: translateY(-2px) scale(1.20) !important;
  }
}

@media (max-width: 380px) {
  html body .client-brand.client-brand.client-brand:hover > img,
  html body .client-brand.client-brand.client-brand:focus-visible > img,
  html body .admin-brand.admin-brand.admin-brand:hover > img,
  html body .admin-brand.admin-brand.admin-brand:focus-visible > img,
  html body .so-brand.so-brand.so-brand:hover > img,
  html body .so-brand.so-brand.so-brand:focus-visible > img {
    transform: translateY(-2px) scale(1.15) !important;
  }
}
