/*
 * Current PrepCompass marketing header treatment for the shared auth pages.
 * Kept page-scoped so the login and signup header does not restyle other UI.
 */
body.prepcompass-app .auth-site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  color: #14242f;
  background: #fff;
  border-bottom: 1px solid #d9e2e9;
}

body.prepcompass-app .auth-site-header__inner {
  box-sizing: border-box;
  width: min(100%, 1280px);
  min-height: 76px;
  margin-inline: auto;
  padding: 10px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.prepcompass-app .auth-site-header__brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  text-decoration: none;
}

body.prepcompass-app .auth-site-header__brand .auth-site-header__logo {
  display: block;
  width: 260px !important;
  height: auto !important;
  max-width: min(100%, 260px) !important;
  max-height: none !important;
  object-fit: contain;
  filter: none !important;
}

body.prepcompass-app .auth-site-header__home,
body.prepcompass-app .auth-site-header__mobile-nav a {
  color: #14242f !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-decoration-color: transparent;
  transition: color 160ms ease, opacity 160ms ease;
}

body.prepcompass-app .auth-site-header__home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  margin-left: auto;
}

body.prepcompass-app .auth-site-header__home:hover,
body.prepcompass-app .auth-site-header__mobile-nav a:hover {
  color: #40545f !important;
  opacity: 0.82;
  text-decoration-color: transparent !important;
}

body.prepcompass-app .auth-site-header__toggle {
  display: none !important;
}

body.prepcompass-app .auth-site-header__mobile-nav,
body.prepcompass-app .auth-site-header__mobile-nav[hidden] {
  display: none !important;
}

body.prepcompass-app .auth-site-header :is(a, button):focus-visible {
  outline: 2px solid #168f86 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff !important;
}

@media screen and (max-width: 767px) {
  body.prepcompass-app .auth-site-header__inner {
    min-height: 68px;
    padding: 8px 20px;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 0;
  }

  body.prepcompass-app .auth-site-header__brand .auth-site-header__logo {
    width: 210px !important;
    max-width: calc(100vw - 100px) !important;
  }

  body.prepcompass-app .auth-site-header__home {
    display: none !important;
  }

  body.prepcompass-app .auth-site-header__toggle {
    display: inline-flex !important;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 0;
    color: #14242f !important;
    background: #fff !important;
    border: 1px solid #c6d2da;
    border-radius: 4px;
    cursor: pointer;
  }

  body.prepcompass-app .auth-site-header__toggle svg {
    width: 21px;
    height: 21px;
  }

  body.prepcompass-app .auth-site-header__mobile-nav:not([hidden]) {
    display: flex !important;
    flex: 0 0 100%;
    flex-direction: column;
    margin-top: 4px;
    padding: 4px 0 6px;
    border-top: 1px solid #d9e2e9;
  }

  body.prepcompass-app .auth-site-header__mobile-nav a {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 4px;
  }
}
