.lt-topbar {
  background: #fff;
  padding: 1.125rem 0.75rem;
  display: flex;
  justify-content: space-between;
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
}

.logo {
  display: flex;
  padding-right: 1rem;
  align-items: center;

  @media (min-width: 768px) {
    border-right: 1px solid var(--stonegrey-400);
  }
}

.lt-topbar__logo {
  display: block;
}

.help-centers-container {
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;

  @media (max-width: 768px) {
    display: none;
  }
}

.nav-button {
  padding: 0.375rem 1rem;
  color: var(--stonegrey-1200-p);
  border-radius: 0.25rem;
  height: 36px;
  font-size: var(--Small-Body-font-size);
  font-weight: var(--bold);
  line-height: var(--Small-Body-line-weight);
}

.nav-button:hover,
.nav-button:focus {
  color: var(--stonegrey-1200-p);
  background-color: var(--stonegrey-500-p);
}

.nav-button.active {
  background-color: var(--stonegrey-300);
}

.nav-button.active:hover {
  background-color: var(--stonegrey-500-p);
}

.lt-user-info {
  width: 38px;
  height: 38px;
  background-color: var(--stonegrey-100);
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 768px) {
    display: none !important;
  } 

  &.active {
    background-color: var(--stonegrey-1200-p);

    .lt-avatar {
      background-color: var(--stonegrey-1200-p);
    }
  }

  button[data-action="edit-profile"] {
    font-weight: var(--semibold);
    font-size: var(--Small-Body-font-size);
    line-height: var(--Small-Body-line-weight);
    padding: 0.5rem 1rem;
    height: 40px;
    width: 100%;
  
    &:first-child {
      border-bottom: 1px solid var(--stonegrey-400);
    }
  
    &:hover {
      background-color: var(--stonegrey-300);
    }
  }
}

.lt-user-info:not(.active):hover {
  background-color: var(--stonegrey-400);

  .lt-avatar {
    background-color: var(--stonegrey-400);
  }
}

.lt-topbar__link {
  font-weight: var(--bold);
  background-color: transparent;
  border: 0;
}

@media (max-width: 767px) {
  .lt-topbar__controls {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 10;
    width: 80%;
    max-width: 250px;
    padding: 0.5rem;
    background-color: #fff;
    transition: transform 600ms ease;
  }

  [dir='ltr'] .lt-topbar__controls {
    left: 0;
    transform: translateX(-100%);
  }

  [dir='rtl'] .lt-topbar__controls {
    right: 0;
    transform: translateX(100%);
  }

  .lt-topbar__controls > * + * {
    margin-top: 1rem;
  }

  .lt-topbar__controls.is-active {
    transform: translateX(0);
  }

  [dir='ltr'] .lt-topbar__controls.is-active {
    left: 0;
    box-shadow: 5px 0 40px rgb(0 0 0 / 45%);
  }

  [dir='rtl'] .lt-topbar__controls.is-active {
    right: 0;
    box-shadow: -5px 0 40px rgb(0 0 0 / 45%);
  }

  .lt-topbar-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  [dir='ltr'] .lt-topbar__controls > * + * {
    margin-left: 1.5rem;
  }

  [dir='rtl'] .lt-topbar__controls > * + * {
    margin-right: 1.5rem;
  }
}

.lt-user-avatar--topbar {
  width: 20px;
  height: 20px;
}

.mobile-user-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  @media (min-width: 768px) {
    display: none;
  } 
}

.mobile-user-menu {
  button[data-action="edit-profile"] {
    text-align: start;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  a, button[data-action="edit-profile"] {
  font-weight: var(--semibold);
  font-size: var(--Small-Body-font-size);
  line-height: var(--Small-Body-line-weight);
  padding: 1rem;
  color: var(--stonegrey-1200-p);

  &:hover {
    background-color: var(--stonegrey-400);
    border-radius: 0.25rem;
  }
}
}

.mobile-user-menu a.active {
 background-color: var(--stonegrey-500-p);
 border-radius: 0.25rem;
}