/* ------------------------------------------------------------------
 * Digital Utopia branding for the self-hosted Postiz instance.
 * Injected by Caddy (replace-response) into every HTML page — no fork,
 * survives Postiz image upgrades. Selectors target stable markup:
 * inline logo SVGs by viewBox and the auth layout's Tailwind classes.
 * ------------------------------------------------------------------ */

/* --- Replace the Postiz logos with the DU logo --- */

/* Dashboard sidebar mark (60x60) */
svg[viewBox="0 0 60 60"] {
  background: url('/du-brand/du-mark.svg') center / 80% no-repeat;
}
svg[viewBox="0 0 60 60"] > * {
  display: none;
}

/* Auth / billing wordmark (101x33) */
svg[viewBox="0 0 101 33"] {
  background: url('/du-brand/du-logo.svg') left center / contain no-repeat;
  min-width: 220px;
}
svg[viewBox="0 0 101 33"] > * {
  display: none;
}

/* --- Rebrand the auth screens (hardcoded dark in Postiz) --- */

.bg-\[\#0E0E0E\] {
  background: #f7f7f5 !important;
}
.bg-\[\#0E0E0E\] .bg-\[\#1A1919\] {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}
.bg-\[\#0E0E0E\],
.bg-\[\#0E0E0E\] * {
  color: #17141f;
}
/* keep filled buttons readable */
.bg-\[\#0E0E0E\] button,
.bg-\[\#0E0E0E\] button * {
  color: #ffffff;
}
/* the white "Continue with Google" button needs an outline on white */
.bg-\[\#0E0E0E\] .bg-white,
.bg-\[\#0E0E0E\] [class*='bg-white'] {
  border: 1px solid #e4e4e0 !important;
}
.bg-\[\#0E0E0E\] a {
  color: #612bd3;
}
.bg-\[\#0E0E0E\] input,
.bg-\[\#0E0E0E\] .bg-innerBackground,
.bg-\[\#0E0E0E\] .bg-newBgColorInner {
  background: #ffffff !important;
  color: #17141f !important;
  border-color: #e4e4e0 !important;
}
/* hide the Postiz marketing / testimonial column */
.bg-\[\#0E0E0E\] > .text-\[36px\] {
  display: none !important;
}
