@import '@/styles/variables.less';

.page-search-job {
  height: 100vh;
  padding: 0 24px;

  .page-search-job__type-tabs {
    padding: 0 20px;
    margin-top: 20px;

    .taroify-tabs__wrap {
      height: 40px;
    }

    .taroify-tabs__wrap__scroll {
      max-width: 100%;
    }

    .taroify-tabs__tab {
      display: flex;
      flex-direction: column;
      flex: 0 0 auto !important;
      font-size: 28px;
      --tab-color: @blColorG1;
      --tabs-active-color: @blColor;

      &:first-child {
        padding-left: 0;
      }
    }

    .taroify-tabs__line {
      height: 0;
      background-color: transparent;
      border-radius: 0;
    }

    .taroify-tabs__content {
      padding: 20px 0;
    }
  }

  &__search-button {
    padding: 0;
    margin: 0;
    border: 0;
    color: @blColor;
    border: none;

    &::after {
      border: none;
    }

    &:active {
      color: @blColorG1;
    }
  }

  &__search-filter {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  &__search-filter-menu {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    height: 64px;
    padding: 0 24px;
    margin-top: 24px;
    border-radius: 32px;

    &:first-child {
      margin-right: 24px;
    }

    &.show {
      color: @blHighlightColor;
      background: @blHighlightBg;
    }

    .title {
      font-size: 28px;
      line-height: 40px;
      font-weight: 400;
      color: @blColor;
    }
  }

  &__overlay-outer {
    top: 180px;
  }

  &__overlay-inner {
    width: 100%;
  }

  &__search-history {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    padding: 0 24px;
  }

  &__search-history-title {
    font-size: 28px;
    line-height: 40px;
    font-weight: 400;
    color: @blColor;
    margin-top: 32px;
  }

  &__search-history-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    // 24 - 16
    margin-top: 8px;
  }

  &__search-history-item {
    height: 56px;
    font-size: 24px;
    line-height: 56px;
    color: @blColorG2;
    border-radius: 36px;
    padding: 0 24px;
    margin-right: 12px;
    margin-top: 16px;
    border: 2px solid @blBorderColor;
  }
}