/* ============================================================
   Marzi white-label for Metabase OSS (injected by nginx).
   Change the three brand tokens below to re-theme.
   Honest caveat: Metabase uses hashed CSS classes, so this brands
   the high-impact, stable surfaces (logo, login, accents, nav) —
   not a pixel-perfect Enterprise theme.
   ============================================================ */
:root {
  --marzi-primary: #1F8A70;   /* PLACEHOLDER — set to Marzi brand colour */
  --marzi-primary-dark: #0B2E26;
  --marzi-accent: #F2A65A;
}

/* Replace the Metabase logo with the Marzi mark wherever the brand <img> renders */
img[src*="logo"], .Icon-metabase, [class*="LogoIcon"] {
  content: url("/branding/marzi-logo.svg") !important;
  height: 32px !important;
  width: auto !important;
}

/* Primary buttons / brand accents */
.Button--primary,
button[data-primary="true"],
[class*="Button"][class*="primary"] {
  background-color: var(--marzi-primary) !important;
  border-color: var(--marzi-primary) !important;
}
a, [class*="link"] { color: var(--marzi-primary); }
::selection { background: var(--marzi-primary); color: #fff; }

/* Login page brand wash */
.Login, [class*="login"] {
  background: linear-gradient(135deg, var(--marzi-primary-dark), var(--marzi-primary)) !important;
}

/* Hide "Powered by Metabase" / external metabase.com links where present */
a[href*="metabase.com"],
[class*="PoweredBy"] { display: none !important; }
