@use '../variables' as *;

.job-page-header {


  &__title {
    font-size: 0.18rem;
    font-weight: 700;
    color: $text-dark;
    margin: 0 !important;
    padding: 0;
    line-height: 1.1;
  }

  &__subtitle {
    font-size: 0.13rem;
    color: $text-light;
  }

  &__tabs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.04rem;
    background: $bg-white;
    border-radius: 0.22rem;
    padding: 0.04rem;
  }

  &__goal-btn {
    font-size: 0.12rem;
    font-weight: 700;
    color: $text-dark;
    background: $bg-main;
    border-radius: 0.2rem;
    border: 0.01rem solid $border-color;
    cursor: pointer;
    padding: 0.04rem 0.16rem;
    white-space: nowrap;
    transition: color 0.2s;
    margin-left: auto;


    &:hover {
      color: $accent-hover;
    }
  }

  &__tab {
    font-size: 0.13rem;
    color: $text-middle;
    cursor: pointer;
    padding: 0.06rem 0.20rem;
    border-radius: 0.08rem;
    transition: all 0.25s ease;
    user-select: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.06rem;

    &:hover {
      color: $text-dark;
      background: $theme-color;
    }

    &--active {
      background: $accent;
      color: $bg-white;
      font-weight: 600;
      box-shadow: 0 0.02rem 0.08rem rgba(79, 194, 201, 0.3);

      &:hover {
        background: $accent-hover;
        color: $bg-white;
      }
    }
  }

  /* 计数圆形徽章 */
  &__tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0.20rem;
    height: 0.20rem;
    padding: 0 0.05rem;
    border-radius: 0.1rem;
    background: #F3F4F6;
    font-size: 0.11rem;
    font-weight: 500;
    color: $text-middle;
    line-height: 1;
  }
}
