/* BedOut Studio branding on top of the Postiz pages.
   Injected by Caddy (server/postiz/Caddyfile). Selectors follow Postiz v2.26.1: check them after each Postiz update. */

/* Postiz logo (inline SVG 101x33) replaced by the BedOut Studio logo and name. */
svg[viewBox="0 0 101 33"] {
  display: none !important;
}

div:has(> svg[viewBox="0 0 101 33"])::before,
a:has(> svg[viewBox="0 0 101 33"])::before {
  content: "BedOut Studio";
  display: block;
  height: 36px;
  padding-left: 46px;
  background: url("/site/logo.png") left center / 36px 36px no-repeat;
  color: #fff;
  font: 700 22px/36px ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  white-space: nowrap;
}

/* Postiz "P" logo at the top of the app menu (inline SVG 60x60): drawn as the BedOut logo instead. */
svg[viewBox="0 0 60 60"].min-w-\[60px\] {
  background: url("/site/logo.png") center / 48px 48px no-repeat;
  border-radius: 12px;
}

svg[viewBox="0 0 60 60"].min-w-\[60px\] > * {
  display: none;
}

/* Sign-in and sign-up pages: hide the panel of Postiz customer testimonials and center the form. */
div.min-h-screen.w-screen > div.pt-\[88px\] {
  display: none !important;
}

div.min-h-screen.w-screen:has(> div.pt-\[88px\]) {
  justify-content: center;
}
