/* ==================================================================
   DUNETRAILS - KEYCLOAK ADMIN CONSOLE (keycloak.v2 / PatternFly 5)
   ------------------------------------------------------------------
   Internal, operator-only console. Colour-only re-brand (primary
   tokens + primary buttons) so it matches the Dunetrails palette;
   everything else inherited from keycloak.v2. Admin-console theming
   is intentionally minimal (upstream discourages more).
   ================================================================== */

:root {
  --pf-v5-global--primary-color--100: #31469d;
  --pf-v5-global--primary-color--200: #24387f;
  --pf-v5-global--link--Color: #31469d;
  --pf-v5-global--link--Color--hover: #24387f;
}

.pf-v5-c-button.pf-m-primary {
  background-color: #31469d;
}

.pf-v5-c-button.pf-m-primary:hover {
  background-color: #24387f;
}

/* Remove the Keycloak logo from the masthead. PRIMARY mechanism is the blank
   admin/resources/logo.svg that overrides the parent keycloak.v2 logo (the SPA loads
   <resourceUrl>/logo.svg by default). This CSS is a class-independent backup that also
   collapses any leftover empty <img> box; theme.properties `logo=` is intentionally
   NOT used (unreliable in KC 26, keycloak#45733). Scoped to the masthead. */
.keycloak__pageheader_brand,
.pf-v5-c-masthead .pf-v5-c-brand,
.pf-v5-c-masthead__main .pf-v5-c-brand {
  display: none !important;
}