#mobileMenu {
  font-size: 1.5rem;

  a {
    text-decoration: none;
  }
}

[data-component="GlobalHeader"] {
  background-color: rgb(46, 51, 56);
  box-shadow:
    0 15px 25px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: unset !important;
  z-index: 1;

  @media (display-mode: window-controls-overlay) {
    align-items: center;
    app-region: drag;
    -webkit-app-region: drag;
    display: flex;
    flex-shrink: 0;
    min-height: env(titlebar-area-height, 40px);
    padding-left: env(titlebar-area-x, 0);
    padding-right: calc(100% - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100%));

    a,
    wa-button,
    wa-input {
      app-region: no-drag;
      -webkit-app-region: no-drag;
    }
  }

  a {
    text-decoration: none;
  }

  .searchContainer {
    align-items: center;
    display: flex;
    gap: 1rem;

    @media screen and (max-width: 768px) {
      &:not(.searchContainer-mobile) {
        display: none;
      }

      wa-input::part(input) {
        max-width: 150px;
      }
    }

    @media screen and (min-width: 769px) {
      &.searchContainer-mobile {
        display: none;
      }
    }

    .mobileMenuButton {
      :not(.searchContainer-mobile) > & {
        display: none;
      }
    }
  }

  @media screen and (max-width: 768px) {
    #site-name {
      display: none;
    }

    .loginLogoutContainer {
      display: none;
    }
  }
}
