/************************************************************
 FIX: Change Location Name Text Color in OpenMRS 3.x
************************************************************/

/* 1. Carbon Header (Shadow DOM exposed parts) */
cds-header::part(header-item-text),
cds-header::part(nav-item-text),
cds-header::part(overflow-nav-item-text),
cds-header::part(user-menu-button) {
    color: #0d404f !important;
}

/* 2. O3 Navigation Location Switcher (CSS modules with hashed names) */
[class*="locationSwitcherButton__locationLabel"],
[class*="location-switcher-button__locationLabel"],
[class*="locationLabel"],
[class*="location-label"] {
    color: #0d404f !important;
}

/* 3. O3 Primary Navigation menu links */
[class*="primary-navigation__app-menu-panel__menuLink"] a,
[class*="primary-navigation__user-menu-panel__userPanelSwitcher"] button,
.cds--switcher__item-link,
.cds--switcher__item-link button {
    color: #0d404f !important;
}

/* 4. Header SVG icons */
header svg {
    fill: #0d404f !important;
}

.-esm-login__change-location-link__currentLocationText___EnXTh {
    color:  #0d404f;
    padding-inline-start: .5rem;
}
.-esm-login__login__continueButton___VnN\+0 {
    margin-top: 1.5rem;
    width: 18rem;
    color: #0d404f;
}

.-esm-login__location-picker__footerContainer___Q7r47 .-esm-login__location-picker__confirmButton___mHNSY {
    color: #0d404f;
    width: 100%;
}

.cds--switcher__item-link button.-esm-login__logout__logout___fmll0 {
    color: #0d404f !important;
}