/* ============================================================
   Marine Zero — Admin Console Theme (keycloak.v2)
   ============================================================ */

/* ---- Override ALL dark-mode CSS variables ---- */
:root,
html,
html.pf-v5-theme-dark,
body.pf-v5-theme-dark,
.pf-v5-theme-dark,
[data-theme="dark"],
[data-pf-theme="dark"] {
  color-scheme: light !important;

  --pf-v5-global--BackgroundColor--100: #ffffff;
  --pf-v5-global--BackgroundColor--200: #f0f2f5;
  --pf-v5-global--BackgroundColor--dark-100: #ffffff;
  --pf-v5-global--BackgroundColor--dark-200: #f0f2f5;
  --pf-v5-global--BackgroundColor--dark-300: #e8eaf0;
  --pf-v5-global--BackgroundColor--dark-400: #dde1ea;

  --pf-v5-global--Color--100: #0f172a;
  --pf-v5-global--Color--200: #444444;
  --pf-v5-global--Color--300: #666666;
  --pf-v5-global--Color--400: #888888;
  --pf-v5-global--Color--dark-100: #0f172a;
  --pf-v5-global--Color--dark-200: #444444;
  --pf-v5-global--Color--light-100: #0f172a;
  --pf-v5-global--Color--light-200: #444444;

  --pf-v5-global--primary-color--100: #2f66e8;
  --pf-v5-global--primary-color--200: #2556cb;
  --pf-v5-global--primary-color--light-100: rgba(47,102,232,0.12);
  --pf-v5-global--link--Color: #2f66e8;
  --pf-v5-global--link--Color--hover: #2556cb;
  --pf-v5-global--link--Color--dark: #2f66e8;

  --pf-v5-global--BorderColor--100: rgba(0,0,0,0.08);
  --pf-v5-global--BorderColor--200: rgba(0,0,0,0.12);
  --pf-v5-global--BorderColor--dark-100: rgba(0,0,0,0.08);

  --pf-v5-c-masthead--BackgroundColor: #ffffff;
  --pf-v5-c-page__sidebar--BackgroundColor: #ffffff;
  --pf-v5-c-page__sidebar--BorderRightColor: rgba(47,102,232,0.10);
  --pf-v5-c-nav__link--Color: #444444;
  --pf-v5-c-nav__link--m-current--Color: #2f66e8;
  --pf-v5-c-nav__link--m-current--BackgroundColor: #ddeafc;
  --pf-v5-c-nav__link--hover--BackgroundColor: #e8f1fd;
  --pf-v5-c-nav__link--hover--Color: #2f66e8;

  --pf-v5-c-card--BackgroundColor: rgba(247,247,247,0.97);
  --pf-v5-c-form-control--BackgroundColor: #ffffff;
  --pf-v5-c-form-control--Color: #0f172a;
  --pf-v5-c-button--m-primary--BackgroundColor: #2f66e8;
  --pf-v5-c-button--m-primary--Color: #ffffff;
  --pf-v5-c-button--m-primary--hover--BackgroundColor: #2556cb;

  --pf-v5-c-tabs--BackgroundColor: transparent;
  --pf-v5-c-tabs__link--BackgroundColor: transparent;
  --pf-v5-c-tabs__link--Color: #444444;
  --pf-v5-c-tabs__link--m-current--Color: #2f66e8;
  --pf-v5-c-tabs__link--m-current--BackgroundColor: transparent;

  --pf-v5-c-menu--BackgroundColor: #ffffff;
  --pf-v5-c-menu__item--Color: #0f172a;
  --pf-v5-c-dropdown__menu--BackgroundColor: #ffffff;
  --pf-v5-c-select__menu--BackgroundColor: #ffffff;
  --pf-v5-c-select__menu-item--Color: #0f172a;

  /* Control buttons */
  --pf-v5-c-button--m-control--BackgroundColor: #ffffff;
  --pf-v5-c-button--m-control--Color: #0f172a;
  --pf-v5-c-button--m-control--disabled--BackgroundColor: #f5f5f5;
  --pf-v5-c-button--m-control--after--BorderTopColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderRightColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderBottomColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderLeftColor: rgba(47,102,232,0.20);

  /* Page breadcrumb */
  --pf-v5-c-page__main-breadcrumb--BackgroundColor: transparent;
}

/* ---- Base ---- */
html, body {
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #0f172a !important;
}

body { position: relative; overflow-x: hidden; }

/* ---- Page layout ---- */
.pf-v5-c-page, .pf-c-page {
  background: transparent !important;
  position: relative;
  z-index: 1;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pf-v5-c-page__main, .pf-c-page__main { background: transparent !important; }

.pf-v5-c-page__main-section, .pf-c-page__main-section {
  background: transparent !important;
  padding: 24px !important;
}

/* ---- Masthead ---- */
.pf-v5-c-masthead, .pf-c-page__header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(47,102,232,0.12) !important;
  box-shadow: 0 2px 8px rgba(47,102,232,0.08) !important;
  position: relative;
  z-index: 100;
}

/* Logo replacement */
.pf-v5-c-masthead img, .pf-v5-c-masthead__brand img,
img.pf-v5-c-brand, .pf-c-masthead img,
.pf-c-page__header img, img.pf-c-brand {
  content: url('../img/logo.png') !important;
  width: 130px !important;
  height: auto !important;
  max-height: 48px !important;
  object-fit: contain !important;
}

/* ---- Hide "Keycloak" realm indicator in masthead ---- */
.pf-v5-c-masthead [data-testid="realmSelector"],
.pf-v5-c-masthead [aria-label*="realm"],
.pf-v5-c-masthead [aria-label*="Realm"],
.pf-v5-c-masthead .pf-v5-c-menu-toggle[id*="realm"],
.pf-v5-c-toolbar__item:has(button[id*="realm"]) {
  display: none !important;
}

/* ---- Sidebar / Nav ---- */
.pf-v5-c-page__sidebar, .pf-c-page__sidebar {
  background: #ffffff !important;
  border-right: 1px solid rgba(47,102,232,0.10) !important;
  box-shadow: 2px 0 8px rgba(47,102,232,0.06) !important;
  position: relative;
  z-index: 50;
}

.pf-v5-c-nav, .pf-c-nav { background: transparent !important; padding: 12px 0 !important; }

.pf-v5-c-nav__link, .pf-c-nav__link {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #444 !important;
  border-radius: 10px !important;
  margin: 2px 10px !important;
  padding: 10px 14px !important;
  background: transparent !important;
}

.pf-v5-c-nav__link:hover, .pf-c-nav__link:hover {
  background: #e8f1fd !important;
  color: #2f66e8 !important;
}

.pf-v5-c-nav__link.pf-m-current,
.pf-v5-c-nav__link[aria-current="page"],
.pf-c-nav__link.pf-m-current {
  background: #ddeafc !important;
  color: #2f66e8 !important;
  font-weight: 700 !important;
}

.pf-v5-c-nav__link::before, .pf-c-nav__link::before { display: none !important; }

.pf-v5-c-nav__section-title, .pf-c-nav__section-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #999 !important;
  padding: 16px 24px 6px !important;
}

/* ---- Cards ---- */
.pf-v5-c-card, .pf-c-card {
  border-radius: 16px !important;
  border: 1px solid rgba(47,102,232,0.10) !important;
  box-shadow: 0 4px 16px rgba(47,102,232,0.06) !important;
  background: rgba(247,247,247,0.97) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: #0f172a !important;
}

.pf-v5-c-card__title, .pf-v5-c-card__title-text, .pf-c-card__title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.pf-v5-c-card__body, .pf-c-card__body { padding: 20px 24px !important; color: #0f172a !important; }

/* ---- Tabs ---- */
.pf-v5-c-tabs, .pf-v5-c-tabs__list, .pf-c-tabs, .pf-c-tabs__list {
  background: transparent !important;
}

.pf-v5-c-tabs__item, .pf-c-tabs__item { background: transparent !important; }

.pf-v5-c-tabs__link, .pf-c-tabs__link {
  background: transparent !important;
  color: #555 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.pf-v5-c-tabs__link:hover, .pf-c-tabs__link:hover {
  background: #e8f1fd !important;
  color: #2f66e8 !important;
}

.pf-v5-c-tabs__link.pf-m-current,
.pf-v5-c-tabs__link[aria-selected="true"],
.pf-c-tabs__link.pf-m-current {
  background: transparent !important;
  color: #2f66e8 !important;
  border-bottom-color: #2f66e8 !important;
}

/* ---- Dropdowns & Selects — square edges ---- */
.pf-v5-c-menu,
.pf-v5-c-dropdown__menu,
.pf-v5-c-select__menu,
.pf-c-dropdown__menu,
.pf-c-select__menu {
  background: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 16px rgba(47,102,232,0.10) !important;
  border: 1px solid rgba(47,102,232,0.12) !important;
  color: #0f172a !important;
}

.pf-v5-c-menu__item, .pf-v5-c-menu__item-text,
.pf-v5-c-dropdown__menu-item, .pf-v5-c-select__menu-item,
.pf-c-dropdown__menu-item, .pf-c-select__menu-item {
  color: #0f172a !important;
  background: transparent !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
}

.pf-v5-c-menu__item:hover, .pf-v5-c-dropdown__menu-item:hover,
.pf-v5-c-select__menu-item:hover, .pf-c-dropdown__menu-item:hover,
.pf-c-select__menu-item:hover {
  background: #e8f1fd !important;
  color: #2f66e8 !important;
}

.pf-v5-c-menu__item.pf-m-selected, .pf-v5-c-select__menu-item.pf-m-selected {
  color: #2f66e8 !important;
}

.pf-v5-c-dropdown__toggle, .pf-v5-c-select__toggle,
.pf-v5-c-menu-toggle, .pf-c-dropdown__toggle, .pf-c-select__toggle {
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid rgba(47,102,232,0.20) !important;
  border-radius: 4px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 500 !important;
}

.pf-v5-c-dropdown__toggle:hover, .pf-v5-c-select__toggle:hover,
.pf-v5-c-menu-toggle:hover {
  background: #e8f1fd !important;
  border-color: #2f66e8 !important;
}

/* ---- Inputs ---- */
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="search"], textarea,
.pf-v5-c-form-control, .pf-c-form-control {
  border-radius: 8px !important;
  border: 1px solid rgba(47,102,232,0.20) !important;
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  box-shadow: none !important;
  min-height: 40px;
  box-sizing: border-box !important;
}

textarea { padding: 10px 14px !important; min-height: 80px; }

input:focus, .pf-v5-c-form-control:focus, .pf-c-form-control:focus {
  border-color: #2f66e8 !important;
  box-shadow: 0 0 0 2px rgba(47,102,232,0.18) !important;
  outline: none !important;
}

.pf-v5-c-form__label-text, .pf-c-form__label-text {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #2f2f2f !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ---- Buttons ---- */
.pf-v5-c-button.pf-m-primary, .pf-c-button.pf-m-primary {
  border-radius: 8px !important;
  background: #2f66e8 !important;
  border: none !important;
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 40px;
  box-shadow: none !important;
}

.pf-v5-c-button.pf-m-primary:hover, .pf-c-button.pf-m-primary:hover {
  background: #2556cb !important;
}

.pf-v5-c-button.pf-m-secondary, .pf-c-button.pf-m-secondary {
  border-radius: 8px !important;
  border: 1.5px solid #2f66e8 !important;
  color: #2f66e8 !important;
  background: transparent !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  min-height: 40px;
  box-shadow: none !important;
}

.pf-v5-c-button.pf-m-secondary:hover, .pf-c-button.pf-m-secondary:hover {
  background: #e8f1fd !important;
}

.pf-v5-c-button.pf-m-link, .pf-c-button.pf-m-link { color: #2f66e8 !important; }

.pf-v5-c-button.pf-m-link:hover, .pf-c-button.pf-m-link:hover {
  background: #e8f1fd !important;
  border-radius: 6px !important;
}

.pf-v5-c-button.pf-m-plain:hover, .pf-c-button.pf-m-plain:hover {
  background: #e8f1fd !important;
}

.pf-v5-c-button.pf-m-danger, .pf-c-button.pf-m-danger { border-radius: 8px !important; }

/* ---- General text colour reset (dark-mode override) ---- */
.pf-v5-theme-dark p, .pf-v5-theme-dark span, .pf-v5-theme-dark div,
.pf-v5-theme-dark li, .pf-v5-theme-dark td, .pf-v5-theme-dark th,
.pf-v5-theme-dark label, .pf-v5-theme-dark h1, .pf-v5-theme-dark h2,
.pf-v5-theme-dark h3, .pf-v5-theme-dark h4,
html.pf-v5-theme-dark p, html.pf-v5-theme-dark span,
html.pf-v5-theme-dark div, html.pf-v5-theme-dark li,
html.pf-v5-theme-dark h1, html.pf-v5-theme-dark h2,
html.pf-v5-theme-dark h3 { color: #0f172a !important; }

/* ---- Table ---- */
.pf-v5-c-table, .pf-c-table {
  font-family: Arial, Helvetica, sans-serif !important;
  background: rgba(247,247,247,0.97) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.pf-v5-c-table thead th, .pf-c-table thead th {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #888 !important;
  background: rgba(232,241,253,0.6) !important;
}

.pf-v5-c-table td, .pf-c-table td { color: #0f172a !important; background: transparent !important; }

.pf-v5-c-table tr:hover td, .pf-c-table tr:hover td {
  background: #e8f1fd !important;
}

/* ---- Links ---- */
a { color: #2f66e8 !important; }

/* ---- Alerts ---- */
.pf-v5-c-alert, .pf-c-alert {
  border-radius: 8px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ---- Breadcrumb ---- */
.pf-v5-c-breadcrumb__link, .pf-c-breadcrumb__link { color: #2f66e8 !important; font-size: 14px !important; }
.pf-v5-c-breadcrumb__item-divider, .pf-c-breadcrumb__item-divider { color: #888 !important; }

/* ---- Page title ---- */
.pf-v5-c-title, .pf-c-title {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

/* ---- Badge ---- */
.pf-v5-c-badge, .pf-c-badge {
  background: rgba(47,102,232,0.12) !important;
  color: #2f66e8 !important;
  border-radius: 99px !important;
  font-weight: 600 !important;
}

/* ---- Spinner ---- */
.pf-v5-c-spinner { --pf-v5-c-spinner--Color: #2f66e8; }

/* ---- Toolbar ---- */
.pf-v5-c-toolbar, .pf-c-toolbar { background: transparent !important; }

/* ---- Popover ---- */
.pf-v5-c-popover__body {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(47,102,232,0.10) !important;
}

/* ---- Labels (Server Info / Provider Info feature badges) ---- */
.pf-v5-c-label, .pf-c-label {
  border-radius: 4px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1px solid currentColor !important;
  --pf-v5-c-label--BackgroundColor: rgba(54,122,213,0.08) !important;
}

/* Include html.pf-v5-theme-dark to beat dark-mode specificity */
/* default */
html .pf-v5-c-label.pf-m-blue, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-blue,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-blue, .pf-c-label.pf-m-blue {
  background: rgba(47,102,232,0.08) !important;
  color: #2f66e8 !important;
}
/* experimental */
html .pf-v5-c-label.pf-m-orange, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-orange,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-orange, .pf-c-label.pf-m-orange {
  background: rgba(234,88,12,0.08) !important;
  color: #c2410c !important;
}
/* preview */
html .pf-v5-c-label.pf-m-purple, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-purple,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-purple, .pf-c-label.pf-m-purple {
  background: rgba(124,58,237,0.08) !important;
  color: #6d28d9 !important;
}
/* deprecated — red needs highest specificity as dark mode overrides it hardest */
html .pf-v5-c-label.pf-m-red, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-red,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-red, .pf-c-label.pf-m-red {
  background: rgba(220,38,38,0.08) !important;
  color: #b91c1c !important;
  --pf-v5-c-label--BackgroundColor: rgba(220,38,38,0.08) !important;
  --pf-v5-c-label--Color: #b91c1c !important;
}
/* disabled / gray */
html .pf-v5-c-label.pf-m-grey, html .pf-v5-c-label.pf-m-gray,
html.pf-v5-theme-dark .pf-v5-c-label.pf-m-grey, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-gray,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-grey, .pf-v5-theme-dark .pf-v5-c-label.pf-m-gray,
.pf-c-label.pf-m-grey, .pf-c-label.pf-m-gray {
  background: rgba(100,116,139,0.08) !important;
  color: #475569 !important;
}
/* green / success */
html .pf-v5-c-label.pf-m-green, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-green,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-green, .pf-c-label.pf-m-green {
  background: rgba(22,163,74,0.08) !important;
  color: #15803d !important;
}
/* gold */
html .pf-v5-c-label.pf-m-gold, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-gold,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-gold, .pf-c-label.pf-m-gold {
  background: rgba(202,138,4,0.08) !important;
  color: #b45309 !important;
}
/* cyan */
html .pf-v5-c-label.pf-m-cyan, html.pf-v5-theme-dark .pf-v5-c-label.pf-m-cyan,
.pf-v5-theme-dark .pf-v5-c-label.pf-m-cyan, .pf-c-label.pf-m-cyan {
  background: rgba(8,145,178,0.08) !important;
  color: #0e7490 !important;
}

/* Label group container (list of feature badges) */
.pf-v5-c-label-group, .pf-c-label-group {
  background: transparent !important;
}

.pf-v5-c-label-group__label, .pf-c-label-group__label {
  color: #555 !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

/* ---- Description list (Server Info memory, CPU rows) ---- */
.pf-v5-c-description-list, .pf-c-description-list {
  background: transparent !important;
}

.pf-v5-c-description-list__group, .pf-c-description-list__group {
  border-bottom: 1px solid rgba(47,102,232,0.06) !important;
  padding: 10px 0 !important;
}

.pf-v5-c-description-list__term, .pf-c-description-list__term {
  font-weight: 600 !important;
  color: #555 !important;
  font-size: 13px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pf-v5-c-description-list__description, .pf-c-description-list__description {
  color: #0f172a !important;
  font-size: 14px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ---- Expandable section (Provider Info accordions) ---- */
.pf-v5-c-expandable-section__toggle,
.pf-c-expandable-section__toggle {
  color: #2f66e8 !important;
  background: transparent !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
}

.pf-v5-c-expandable-section__toggle:hover,
.pf-c-expandable-section__toggle:hover {
  background: #e8f1fd !important;
}

.pf-v5-c-expandable-section__content,
.pf-c-expandable-section__content {
  color: #0f172a !important;
}

/* ---- List / Simple list ---- */
.pf-v5-c-simple-list__item-link,
.pf-c-simple-list__item-link {
  color: #0f172a !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.pf-v5-c-simple-list__item-link:hover,
.pf-c-simple-list__item-link:hover {
  background: #e8f1fd !important;
  color: #2f66e8 !important;
}

.pf-v5-c-simple-list__item-link.pf-m-current,
.pf-c-simple-list__item-link.pf-m-current {
  background: #ddeafc !important;
  color: #2f66e8 !important;
  font-weight: 700 !important;
}

/* ---- Chip / tag ---- */
.pf-v5-c-chip, .pf-c-chip {
  background: rgba(47,102,232,0.08) !important;
  border-color: rgba(47,102,232,0.20) !important;
  border-radius: 4px !important;
  color: #0f172a !important;
}

/* ---- Progress bar ---- */
.pf-v5-c-progress__bar { background: rgba(47,102,232,0.12) !important; }
.pf-v5-c-progress__indicator { background: #2f66e8 !important; }

/* ---- Control buttons (pagination arrows, filter toggles) ---- */
.pf-v5-c-button.pf-m-control,
.pf-c-button.pf-m-control,
html .pf-v5-c-button.pf-m-control,
html.pf-v5-theme-dark .pf-v5-c-button.pf-m-control,
.pf-v5-theme-dark .pf-v5-c-button.pf-m-control {
  --pf-v5-c-button--m-control--BackgroundColor: #ffffff;
  --pf-v5-c-button--m-control--Color: #0f172a;
  --pf-v5-c-button--m-control--disabled--BackgroundColor: #f5f5f5;
  --pf-v5-c-button--m-control--after--BorderTopColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderRightColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderBottomColor: rgba(47,102,232,0.20);
  --pf-v5-c-button--m-control--after--BorderLeftColor: rgba(47,102,232,0.20);
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.pf-v5-c-button.pf-m-control:hover,
html.pf-v5-theme-dark .pf-v5-c-button.pf-m-control:hover,
.pf-v5-theme-dark .pf-v5-c-button.pf-m-control:hover {
  background-color: #e8f1fd !important;
  color: #2f66e8 !important;
}

.pf-v5-c-button.pf-m-control:disabled,
.pf-v5-c-button.pf-m-control[disabled] {
  background-color: #f5f5f5 !important;
  color: #aaa !important;
}

/* ---- Page breadcrumb section (dark #32353d background) ---- */
.pf-v5-c-page__main-breadcrumb,
.pf-c-page__main-breadcrumb,
html .pf-v5-c-page__main-breadcrumb,
html.pf-v5-theme-dark .pf-v5-c-page__main-breadcrumb,
.pf-v5-theme-dark .pf-v5-c-page__main-breadcrumb {
  background-color: transparent !important;
}

/* ---- Fixed bottom button group (Save/Cancel footer strip) ---- */
/* Keycloak CSS module class — use wildcard to survive version changes */
[class*="_buttonGroup_"],
[class*="buttonGroup"] {
  background-color: #ffffff !important;
  border-top: 1px solid rgba(47,102,232,0.10) !important;
  box-shadow: 0 -2px 8px rgba(47,102,232,0.06) !important;
}

/* ---- Search bar / Text input group (Providers page) ---- */
.pf-v5-c-search-input,
.pf-v5-c-text-input-group,
.pf-v5-c-text-input-group__main,
.pf-v5-c-text-input-group__text,
.pf-c-search-input,
.pf-c-text-input-group {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

html .pf-v5-c-text-input-group,
html.pf-v5-theme-dark .pf-v5-c-text-input-group,
.pf-v5-theme-dark .pf-v5-c-text-input-group {
  background: #ffffff !important;
  border: 1px solid rgba(47,102,232,0.20) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

html .pf-v5-c-text-input-group__text-input,
html.pf-v5-theme-dark .pf-v5-c-text-input-group__text-input,
.pf-v5-theme-dark .pf-v5-c-text-input-group__text-input,
.pf-v5-c-text-input-group__text-input {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: none !important;
}

.pf-v5-c-text-input-group__text-input:focus {
  border-color: #2f66e8 !important;
  box-shadow: 0 0 0 2px rgba(47,102,232,0.18) !important;
}

.pf-v5-c-text-input-group__utilities button,
.pf-v5-c-search-input__utilities button {
  color: #555 !important;
  background: transparent !important;
}

.pf-v5-c-text-input-group__utilities button:hover,
.pf-v5-c-search-input__utilities button:hover {
  background: #e8f1fd !important;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .pf-v5-c-page__main-section, .pf-c-page__main-section { padding: 16px !important; }
}
