@use '../variables' as *;

.job-page-header {
  margin-bottom: 0;

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

  &__subtitle {
    font-size: 0.13rem;
    color: $text-light;
    margin: 0.02rem 0 0 0 !important;
    padding: 0;
  }

  &__tabs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.04rem;
    margin: 0.1rem 0 0.16rem 0;
    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-light;
    cursor: pointer;
    padding: 0.06rem 0.16rem;
    border-radius: 0.18rem;
    transition: all 0.25s ease;
    user-select: none;
    font-weight: 500;

    &: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;
      }
    }
  }
}
