#job-list {
  display: grid;
  gap: 10px;
}

.block-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  position: relative;
}

.search-job-item {
  color: #676767;
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  display: grid;
  grid-template-areas:
    'title title time'
    'det needs button'
    'tag company browsed'
  ;
  grid-template-columns: 4fr 3fr 150px;
  gap: 10px;
  align-items: center;
  cursor: pointer;

  &:hover {
    background-color: #fbfbfb;
  }

  a:hover {
    text-decoration: underline;
  }

  .job-name {
    grid-area: title;
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-color);
    display: flex;
    align-items: center;

    a {
      margin-right: 5px;
    }
  }

  .company-name {
    grid-area: company;
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    justify-content: start;
    align-items: center;
    font-size: 15px;
    color: #666;

    a:hover {
      color: var(--primary-color);
    }
  }

  .company-det {
    grid-area: det;
    font-size: 13px;
    display: flex;
    align-items: center;

    .job-salary {
      font-size: 16px;
      color: #fd5f39;
      margin-right: 10px;

      &::after {
        display: none;
      }
    }

    span:not(:last-child)::after {
      content: '|';
      margin: 0 7px 0 6px;
      font-size: 12px;
      color: #999;
    }
  }

  .welfare-tags {
    grid-area: tag;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .welfare-tag {
    padding: 0px 8px;
    height: 25px;
    line-height: 25px;
    background: #f0faff;
    color: #666;
    font-size: 12px;
    margin-right: 8px;
    display: inline-block;
    border-radius: 5px;
  }

  .btn-send {
    grid-area: button;
    justify-self: end;
    padding: 0 10px;
    height: 28px;
    border-radius: 14px;
  }

  .job-time {
    grid-area: time;
    font-size: 13px;
    color: #666;
    justify-self: end;
  }

  .job-needs {
    grid-area: needs;
    font-size: 13px;

    span:empty {
      display: none;
    }

    span:not(:last-child)::after {
      content: '|';
      margin: 0 7px 0 6px;
      font-size: 12px;
      color: #999;
    }
  }

  .browsed {
    grid-area: browsed;
    justify-self: end;
  }
}

.page-container {
  display: grid;
  gap: 12px;
  grid-template-columns: auto 245px;
  grid-template-areas: 'search search'
    'filter filter'
    'tab tab'
    'list right';
  align-items: start;
  margin-bottom: 20px;

  .search-box {
    margin: 25px auto 13px;
    width: 978px;
    background-color: white;
    border-width: 2px;
    border-radius: 25px;
    overflow: hidden;
    grid-area: search;
  }
}

.search-filter {
  grid-area: filter;
  display: grid;
  gap: 12px;
  white-space: nowrap;
}

.tab-block {
  grid-area: tab;
  display: flex;
  align-items: center;
  justify-content: space-between;

  a {
    font-weight: bold;
  }

  .tab-tip {
    color: var(--primary-color);
  }
}

.left-content {
  grid-area: list;
}

.right-content {
  grid-area: right;
  display: grid;
  gap: 12px;

  a {
    &:hover {
      text-decoration: underline;
    }
  }
}

.search-items {
  display: flex;
}

.search-item-title {
  font-weight: bold;
  flex: 0 0 80px;
}

.search-item-list {
  display: flex;
  flex-wrap: wrap;
}

.search-item {
  padding: 0 10px;
  font-size: 13px;
  border-radius: 3px;
  line-height: 26px;
  margin: 0 5px 5px 0;

  &:not(.active-current):hover {
    color: var(--primary-color);
  }
}

.active-current {
  background: var(--primary-color);
  color: white;
}

.search-selected {
  display: flex;
}

.selected-list {
  flex: 1 1 100%;
}

.selected-title {
  flex: 0 0 80px;
  color: #999;
}

.selected-item {
  padding-left: 10px;
  line-height: 22px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  font-size: 12px;
  color: var(--primary-color);
  margin-right: 5px;
  overflow: hidden;

  &::after {
    content: '✕';
    display: inline-block;
    margin-left: 5px;
    width: 24px;
    text-align: center;
  }

  &:hover {
    border-color: #e4393c;
    color: #e4393c;

    &::after {
      background: #e4393c;
      color: white;
    }
  }
}

.search-clear {
  color: #999;

  &:before {
    content: '🗑️';
    font-size: 12px;
  }

  &:hover {
    color: #e4393c;
  }
}

.pages {
  padding: 20px;
}

.company-list {
  display: grid;
  text-align: center;

  img {
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 5px;
    width: 80px;
    height: 80px;
  }
}

.block-title {
  font-size: 16px;
  margin-bottom: 20px;
}

.recommend-block {
  li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: grid;
    gap: 5px;
    transition: all 0.3s;

    &:hover {
      transform: scale(1.05);
    }

    &+.no-more {
      display: none;
    }

  }

  .no-more {
    color: #999;
  }

  .item-title {
    font-size: 15px;
    color: var(--primary-color);
  }

  .job-salary {
    color: #fd5f39;
  }

  .company-name {
    color: #666;
  }
}

.no-tip {
  height: 350px;
  display: grid;
  place-items: center;


  .notip-desc {
    font-size: 13px;
    color: #999;
  }
}