/* Pulsar admin console branding for Keycloak 26 (PatternFly 5).
   Ported 2026-10-03 from the 23.x (PatternFly 4) version; the old realm-selector rule was dropped. */

:root:root {
  --pf-v5-global--primary-color--100: #1780E7;
  --pf-v5-global--primary-color--200: #0066bb;
  --pf-v5-global--primary-color--light-100: #4b9bec;
  --pf-v5-global--primary-color--dark-100: #0066bb;
  --pf-v5-global--link--Color: #1780E7;
  --pf-v5-global--link--Color--hover: #0066bb;
  --pf-v5-global--active-color--100: #1780E7;
  --pf-v5-global--active-color--200: #0066bb;
  --pf-v5-global--active-color--300: #4b9bec;
  --pf-v5-global--active-color--400: #0066bb;
}

.pf-v5-c-masthead.pf-v5-c-masthead {
  --pf-v5-c-masthead--BackgroundColor: #1A1B41;
  background-color: #1A1B41;
}

/* Dark mode gives the masthead toolbar its own near-black background; let the navy show through. */
.pf-v5-c-masthead .pf-v5-c-toolbar.pf-v5-c-toolbar {
  --pf-v5-c-toolbar--BackgroundColor: transparent;
  background-color: transparent;
}

/* Keycloak 26 default avatar applies its mask as filter:url(#a); Safari renders that broken. Drop it and clip to a circle instead. */
svg.pf-v5-c-avatar {
  overflow: hidden;
  clip-path: circle(50%);
}
svg.pf-v5-c-avatar g[style*="filter"] {
  filter: none !important;
}
