#mbli-auth-brand,
#mbli-auth-copyright {
  display: none;
}

html.mbli-auth-branded #mbli-auth-brand {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

html.mbli-auth-branded #root img[alt="LibreChat Logo"] {
  visibility: hidden;
}

#mbli-auth-brand .mbli-auth-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
}

#mbli-auth-brand h2 {
  margin: 18px 0 0;
  color: #000;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 2.25rem;
  white-space: nowrap;
}

html.dark #mbli-auth-brand h2 {
  color: #fff;
}

#mbli-auth-brand img {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

html.mbli-auth-branded #mbli-auth-copyright {
  position: fixed;
  right: 8px;
  bottom: 14px;
  left: 8px;
  z-index: 20;
  display: block;
  color: #4b5563;
  font: 400 13px/1.5 system-ui, sans-serif;
  text-align: center;
  pointer-events: none;
}

html.dark.mbli-auth-branded #mbli-auth-copyright {
  color: #a6adb8;
}

#mbli-auth-copyright a,
#mbli-auth-copyright a:visited {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

#mbli-auth-copyright a:hover {
  color: inherit;
  opacity: 0.72;
}

#mbli-auth-copyright a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  html.mbli-auth-branded #mbli-auth-brand {
    top: 20px;
  }

  #mbli-auth-brand .mbli-auth-logos {
    gap: 10px;
    padding: 6px 8px;
  }

  #mbli-auth-brand img {
    height: 28px;
  }

  html.mbli-auth-branded #mbli-auth-copyright {
    bottom: 10px;
    font-size: 12px;
  }
}
