/*
 * Innovation navy brand for the Keycloak admin console.
 * The console is a compiled PatternFly SPA (keycloak.v2) — this recolors it via
 * design tokens (PF5, with PF4 fallbacks) + an amber masthead rule. Branding only.
 */
:root {
  --pf-v5-global--primary-color--100: #233968;
  --pf-v5-global--primary-color--200: #17263f;
  --pf-v5-global--link--Color: #233968;
  --pf-v5-global--link--Color--hover: #17263f;
  --pf-v5-global--active-color--100: #233968;

  /* legacy PatternFly 4 fallbacks */
  --pf-global--primary-color--100: #233968;
  --pf-global--primary-color--200: #17263f;
  --pf-global--link--Color: #233968;
}

.pf-v5-c-button.pf-m-primary { background-color: #233968; }
.pf-v5-c-button.pf-m-primary:hover,
.pf-v5-c-button.pf-m-primary:focus { background-color: #17263f; }

/* amber accent line under the top bar */
.pf-v5-c-masthead { border-bottom: 2px solid #f29100; }

/* Replace the masthead brand logo. KC26's admin console builds a broken URL from
   the `logo=` property (renders as a broken "Logo" image), so we swap the image
   here instead — a CSS url() resolves relative to THIS stylesheet, which the
   console serves correctly. */
.pf-v5-c-masthead__brand img,
.pf-c-brand,
img[alt="Logo"] {
  content: url("../img/logo.svg");
  height: 30px;
  width: auto;
  max-height: 30px;
}
