.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 0.75rem;
  height: 52px;
  min-height: 52px;
  justify-content: space-between;

  & .breadcrumbs {
    flex: 1;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;

    & .breadcrumb-item {
      display: inline-block;

      & a {
        opacity: 0.75;
        text-decoration: none;
      }

      & a:hover {
        opacity: 1;
      }
    }

    .breadcrumb-separator {
      opacity: 0.25;
    }

    .breadcrumb-dropdown {
      align-items: flex-start;

      & .fa-chevron-down {
        margin-left: 0.5rem;
        opacity: 0.25;
      }
    }
  }

  & .tabs {
    display: flex;
    justify-content: end;

    & nav {
      border: 1px solid var(--medium-gray);
      border-radius: 0.25rem;
      display: flex;

      & * + * {
        border-left: 1px solid var(--medium-gray);
      }

      & a {
        padding: 0.5rem 1rem;
        text-decoration: none;
        color: black;
        display: inline-flex;
        align-items: center;

        &.active {
          background-color: var(--medium-gray);
        }
      }

      & a:hover {
        background-color: var(--light-gray);
      }

      & a:visited {
        color: black;
      }
    }
  }
}

.dark-mode .header-nav .tabs {
  & nav {
    border-color: var(--gray-600);

    & * + * {
      border-color: var(--gray-600);
    }

    & a,
    & a:visited {
      color: white;
    }

    & a.active,
    & a:hover {
      background-color: var(--gray-600);
    }
  }
}
