/* Theme overrides — Innomed Europe brand palette
   primary deep blue #0a4595 | primary-dark #073571 | accent green #1a7a4c
*/
:root,
[data-bs-theme="light"] {
  --bs-primary: #0a4595;
  --bs-primary-rgb: 10, 69, 149;
  --bs-primary-text-emphasis: #073571;
  --bs-primary-bg-subtle: #e7f0fb;
  --bs-primary-border-subtle: #b9d0ee;
  --bs-link-color: #0a4595;
  --bs-link-color-rgb: 10, 69, 149;
  --bs-link-hover-color: #073571;
}

.btn-primary {
  --bs-btn-bg: #0a4595;
  --bs-btn-border-color: #0a4595;
  --bs-btn-hover-bg: #073571;
  --bs-btn-hover-border-color: #073571;
  --bs-btn-active-bg: #073571;
  --bs-btn-active-border-color: #063063;
}

/* .text-primary / .bg-primary intentionally not overridden: the :root
   --bs-primary override already drives Bootstrap's utilities, and hardcoded
   hex !important rules would break a future dark theme. */

/* Innomed accent green for success/secondary accents */
.text-innomed-green { color: #1a7a4c !important; }
.bg-innomed-green { background-color: #1a7a4c !important; }
.badge.bg-label-innomed { background-color: #e3f2ea; color: #1a7a4c; }

/* Example: avatar initials sizing */
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 600;
}


/* Optional: global loading state (used by async hooks) */
.is-loading body { cursor: progress; }

/* Dark-blue vertical menu (Innomed brand) so the white-text logo is readable */
#layout-menu.bg-menu-theme {
  background-color: #0a4595 !important;
}
#layout-menu.bg-menu-theme .menu-link,
#layout-menu.bg-menu-theme .menu-item .text-truncate,
#layout-menu.bg-menu-theme .menu-icon,
#layout-menu.bg-menu-theme .menu-header {
  color: #e7f0fb !important;
}
#layout-menu.bg-menu-theme .menu-item.active > .menu-link {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}
#layout-menu.bg-menu-theme .menu-link:hover {
  background-color: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
}
#layout-menu.bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(#0a4595 41%, rgba(10, 69, 149, 0.11) 95%, rgba(10, 69, 149, 0)) !important;
}

/* Keyboard-navigation highlight for offer-preparation search dropdowns */
[data-offer-search-panel] .active,
[data-offer-search-panel] [aria-selected="true"] {
  background-color: var(--bs-primary-bg-subtle, #e7f0fb);
}
