/* ---------------------------------------------------------------------------
   wwwroot/css/shared/global/03-app-header.css

   Loaded by _Layout.cshtml as part 3 of 17 for every page.
   Cascade order is the file order in that <link> list:
     previous: 02-base.css
     next:     04-grids.css

   Split out of a single monolithic stylesheet. Do not reorder the <link>
   tags and do not move a rule between these files: both change the cascade.
--------------------------------------------------------------------------- */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.action-button {
  width: 120px;
}

.action-button::part(button) {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 29px;
  height: 48px;
  cursor: pointer;
}

.header-logo {
  height: 20px;
  width: auto;
  margin-bottom: 2px;
}

.header-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: #f4f4f4;
  white-space: nowrap;
}
.header-actions cds-button:not(:defined) {
  visibility: hidden;
}
.header-link {
  color: #f4f4f4;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 11px 16px;
  height: 48px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header-link:hover {
  background-color: #e0e0e0;
  color: #161616;
}

.header-button {
  background: transparent;
  border: 1px solid #8d8d8d;
  color: #161616;
  font-size: 0.875rem;
  padding: 7px 16px;
  height: auto;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 400;
}

.header-button:hover {
  background-color: #e0e0e0;
}

.header-button-primary {
  background-color: #0f62fe;
  border-color: #0f62fe;
  color: #ffffff;
}

.header-button-primary:hover {
  background-color: #0353e9;
}


cds-header:not(:defined),
cds-header-nav:not(:defined),
cds-header-menu-button:not(:defined) {
  visibility: hidden;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    padding-right: 29px;
    height: 48px;
}

.header-actions:has(cds-button:defined) {
    display: flex;
}

cds-header-nav {
  --cds-background: var(--c-brand);
}

cds-header-nav-item {
  --cds-background: var(--c-brand);
  
  --cds-text-secondary: #ffffff;
  --cds-link-primary: #ffffff;

  transition: all 0.15s ease-in-out;
}

cds-header-nav-item:hover {
  font-weight: 700 !important;
  color: #ffffff !important;
}

cds-header-nav-item::part(link):hover {
  font-weight: 700;
  color: #ffffff;
  background-color: transparent !important;
}

cds-header-nav-item,
cds-header-nav-item::part(link) {
  outline: none !important;
  box-shadow: none !important;
}

cds-header-nav-item::part(link):active,
cds-header-nav-item::part(link):focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background-color: transparent !important;
}


cds-header-nav-item:focus-visible::part(link) {
  outline: 2px solid #0f62fe !important;
  outline-offset: -2px !important;
}

cds-header-nav-item:focus:not(:focus-visible),
cds-header-nav-item:focus:not(:focus-visible)::part(link) {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}