/**
 * Edge Benefits Admin Theme - Premium Modern Styling
 * Professional, polished design with Edge Benefits branding
 */

/* ============================================
   CSS VARIABLES OVERRIDES
   ============================================ */
:root {
  /* Edge Benefits Primary Colors */
  --pf-v5-global--primary-color--100: #012A60 !important;
  --pf-v5-global--primary-color--200: #001d4a !important;
  --pf-v5-global--link--Color: #012A60 !important;
  --pf-v5-global--link--Color--hover: #001d4a !important;
  --pf-v5-global--active-color--100: #012A60 !important;
  --pf-v5-global--active-color--200: #001d4a !important;
  
  /* Background colors - Clean whites and light grays */
  --pf-v5-global--BackgroundColor--100: #ffffff !important;
  --pf-v5-global--BackgroundColor--200: #f8f9fa !important;
  
  /* Text colors - High contrast */
  --pf-v5-global--Color--100: #1a1a1a !important;
  --pf-v5-global--Color--200: #4a4a4a !important;
  
  /* Border colors */
  --pf-v5-global--BorderColor--100: #d1d5db !important;
  --pf-v5-global--BorderColor--200: #9ca3af !important;
  
  /* Font family */
  --pf-v5-global--FontFamily--sans-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  
  /* Masthead specific */
  --pf-v5-c-masthead--BackgroundColor: #ffffff !important;
  --pf-v5-c-masthead--m-light--BackgroundColor: #ffffff !important;
  --pf-v5-c-masthead--m-dark--BackgroundColor: #ffffff !important;
}

/* ============================================
   HEADER OVERRIDES - Premium Header with Branding
   ============================================ */
.pf-v5-c-page__header,
.pf-v5-c-masthead,
.pf-v5-c-masthead__main {
  background: var(--bg-primary) !important;
  background-color: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-primary) !important;
  color: var(--text-primary) !important;
  min-height: 64px !important;
  animation: headerSlideDown 0.5s ease-out;
}

@keyframes headerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pf-v5-c-masthead__content,
.pf-v5-c-masthead__content > *,
.pf-v5-c-masthead__content::before,
.pf-v5-c-masthead__content::after,
.pf-v5-c-masthead__content.pf-m-light,
.pf-v5-c-masthead__content.pf-m-dark {
  background-color: var(--bg-primary) !important;
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.pf-v5-c-masthead__brand,
.pf-v5-c-masthead__brand-link,
.pf-v5-c-masthead__brand-text {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  display: flex !important;
  align-items: center !important;
}

/* Logo - Style the masthead brand link */
.pf-v5-c-masthead__brand {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 200px !important;
  min-height: 60px !important;
  padding: 0.5rem 1rem !important;
}

/* Style the logo image - JavaScript will fix the src and remove inline display:none */
.pf-v5-c-masthead__brand img {
  max-width: 180px !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.pf-v5-c-masthead__toggle,
.pf-v5-c-masthead__toggle-icon {
  color: #1a1a1a !important;
}

.pf-v5-c-masthead__toggle svg,
.pf-v5-c-masthead__toggle-icon svg,
.pf-v5-c-masthead__toggle svg path,
.pf-v5-c-masthead__toggle-icon svg path {
  fill: #012A60 !important;
  color: #012A60 !important;
  stroke: #012A60 !important;
}

.pf-v5-c-masthead__toggle:hover svg,
.pf-v5-c-masthead__toggle-icon:hover svg,
.pf-v5-c-masthead__toggle:hover svg path,
.pf-v5-c-masthead__toggle-icon:hover svg path {
  fill: #001d4a !important;
  color: #001d4a !important;
  stroke: #001d4a !important;
}

/* Dropdown in header - Edge Benefits Styling */
.pf-v5-c-dropdown__toggle {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 12px !important;
  font-weight: normal !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.pf-v5-c-dropdown__toggle:hover {
  background-color: #f8f9fa !important;
  border-color: #012A60 !important;
  color: #012A60 !important;
  box-shadow: 0 2px 4px rgba(1, 42, 96, 0.1) !important;
  transform: translateY(-1px) !important;
}

.pf-v5-c-dropdown__toggle:focus,
.pf-v5-c-dropdown__toggle:focus-visible {
  outline: none !important;
  border-color: #012A60 !important;
  box-shadow: 0 0 0 3px rgba(1, 42, 96, 0.1) !important;
}

/* Menu toggle components - Edge Benefits Styling (Tailwind square shape) */
.pf-v5-c-menu-toggle {
  background-color: #ffffff !important;
  color: #1a1a1a !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 0.375rem !important; /* 6px - Tailwind's rounded-md */
  font-weight: normal !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  /* Override CSS variables that create borders */
  --pf-v5-c-menu-toggle--before--BorderTopColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderRightColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderLeftColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderBottomColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderTopWidth: 0 !important;
  --pf-v5-c-menu-toggle--before--BorderRightWidth: 0 !important;
  --pf-v5-c-menu-toggle--before--BorderLeftWidth: 0 !important;
  --pf-v5-c-menu-toggle--before--BorderBottomWidth: 0 !important;
  --pf-v5-c-masthead--c-menu-toggle--before--BorderTopColor: transparent !important;
  --pf-v5-c-masthead--c-menu-toggle--before--BorderRightColor: transparent !important;
  --pf-v5-c-masthead--c-menu-toggle--before--BorderLeftColor: transparent !important;
  --pf-v5-c-masthead--c-menu-toggle--before--BorderBottomColor: transparent !important;
}

/* Remove the ::before pseudo-element border */
.pf-v5-c-menu-toggle::before {
  display: none !important;
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
}

/* Remove the ::after pseudo-element border */
.pf-v5-c-menu-toggle::after {
  border: none !important;
  border-block-end: none !important;
  border-bottom: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
  --pf-v5-c-menu-toggle--after--BorderBottomWidth: 0 !important;
  --pf-v5-c-menu-toggle--after--BorderBottomColor: transparent !important;
}

/* Ensure all child elements also have square shape */
.pf-v5-c-menu-toggle *,
.pf-v5-c-menu-toggle button,
.pf-v5-c-menu-toggle span {
  border-radius: 0.375rem !important; /* 6px - Tailwind's rounded-md */
}

/* Override for masthead menu toggle specifically */
.pf-v5-c-masthead .pf-v5-c-menu-toggle {
  --pf-v5-c-menu-toggle--before--BorderTopColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderRightColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderLeftColor: transparent !important;
  --pf-v5-c-menu-toggle--before--BorderBottomColor: transparent !important;
  --pf-v5-c-menu-toggle--m-full-height__toggle--after--BorderBottomWidth: 0 !important;
  --pf-v5-c-menu-toggle--after--BorderBottomWidth: 0 !important;
  --pf-v5-c-menu-toggle--after--BorderBottomColor: transparent !important;
}

.pf-v5-c-masthead .pf-v5-c-menu-toggle::before {
  display: none !important;
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
}

.pf-v5-c-masthead .pf-v5-c-menu-toggle::after {
  border: none !important;
  border-block-end: none !important;
  border-bottom: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
}

.pf-v5-c-menu-toggle:hover {
  background-color: #f8f9fa !important;
  border-color: #012A60 !important;
  color: #012A60 !important;
  box-shadow: 0 2px 4px rgba(1, 42, 96, 0.1) !important;
  transform: translateY(-1px) !important;
}

.pf-v5-c-menu-toggle:focus,
.pf-v5-c-menu-toggle:focus-visible {
  outline: none !important;
  border-color: #012A60 !important;
  box-shadow: 0 0 0 3px rgba(1, 42, 96, 0.1) !important;
}

/* Ensure menu toggle text is always visible */
.pf-v5-c-menu-toggle,
.pf-v5-c-menu-toggle *,
.pf-v5-c-menu-toggle span,
.pf-v5-c-menu-toggle button {
  color: #1a1a1a !important;
  background-color: transparent !important;
}

.pf-v5-c-menu-toggle:hover *,
.pf-v5-c-menu-toggle:hover span,
.pf-v5-c-menu-toggle:hover button {
  color: #012A60 !important;
}

/* Dropdown menu - Edge Benefits Styling */
.pf-v5-c-dropdown__menu {
  background-color: #ffffff !important;
  border: 2px solid #e5e7eb !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
  padding: 0.5rem 0 !important;
  margin-top: 0.5rem !important;
}

.pf-v5-c-dropdown__menu-item {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.2s ease !important;
  border-radius: 8px !important;
  margin: 2px 0.5rem !important;
}

.pf-v5-c-dropdown__menu-item:hover {
  background-color: #f8f9fa !important;
  color: #012A60 !important;
  transform: translateX(2px) !important;
}

.pf-v5-c-dropdown__menu-item:focus {
  background-color: #f8f9fa !important;
  color: #012A60 !important;
  outline: none !important;
}

.pf-v5-c-dropdown__menu-item.pf-m-selected {
  background-color: #012A60 !important;
  color: #ffffff !important;
}

.pf-v5-c-dropdown__menu-item.pf-m-selected:hover {
  background-color: #001d4a !important;
  color: #ffffff !important;
}

/* Links in header */
.pf-v5-c-masthead a,
.pf-v5-c-page__header a {
  color: #012A60 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.pf-v5-c-masthead a:hover,
.pf-v5-c-page__header a:hover {
  color: #001d4a !important;
  text-decoration: underline !important;
}

/* ============================================
   NAVIGATION OVERRIDES - Premium Sidebar
   ============================================ */
.pf-v5-c-page__sidebar,
.pf-v5-c-page__sidebar .pf-v5-c-nav,
.pf-v5-c-nav {
  background: linear-gradient(to right, #ffffff 0%, #fafbfc 100%) !important;
  background-color: #ffffff !important;
  border-right: 1px solid #e5e7eb !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06) !important;
  padding: 1rem 0 !important;
}

/* Remove padding from expanded sidebar */
.pf-v5-c-page__sidebar.pf-m-expanded.keycloak__page_nav__nav,
.pf-v5-c-page__sidebar.pf-m-expanded,
.keycloak__page_nav__nav {
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pf-v5-c-nav__list {
  background: transparent !important;
  box-shadow: none !important;
  border-right: none !important;
  padding: 0 !important;
}

.pf-v5-c-nav__link {
  color: #4a4a4a !important;
  background-color: transparent !important;
  font-weight: 500 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 6px !important;
  margin: 2px 8px !important;
  transition: all 0.2s ease !important;
}

.pf-v5-c-nav__link.pf-m-current,
.pf-v5-c-nav__link.pf-m-current::before,
.pf-v5-c-nav__link.pf-m-current * {
  color: #ffffff !important;
  background: linear-gradient(135deg, #012A60 0%, #001d4a 100%) !important;
  background-color: #012A60 !important;
  border-color: #012A60 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(1, 42, 96, 0.3), 0 2px 4px rgba(1, 42, 96, 0.2) !important;
  position: relative !important;
}

.pf-v5-c-nav__link.pf-m-current .pf-v5-c-nav__item-text,
.pf-v5-c-nav__link.pf-m-current .pf-v5-c-nav__item-icon,
.pf-v5-c-nav__link.pf-m-current span,
.pf-v5-c-nav__link.pf-m-current a {
  color: #ffffff !important;
}

.pf-v5-c-nav__link.pf-m-current::after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 3px !important;
  height: 60% !important;
  background: #ffffff !important;
  border-radius: 2px 0 0 2px !important;
}

.pf-v5-c-nav__link:hover:not(.pf-m-current),
.pf-v5-c-nav__link:hover:not(.pf-m-current) *,
.pf-v5-c-nav__link:hover:not(.pf-m-current) .pf-v5-c-nav__item-text,
.pf-v5-c-nav__link:hover:not(.pf-m-current) .pf-v5-c-nav__item-icon,
.pf-v5-c-nav__link:hover:not(.pf-m-current) span,
.pf-v5-c-nav__link:hover:not(.pf-m-current) a,
.pf-v5-c-nav__link:hover:not(.pf-m-current):where(a:hover),
.pf-v5-c-nav__link:hover:not(.pf-m-current) :where(a:hover) {
  color: #ffffff !important;
  background-color: #012A60 !important;
}

/* Ensure hover state has blue background with white text */
.pf-v5-c-nav__link:hover:not(.pf-m-current) {
  background-color: #012A60 !important;
  background: #012A60 !important;
}

.pf-v5-c-nav__link:hover:not(.pf-m-current) *,
.pf-v5-c-nav__link:hover:not(.pf-m-current) a,
.pf-v5-c-nav__link:hover:not(.pf-m-current) span,
.pf-v5-c-nav__link:hover:not(.pf-m-current) .pf-v5-c-nav__item-text,
.pf-v5-c-nav__link:hover:not(.pf-m-current) .pf-v5-c-nav__item-icon {
  color: #ffffff !important;
  background-color: transparent !important;
  background: transparent !important;
}

/* Override :where() selectors that might be affecting navigation - More aggressive */
:where(.pf-v5-c-nav__link:hover:not(.pf-m-current) a:hover),
:where(.pf-v5-c-nav__link:not(.pf-m-current) a:hover),
.pf-v5-c-nav__link:not(.pf-m-current):where(a:hover),
.pf-v5-c-nav__link:not(.pf-m-current) :where(a:hover),
.pf-v5-c-nav__link:not(.pf-m-current) a:where(:hover) {
  color: #ffffff !important;
}

/* General override for any :where() selectors in navigation */
.pf-v5-c-nav__link:not(.pf-m-current):where(:hover),
.pf-v5-c-nav__link:not(.pf-m-current):where(:hover) * {
  color: #ffffff !important;
}

/* Most aggressive override - target all links in nav on hover */
.pf-v5-c-nav a:where(:hover),
.pf-v5-c-nav__link a:where(:hover),
.pf-v5-c-nav__item-text:where(:hover),
.pf-v5-c-nav__link:where(:hover) a {
  color: #ffffff !important;
}

.pf-v5-c-nav__section,
.pf-v5-c-nav__section-title {
  color: #6b7280 !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.25rem 1rem 0.25rem 1rem !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Navigation sub-items */
.pf-v5-c-nav__subnav {
  background-color: #ffffff !important;
  padding-left: 0.5rem !important;
}

.pf-v5-c-nav__subnav .pf-v5-c-nav__link {
  color: #6b7280 !important;
  font-size: 0.875rem !important;
}

.pf-v5-c-nav__subnav .pf-v5-c-nav__link:hover {
  color: #012A60 !important;
  background-color: #f8f9fa !important;
}

/* ============================================
   PRIMARY BUTTON OVERRIDES - Premium Buttons
   ============================================ */
.pf-v5-c-button.pf-m-primary,
button.pf-v5-c-button.pf-m-primary,
a.pf-v5-c-button.pf-m-primary {
  background: linear-gradient(135deg, #012A60 0%, #001d4a 100%) !important;
  background-color: #012A60 !important;
  border-color: #012A60 !important;
  color: #ffffff !important;
  font-weight: normal !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(1, 42, 96, 0.25), 0 2px 4px rgba(1, 42, 96, 0.15) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

.pf-v5-c-button.pf-m-primary:hover,
button.pf-v5-c-button.pf-m-primary:hover,
a.pf-v5-c-button.pf-m-primary:hover {
  background: linear-gradient(135deg, #001d4a 0%, #001235 100%) !important;
  background-color: #001d4a !important;
  border-color: #001d4a !important;
  box-shadow: 0 6px 20px rgba(1, 42, 96, 0.35), 0 4px 8px rgba(1, 42, 96, 0.2) !important;
  transform: translateY(-2px) !important;
}

.pf-v5-c-button.pf-m-primary:active,
button.pf-v5-c-button.pf-m-primary:active,
a.pf-v5-c-button.pf-m-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 2px rgba(1, 42, 96, 0.2) !important;
}

.pf-v5-c-button.pf-m-primary:focus,
button.pf-v5-c-button.pf-m-primary:focus,
a.pf-v5-c-button.pf-m-primary:focus {
  background-color: #012A60 !important;
  border-color: #012A60 !important;
  box-shadow: 0 0 0 3px rgba(1, 42, 96, 0.2) !important;
}

/* Secondary buttons */
.pf-v5-c-button.pf-m-secondary {
  background-color: #ffffff !important;
  border-color: #d1d5db !important;
  color: #1a1a1a !important;
  font-weight: normal !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
}

.pf-v5-c-button.pf-m-secondary:hover {
  background-color: #f8f9fa !important;
  border-color: #012A60 !important;
  color: #012A60 !important;
}

/* ============================================
   LINK OVERRIDES
   ============================================ */
.pf-v5-c-button.pf-m-link,
a.pf-v5-c-button.pf-m-link,
a:not(.pf-v5-c-button) {
  color: #000000 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.pf-v5-c-button.pf-m-link:hover,
a.pf-v5-c-button.pf-m-link:hover,
a:not(.pf-v5-c-button):hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

/* Override general link hover for navigation links - must be more specific */
.pf-v5-c-nav__link:not(.pf-m-current):hover,
.pf-v5-c-nav__link:not(.pf-m-current):hover a,
a.pf-v5-c-nav__link:not(.pf-m-current):hover,
.pf-v5-c-nav a:not(.pf-v5-c-button):hover,
.pf-v5-c-nav__link:not(.pf-m-current) a:not(.pf-v5-c-button):hover {
  color: #ffffff !important;
  background-color: #012A60 !important;
  text-decoration: none !important;
}

/* ============================================
   FORM INPUT OVERRIDES - Premium Inputs
   ============================================ */
.pf-v5-c-form-control {
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.pf-v5-c-form-control:hover {
  border-color: #d1d5db !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.pf-v5-c-form-control:focus,
.pf-v5-c-form-control:focus-within {
  border-color: #012A60 !important;
  box-shadow: 0 0 0 4px rgba(1, 42, 96, 0.12), 0 2px 8px rgba(1, 42, 96, 0.15) !important;
  outline: none !important;
  transform: translateY(-1px) !important;
}

.pf-v5-c-form-control:focus-visible {
  outline: 2px solid #012A60 !important;
  outline-offset: 2px !important;
}

.pf-v5-c-form__label {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
}

/* ============================================
   CHECKBOX AND RADIO OVERRIDES
   ============================================ */
.pf-v5-c-check__input:checked ~ .pf-v5-c-check__label::before,
.pf-v5-c-radio__input:checked ~ .pf-v5-c-radio__label::before {
  background-color: #012A60 !important;
  border-color: #012A60 !important;
}

.pf-v5-c-check__input:focus ~ .pf-v5-c-check__label::before,
.pf-v5-c-radio__input:focus ~ .pf-v5-c-radio__label::before {
  border-color: #012A60 !important;
  box-shadow: 0 0 0 3px rgba(1, 42, 96, 0.1) !important;
}

/* ============================================
   ALERT OVERRIDES - Premium Alerts
   ============================================ */
.pf-v5-c-alert {
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem !important;
  border-width: 1px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-left: 4px solid !important;
}

.pf-v5-c-alert.pf-m-success {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

.pf-v5-c-alert.pf-m-danger,
.pf-v5-c-alert.pf-m-warning {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}

.pf-v5-c-alert.pf-m-info {
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1e40af !important;
}

/* ============================================
   CARD OVERRIDES - Premium Cards
   ============================================ */
.pf-v5-c-card {
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%) !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  padding: 2rem !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
}

.pf-v5-c-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #012A60 0%, #001d4a 100%) !important;
}

.pf-v5-c-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px) !important;
}

.pf-v5-c-card__header {
  border-bottom: 2px solid #f3f4f6 !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
}

.pf-v5-c-card__header::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 60px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #012A60 0%, transparent 100%) !important;
}

.pf-v5-c-card__title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.5rem !important;
}

.pf-v5-c-card__body {
  color: #4a4a4a !important;
  line-height: 1.7 !important;
}

/* ============================================
   TABLE OVERRIDES
   ============================================ */
.pf-v5-c-table {
  border-radius: 6px !important;
  overflow: hidden !important;
}

.pf-v5-c-table thead th {
  background-color: #f8f9fa !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.75rem 1rem !important;
}

.pf-v5-c-table tbody tr {
  border-bottom: 1px solid #e5e7eb !important;
}

.pf-v5-c-table tbody tr:hover {
  background-color: #f8f9fa !important;
}

.pf-v5-c-table tbody td {
  padding: 0.75rem 1rem !important;
  color: #4a4a4a !important;
}

/* ============================================
   BADGE OVERRIDES
   ============================================ */
.pf-v5-c-badge.pf-m-read {
  background-color: #012A60 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 4px !important;
}

/* ============================================
   DROPDOWN OVERRIDES - Edge Benefits Styling
   ============================================ */
.pf-v5-c-menu__item {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.2s ease !important;
  border-radius: 8px !important;
  margin: 2px 0.5rem !important;
}

.pf-v5-c-menu__item:hover {
  background-color: #f8f9fa !important;
  color: #012A60 !important;
  transform: translateX(2px) !important;
}

.pf-v5-c-menu__item:focus {
  background-color: #f8f9fa !important;
  color: #012A60 !important;
  outline: none !important;
}

.pf-v5-c-menu__item.pf-m-selected {
  background-color: #012A60 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.pf-v5-c-menu__item.pf-m-selected:hover {
  background-color: #001d4a !important;
  color: #ffffff !important;
}

/* ============================================
   TABS OVERRIDES
   ============================================ */
.pf-v5-c-tabs__button.pf-m-current,
.pf-v5-c-tabs__button.pf-m-current::after {
  color: #012A60 !important;
  border-color: #012A60 !important;
  font-weight: 600 !important;
}

.pf-v5-c-tabs__button:hover {
  color: #012A60 !important;
}

/* ============================================
   GENERAL BODY STYLING - Premium Layout
   ============================================ */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  color: #1a1a1a !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%) !important;
  background-color: #f8f9fa !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.pf-v5-c-page__main {
  background: transparent !important;
  padding: 0.5rem !important;
}

.pf-v5-c-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%) !important;
  background-color: #f8f9fa !important;
}

.pf-v5-c-page__main-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.pf-v5-c-page__main-body {
  width: 100% !important;
  max-width: none !important;
}

.pf-v5-l-flex {
  width: 100% !important;
}

.pf-v5-l-split {
  width: 100% !important;
}

/* ============================================
   TYPOGRAPHY OVERRIDES - Premium Typography
   ============================================ */
.pf-v5-c-title,
h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

.pf-v5-c-title.pf-m-2xl {
  font-size: 2rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.75rem !important;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.pf-v5-c-title.pf-m-lg {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

.pf-v5-c-content {
  color: #4a4a4a !important;
  line-height: 1.7 !important;
}

/* Section descriptions */
.pf-v5-c-content p,
.pf-v5-c-description-list__text {
  color: #6b7280 !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
}

/* ============================================
   LOGO OVERRIDES
   ============================================ */
img[alt*="logo"],
img[alt*="Logo"],
.pf-v5-c-brand {
  max-width: 180px !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
}

/* ============================================
   AGGRESSIVE OVERRIDES FOR NAVIGATION HOVER
   ============================================ */
/* Override any :where() selectors affecting navigation hover text color */
.pf-v5-c-nav__link:not(.pf-m-current):hover,
.pf-v5-c-nav__link:not(.pf-m-current):hover *,
.pf-v5-c-nav__link:not(.pf-m-current):hover a,
.pf-v5-c-nav__link:not(.pf-m-current):hover span,
.pf-v5-c-nav__link:not(.pf-m-current):hover .pf-v5-c-nav__item-text,
.pf-v5-c-nav__link:not(.pf-m-current):hover .pf-v5-c-nav__item-icon {
  color: #ffffff !important;
}

/* Override :where() with maximum specificity */
.pf-v5-c-nav__link:not(.pf-m-current):hover:where(a),
.pf-v5-c-nav__link:not(.pf-m-current):hover :where(a),
.pf-v5-c-nav__link:not(.pf-m-current):hover :where(a:hover),
.pf-v5-c-nav__link:not(.pf-m-current) :where(a:hover) {
  color: #ffffff !important;
}

/* Nuclear option - override all possible combinations */
.pf-v5-c-nav a:hover:not(.pf-m-current),
.pf-v5-c-nav__link:hover:not(.pf-m-current) a,
.pf-v5-c-nav__link:hover:not(.pf-m-current) a:hover {
  color: #ffffff !important;
}

/* Maximum specificity override for :where(a:hover) - must be last */
.pf-v5-c-nav__link:not(.pf-m-current):hover a:where(:hover),
.pf-v5-c-nav__link:not(.pf-m-current) a:where(:hover),
.pf-v5-c-nav__link:not(.pf-m-current):hover :where(a:hover),
.pf-v5-c-page__sidebar .pf-v5-c-nav__link:not(.pf-m-current):hover a:where(:hover),
.pf-v5-c-page__sidebar .pf-v5-c-nav__link:not(.pf-m-current) a:where(:hover) {
  color: #ffffff !important;
}

/* Override any link color in navigation on hover */
.pf-v5-c-nav__link:not(.pf-m-current) a,
.pf-v5-c-nav__link:not(.pf-m-current) a:hover,
.pf-v5-c-nav__link:not(.pf-m-current):hover a,
.pf-v5-c-nav__link:not(.pf-m-current):hover a:hover {
  color: #ffffff !important;
}

/* ============================================
   FIX: Prevent blue background with blue text on hover
   ============================================ */
/* Force blue background with white text on hover */
.pf-v5-c-nav__link:not(.pf-m-current):hover {
  background-color: #012A60 !important;
  background: #012A60 !important;
  background-image: none !important;
}

/* Force white text on hover */
.pf-v5-c-nav__link:not(.pf-m-current):hover *,
.pf-v5-c-nav__link:not(.pf-m-current):hover a,
.pf-v5-c-nav__link:not(.pf-m-current):hover span,
.pf-v5-c-nav__link:not(.pf-m-current):hover div,
.pf-v5-c-nav__link:not(.pf-m-current):hover .pf-v5-c-nav__item-text,
.pf-v5-c-nav__link:not(.pf-m-current):hover .pf-v5-c-nav__item-icon {
  color: #ffffff !important;
  background-color: transparent !important;
  background: transparent !important;
  background-image: none !important;
}

/* Override any background that might be applied - ensure blue background */
.pf-v5-c-nav__link:not(.pf-m-current):hover[style*="background"],
.pf-v5-c-nav__link:not(.pf-m-current):hover[style*="background-color"] {
  background-color: #012A60 !important;
  background: #012A60 !important;
}

/* Additional fix: Override any inline styles or computed styles that set background */
.pf-v5-c-nav__link:not(.pf-m-current):hover,
.pf-v5-c-nav__link:not(.pf-m-current):hover::before,
.pf-v5-c-nav__link:not(.pf-m-current):hover::after {
  background-color: #012A60 !important;
  background: #012A60 !important;
}

/* Ensure the link element itself has blue background with white text */
a.pf-v5-c-nav__link:not(.pf-m-current):hover {
  background-color: #012A60 !important;
  background: #012A60 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Override the general link hover rule for navigation - highest specificity */
.pf-v5-c-nav a:not(.pf-v5-c-button):hover,
.pf-v5-c-nav__link:not(.pf-m-current) a:not(.pf-v5-c-button):hover,
.pf-v5-c-nav__link:not(.pf-m-current):hover:not(.pf-v5-c-button),
a.pf-v5-c-nav__link:not(.pf-m-current):hover:not(.pf-v5-c-button) {
  color: #ffffff !important;
  background-color: #012A60 !important;
  text-decoration: none !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .pf-v5-c-page__sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    z-index: 1000 !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: var(--bg-primary) !important;
    box-shadow: var(--shadow-secondary) !important;
    transform: translateX(-100%) !important;
    border-right: 1px solid var(--border-color) !important;
  }

  .pf-v5-c-page__sidebar.mobile-open {
    left: 0 !important;
    transform: translateX(0) !important;
  }

  .pf-v5-c-page__main {
    margin-left: 0 !important;
    transition: margin-left 0.3s ease !important;
    background-color: var(--bg-secondary) !important;
  }

  .pf-v5-c-page__main-section {
    padding: 1rem !important;
  }
}

