@use '../variables' as *;

// ==================== Agent设置面板样式 ====================
.agent-settings-panel {
  // 表单分组
  &__group {
    margin-bottom: 0.28rem;

    &:last-child { margin-bottom: 0; }
  }

  // 分组标签
  &__label {
    font-size: 0.14rem;
    font-weight: 600;
    color: $text-dark;
    margin-bottom: 0.14rem;
  }

  // 提示图标
  &__tip {
    color: $text-light;
    cursor: pointer;
    margin-left: 0.04rem;
    font-size: 0.12rem;
  }

  // 选项按钮行
  &__options {
    display: flex;
    gap: 0.12rem;
  }

  // 单个选项按钮
  &__option {
    padding: 0.08rem 0.2rem;
    border: 1px solid $border-color;
    border-radius: 0.06rem;
    background: $bg-white;
    color: $text-dark;
    font-size: 0.13rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;

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

    // 大号选项（Agent模式、投递目标）
    &--lg {
      flex: 1;
      text-align: center;
      padding: 0.14rem 0.16rem;
      font-size: 0.14rem;
      font-weight: 500;
      border-radius: 0.08rem;
    }

    // 选中态
    &--active {
      background: $bg-main;
      border-color: $text-dark;
      font-weight: 600;
    }
  }

  // 子标签
  &__sub-label {
    font-size: 0.13rem;
    color: $text-middle;
    margin-bottom: 0.1rem;
  }

  // 简历选择行
  &__resume-select {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    background: $bg-main;
    border-radius: 0.08rem;
    padding: 0.06rem 0.12rem;
    margin-bottom: 0.16rem;
  }

  // 简历图标
  &__resume-icon {
    width: 0.18rem;
    height: 0.18rem;
    flex-shrink: 0;
    color: $text-middle;

    svg {
      width: 100%;
      height: 100%;
    }
  }

  // 下拉选择器样式覆盖
  &__select {
    flex: 1;

    :deep(.el-input__wrapper) {
      box-shadow: none;
      background: transparent;
      border: none;
      padding: 0;

      &:hover,
      &.is-focus {
        box-shadow: none;
      }
    }

    :deep(.el-input__inner) {
      font-size: 0.13rem;
      color: $text-dark;
    }

    :deep(.el-input__suffix) {
      color: $text-light;
    }
  }

  // 开关行
  &__switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.12rem;
  }

  // 开关文字
  &__switch-text {
    font-size: 0.13rem;
    color: $text-dark;
    line-height: 1.5;
  }

  // 开关副文字
  &__switch-sub {
    font-size: 0.12rem;
    color: $text-light;
  }
}
