@use "@tencentcloud/uikit-base-component-react/dist/styles/theme/util" as *;

.SearchTab {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 20px;
  padding: 0 20px;
  @include theme() {
    border-bottom: 1px solid get(shadow-color);
    background: get(bg-color-operate);
  }
}

.SearchTab__item {
  padding: 20px 0;
  border: none;
  background: none;
  font-size: 14px;
  @include theme() {
    color: get(text-color-secondary);
  }
  cursor: pointer;
  position: relative;
  transition: color 0.2s;

  &:hover {
    @include theme() {
      color: get(text-color-link);
    }
  }
}

.SearchTab__item--active {
  @include theme() {
    color: get(text-color-link);
    border-bottom: 2px solid get(text-color-link);
  }
  font-weight: 500;
}
