// Jobs 页面样式
// 颜色变量已移至全局 variables.scss
@use '../variables' as *;

.jobs-page {
  display: flex;
  min-width: 12.8rem;

  &__content {
    flex: 1;
    padding-bottom: 0.18rem;
    height: var(--app-height, 100vh);
    box-sizing: border-box;
    overflow: hidden;
    background: $bg-main;
    font-size: 0.14rem;
    display: flex;
    flex-direction: column;
  }

  // 页面标题
  &__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;
  }

  // Tab 切换
  &__tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.04rem;
    margin: 0.06rem 0 0.16rem 0;
    background: $bg-white;
    border-radius: 0.22rem;
    padding: 0.04rem;
  }

  &__tab {
    font-size: 0.13rem;
    color: $text-light;
    cursor: pointer;
    padding: 0.06rem 0.22rem;
    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;
      }
    }
  }

  // 筛选条件外层白色背景条
  &__filters-bar {
    border-radius: 0.12rem;
    margin: 0 0.24rem 0.12rem 0.24rem;
  }

  // 筛选面板 + 统计卡片横向排列容器
  &__filters-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.12rem;
  }

  // AI 推荐提示条外层
  &__ai-tip-wrapper {
    position: relative;
    margin: -0.38rem 0.24rem 0.12rem 0.24rem;
  }

  // 尖角容器（用双伪元素实现：::before 画品牌色外三角，::after 画白色内三角遮住底边）
  &__ai-tip-arrow {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    z-index: 2;

    // 外层三角（品牌色边框）
    &::before {
      content: '';
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 0.07rem solid transparent;
      border-right: 0.07rem solid transparent;
      border-bottom: 0.12rem solid $accent;
    }

    // 内层白色三角（覆盖外层内部，只露出约0.5px边框）
    &::after {
      content: '';
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(1px);
      width: 0;
      height: 0;
      border-left: 0.065rem solid transparent;
      border-right: 0.065rem solid transparent;
      border-bottom: 0.112rem solid $bg-white;
    }
  }

  // 提示条主体
  &__ai-tip {
    position: relative;
    background: $bg-white;
    border-radius: 0.08rem;
    padding: 0.08rem 0.12rem 0.07rem 0.12rem;
    z-index: 1;

    // 渐变边框：从上到下 #9FD051 → #52CAD1（与导师页 stats 一致）
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 0.08rem;
      padding: 0.01rem;
      background: linear-gradient(180deg, #9FD051 0%, #52CAD1 100%);
      -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
  }

  // 提示条内容行
  &__ai-tip-content {

  }

  // Nova logo
  &__ai-tip-logo {
    width: 0.16rem;
    height: 0.16rem;
    flex: none;
  }

  // 提示文字
  &__ai-tip-text {
    font-size: 0.12rem;
    line-height: 0.16rem;
    color: $text-light;
    vertical-align: text-top;
    margin-left: 0.03rem;
  }

  // AI 推荐的可点击岗位/行业关键词
  &__ai-tip-keyword {
    color: $accent;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s;

    &:hover {
      opacity: 0.75;
    }
  }

  // 关键词之间的顿号（无下划线，text-light 色）
  &__ai-tip-comma {
    color: $text-light;
    text-decoration: none;
  }

  // "；行业：" 分隔符保持 text-light 色
  &__ai-tip-separator {
    color: $text-light;
  }

  // 筛选面板
  &__filters-panel {
    flex: 1;
    min-width: 0;
    background: $bg-white;
    border: 1px solid #F0F0F0;
    box-shadow: 0px 2px 6px rgba(15, 23, 42, 0.025);
    border-radius: 0.12rem;
    padding: 0.12rem 0.16rem;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
  }

  // 筛选行
  &__filter-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.08rem 0.16rem;
    background: $bg-white;
  }

  &__filter-row-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.16rem;
    flex: 1;
    min-width: 0;
  }

  // 筛选行标题（行业/岗位/地点/筛选）
  &__filter-row-label {
    font-size: 0.12rem;
    line-height: 0.16rem;
    font-weight: 380;
    color: $text-middle;
    flex-shrink: 0;
    white-space: nowrap;
  }

  // 筛选chip组容器外层（让"更多"固定在行最右边）
  &__filter-chips-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.08rem;
    flex: 1;
    min-width: 0;

    // "更多"选择器组件固定在右边
    > .industry-selector,
    > .job-category-selector,
    > .region-selector {
      flex-shrink: 0;
      margin-left: auto;
      align-self: flex-end;
    }
  }

  // 筛选chip组容器（允许换行）
  &__filter-chips {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 0.08rem;
    flex: 1;
    min-width: 0;
  }

  // 筛选chip（默认灰色背景）
  &__filter-chip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.04rem 0.08rem;
    background: #F3F4F6;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    line-height: 0.16rem;
    font-weight: 330;
    color: $text-dark;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: all 0.15s;
    border: 1px solid transparent;

    &:hover {
      background: #E8F8F9;
      color: $accent;
    }

    // 选中态（带边框浅色背景）
    &--active {
      background: #F4FBFB;
      border-color: $accent;
      color: $accent;
      font-weight: 600;
    }

    // 选中态（实心品牌色背景，用于"全部/全国"按钮选中时）
    &--active-solid {
      background: $accent;
      color: #FFFFFF;
      font-weight: 600;
      border-color: $accent;
    }
  }

  // 底部筛选行（下拉按钮组）
  &__filter-row--bottom {
    // 不换行
  }

  // 下拉按钮组容器
  &__filter-dropdowns {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    flex-wrap: wrap;
  }

  // 下拉按钮项
  &__dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.02rem;
    padding: 0.04rem 0.08rem;
    border: 1px solid #F0F0F0;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    line-height: 0.16rem;
    font-weight: 330;
    color: $text-dark;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    user-select: none;
    transition: all 0.15s;

    &:hover {
      border-color: $accent;
      color: $accent;
    }
    .el-range-separator{
      padding-bottom:0.03rem !important;
    }
  }

  &__dropdown-arrow {
    width: 0.12rem;
    height: 0.12rem;
    color: $text-middle;
    flex-shrink: 0;
  }

  // 清空筛选条件按钮
  &__clear-filters {
    font-size: 0.12rem;
    color: $text-middle;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;

    &:hover {
      color: $accent;
    }
  }

  // 筛选数量 + 深度匹配提示条
  &__filter-count-bar {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    margin-top: 0.08rem;
  }

  &__filter-count-text {
    font-size: 0.12rem;
    color: $text-middle;
    white-space: nowrap;
  }

  &__filter-count-num {
    color: $accent;
    font-weight: 600;
  }

  // 深度匹配按钮
  &__deep-match-btn {
    padding: 0 0.08rem;
    height: 0.20rem;
    line-height: 0.20rem;
    border: none;
    border-radius: 0.04rem;
    background: linear-gradient(128.17deg, #52CAD1 0%, #82D79B 100%);
    color: #fff;
    font-size: 0.12rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;

    &:hover {
      opacity: 0.85;
    }

    &:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
  }

  // 筛选条件（保留旧的兼容）
  &__filters {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    flex-wrap: wrap;
  }

  &__filter-group {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    flex-wrap: wrap;
  }

  &__filter-item {
    display: flex;
    align-items: center;
    gap: 0.04rem;
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 0.08rem;
    padding: 0.15rem 0.12rem;
    color: $text-middle;
    font-size: 0.12rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    height: 0.234rem;

    &:hover {
      color: #fff;
      background: $btn-dark;
      svg{
        color: #fff;
      }
    }
  }

  // 工作类型下拉菜单
  &__filter-dropdown {
    position: absolute;
    top: calc(100% + 0.06rem);
    left: 0;
    background: $bg-white;
    border: 1px solid #E8E8E8;
    border-radius: 0.08rem;
    padding: 0.04rem 0;
    box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.08);
    z-index: 20;
    min-width: 100%;

    // 发布时间date-picker容器
  &__dropdown-item--time {
    padding: 0;
    border: none;

    // 覆盖el-date-picker内部样式适配筛选行
    :deep(.el-input__wrapper) {
      box-shadow: none;
      border: 1px solid #F0F0F0;
      border-radius: 0.04rem;
      padding: 0 0.06rem;
      font-size: 0.12rem;
    }

    :deep(.el-range-input) {
      font-size: 0.12rem;
    }

    :deep(.el-range-separator) {
      font-size: 0.12rem;
      padding: 0 0.02rem;
    }

    :deep(.el-input__icon) {
      font-size: 0.12rem;
    }
  }
  }

  // 下拉菜单选项
  &__filter-dropdown-item {
    padding: 0.06rem 0.16rem;
    font-size: 0.12rem;
    color: $text-dark;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;

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

    // 选中态
    &--active {
      color: $accent;
      font-weight: 600;
    }
  }

  &__filter-arrow-icon {
    width: 0.1rem;
    height: 0.1rem;
    color: $text-light;
    flex-shrink: 0;
  }

  &__search-box {
    display: flex;
    align-items: center;
    background: $bg-white;
    border-radius: 0.08rem;
    padding: 0.10rem 0.14rem;
    border: 1px solid #F0F0F0;

    &:focus-within {
      border-color: $accent;
    }
  }

  &__search-svg {
    width: 0.14rem;
    height: 0.14rem;
    color: $text-light;
    margin-right: 0.08rem;
    flex-shrink: 0;
    cursor: pointer;
  }

  &__search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: $text-dark;
    font-size: 0.12rem;

    &::placeholder {
      color: $text-light;
    }
  }

  // 热门搜索标签 label
  &__hot-search-label {
    font-size: 0.12rem;
    color: $text-middle;
    white-space: nowrap;
    margin-right: 0.07rem;
  }

  // 热门搜索标签
  &__hot-search-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 0.24rem;
    padding: 0 0.1rem;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    color: $accent;
    background: $bg-white;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: all 0.15s;
    margin-right: 0.07rem;

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

    &:hover,
    &--active {
      background: $accent;
      color: #FFFFFF;
    }
  }

  // 职位列表（flex:1 自动占满剩余空间，保证列表独立滚动）
  &__list {
    gap: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    padding-bottom: 0.2rem;
    margin: 0 0.24rem;
  }

  // 网格容器：列数由 CSS 变量 --job-grid-cols 控制（JS 动态计算）
  &__grid {
    display: grid;
    grid-template-columns: repeat(var(--job-grid-cols, 3), 1fr);
    gap: 0.12rem;
  }

  // ========== 新卡片样式 ==========
  &__job-card {
    position: relative;
    height: 1.33rem;
    border: 1px solid #F0F0F0;
    border-radius: 0.08rem;
    padding: 0.16rem;
    box-sizing: border-box;
    cursor: pointer;
    transition: box-shadow 0.2s;
    overflow: hidden;

    &:hover {
      box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.08);
    }

    // hover 时隐藏公司信息行，显示操作按钮行
    &:hover .jobs-page__card-bottom--info {
      opacity: 0;
      pointer-events: none;
    }

    &:hover .jobs-page__card-bottom--actions {
      opacity: 1;
      pointer-events: auto;
    }
  }

  // 上半部分容器
  &__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.08rem;
  }

  // 上半左侧
  &__card-top-left {
    min-width: 0;
    flex: 1;
  }

  // 岗位标题
  &__card-title {
    font-size: 0.16rem;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 0.21rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  // 标签行
  &__card-tags {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    margin-top: 0.08rem;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  // 单个标签
  &__card-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.03rem 0.06rem;
    background: #F3F4F6;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    font-weight: 380;
    color: #6A7282;
    line-height: 0.16rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  // 右侧匹配度
  &__card-match {
    text-align: right;
    flex-shrink: 0;
  }

  &__card-match-score {
    display: block;
    font-size: 0.22rem;
    font-weight: 600;
    line-height: 0.29rem;
    text-align: center;
  }

  &__card-match-label {
    display: block;
    font-size: 0.12rem;
    font-weight: 450;
    line-height: 0.16rem;
    text-align: center;
    margin-top: 0.02rem;
  }

  // 未登录锁定态
  &__card-match--locked {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &__card-lock-icon {
    width: 0.24rem;
    height: 0.24rem;
    color: $text-light;
  }

  // 下半部分通用定位
  &__card-bottom {
    position: absolute;
    left: 0.16rem;
    right: 0.16rem;
    bottom: 0.12rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.2s;
  }

  // 默认显示公司信息
  &__card-bottom--info {
    opacity: 1;
  }

  // hover 时显示操作按钮（默认隐藏）
  &__card-bottom--actions {
    opacity: 0;
    pointer-events: none;
    gap: 0.08rem;
  }

  // 公司信息行
  &__card-company {
    display: flex;
    align-items: center;
    gap: 0.04rem;
    min-width: 0;
    flex: 1;
  }

  // 公司 logo
  &__card-company-logo {
    width: 0.24rem;
    height: 0.24rem;
    border-radius: 0.12rem;
    border: 1px solid #F4F4F4;
    flex-shrink: 0;
    object-fit: cover;

    &--default {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #FFFFFF;
    }
  }

  // 公司名称
  &__card-company-name {
    font-size: 0.14rem;
    font-weight: 450;
    color: #1A1A1A;
    line-height: 0.19rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 1.1rem;
  }

  // 公司类型标签
  &__card-company-type {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.03rem 0.06rem;
    background: #ECFDF3;
    border-radius: 0.04rem;
    font-size: 0.12rem;
    font-weight: 380;
    color: #067647;
    line-height: 0.16rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  // 发布时间
  &__card-publish-time {
    font-size: 0.12rem;
    font-weight: 330;
    color: #99A1AF;
    line-height: 0.16rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  // ========== hover 操作按钮行 ==========
  // 三点更多按钮
  &__card-more-btn {
    width: 0.32rem;
    height: 0.32rem;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.04rem;
    transition: background 0.2s;
    flex-shrink: 0;

    &:hover {
      background: #F3F4F6;
    }
  }

  // 问Nova按钮
  &__card-ask-btn {
    flex: 1;
    height: 0.32rem;
    background: #EDF9FA;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    font-weight: 450;
    color: $accent;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;

    &:hover {
      background: #D9F2F4;
    }
  }

  // 去投递按钮
  &__card-apply-btn {
    flex: 1;
    height: 0.32rem;
    background: $accent;
    border: none;
    border-radius: 0.06rem;
    font-size: 0.14rem;
    font-weight: 450;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;

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

  // 弹出菜单
  &__card-popup {
    position: absolute;
    left: 0;
    bottom: 0.4rem;
    background: #FFFFFF;
    border: 1px solid #F0F0F0;
    border-radius: 0.08rem;
    padding: 0.06rem 0;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 1.2rem;
  }

  // 弹出菜单项
  &__card-popup-item {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    padding: 0.08rem 0.16rem;
    font-size: 0.14rem;
    color: #1A1A1A;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;

    &:hover {
      background: #EDF9FA;
    }

    svg {
      flex-shrink: 0;
    }

    span {
      color: inherit;
    }
  }

  // 收藏统计栏
  &__fav-stats {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  &__fav-stats-item {
    font-size: 0.14rem;
    color: $text-dark;
    font-weight: 500;
    cursor: pointer;
    padding: 0.04rem 0.08rem;
    border-radius: 0.06rem;
    transition: all 0.2s;

    &:hover {
      color: $accent;
    }

    &--active {
      color: $accent;
      font-weight: 600;
      background: $theme-color;
    }
  }

  // 暂无数据提示
  &__empty {
    text-align: center;
    font-size: 0.14rem;
    color: $text-light;
  }

  // 空状态图片
  &__empty-img {
    width: 1.24rem;
    height: 1.3rem;
    display: block;
    margin: 1.6rem auto 0.2rem;
  }

  // 空状态主标题
  &__empty-title {
    font-size: 0.14rem;
    color: $text-light;
    margin-bottom: 0.08rem;
  }

  // 空状态副标题
  &__empty-subtitle {
    font-size: 0.14rem;
    color: $text-light;
  }

  // "减少筛选条件" 可点击链接
  &__empty-link {
    color: $accent;
    text-decoration: underline;
    cursor: pointer;

    &:hover {
      opacity: 0.75;
    }
  }

  // 列表结果较少时的底部提示
  &__few-results {
    text-align: center;
    padding: 0.12rem 0;
    font-size: 0.14rem;
    color: $text-light;
  }

  // 加载更多提示
  &__loading-more {
    text-align: center;
    padding: 0.16rem 0;
    font-size: 0.12rem;
    color: $text-light;
    z-index: 10;
  }

  // 未登录时底部登录提示
  &__login-prompt {
    text-align: center;
    margin-top: -0.3rem;
    padding-top: 0.4rem;
    padding-bottom: 1.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 25%);
    position: relative;
    z-index: 9999;
  }

  &__login-prompt-title {
    font-size: 0.18rem;
    font-weight: 520;
    color: $accent;
    margin-bottom: 0.12rem;
  }

  &__login-prompt-desc {
    font-size: 0.14rem;
    font-weight: 330;
    color: #6A7282;
    margin-bottom: 0.2rem;
  }

  &__login-prompt-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.08rem 0.32rem;
    width: 1.8rem;
    height: 0.37rem;
    font-size: 0.14rem;
    font-weight: 450;
    color: #fff;
    background: $btn-dark;
    border: 1px solid $btn-dark;
    border-radius: 0.08rem;
    cursor: pointer;
    transition: background 0.2s;

    &:hover {
      background: $btn-dark-hover;
      border-color: $btn-dark-hover;
    }
  }

  // 列表底部加载盒子
  &__loading-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    padding: 0.24rem 0;
    font-size: 0.13rem;
    color: $text-light;
  }

  // 加载旋转动画
  &__loading-spinner {
    width: 0.18rem;
    height: 0.18rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: $accent;
    border-radius: 50%;
    animation: jobs-spin 0.6s linear infinite;
  }

  @keyframes jobs-spin {
    to { transform: rotate(360deg); }
  }

  // ==================== 选择投递方式弹窗 ====================

  // 遮罩层
  &__apply-method-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: $overlay-bg;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
  }

  // 弹窗主体
  &__apply-method-dialog {
    position: relative;
    width: 4.8rem;
    background: $bg-white;
    border: 1px solid #F0F0F0;
    box-shadow: 0 0 0.16rem rgba(0, 0, 0, 0.05);
    border-radius: 0.12rem;
    padding: 0.28rem 0.32rem 0.32rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  // 渐变背景层
  &__apply-method-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #EDF9FA 0%, #FFFFFF 20.63%);
    border-radius: 0.12rem;
    pointer-events: none;
  }

  // 标题
  &__apply-method-title {
    position: relative;
    font-size: 0.18rem;
    font-weight: 620;
    color: $text-dark;
    text-align: center;
    margin: 0 0 0.2rem 0;
    line-height: 0.24rem;
  }

  // 关闭按钮
  &__apply-method-close {
    position: absolute;
    top: 0.24rem;
    right: 0.24rem;
    width: 0.24rem;
    height: 0.24rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;

    &:hover {
      opacity: 0.7;
    }
  }

  // 选项卡容器
  &__apply-method-options {
    position: relative;
    display: flex;
    gap: 0.16rem;
    margin-bottom: 0.24rem;
  }

  // 选项卡
  &__apply-method-card {
    position: relative;
    flex: 1;
    height: 1.06rem;
    background: $bg-white;
    border: 1px solid #F0F0F0;
    border-radius: 0.08rem;
    padding: 0.2rem 0;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;

    &:hover {
      border-color: #D0D0D0;
    }

    // 选中态
    &--active {
      border-color: $accent;
      background: #EDF9FA;
    }
  }

  // 选项卡标题
  &__apply-method-card-title {
    font-size: 0.14rem;
    font-weight: 450;
    color: #000;
    margin: 0;
    line-height: 0.19rem;

    // 品牌色标题
    &--accent {
      color: $accent;
    }
  }

  // 选项卡描述文字
  &__apply-method-card-desc {
    font-size: 0.12rem;
    font-weight: 330;
    color: $text-light;
    line-height: 0.2rem;
    margin: 0.06rem 0 0 0;
    white-space: pre-line;
  }

  // 选项卡头部（icon + 标题）
  &__apply-method-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.04rem;
  }

  // 左下角圆形装饰
  &__apply-method-card-circle {
    position: absolute;
    width: 0.46rem;
    height: 0.46rem;
    left: -0.05rem;
    bottom: -0.08rem;
    background: #AEE6EA;
    border-radius: 50%;
    opacity: 1;
    transition: opacity 0.2s;

    .jobs-page__apply-method-card--active & {
      opacity: 1;
    }

    // 圆形上的两个白色小圆点（眼睛）
    &::before,
    &::after {
      content: '';
      position: absolute;
      width: 0.04rem;
      height: 0.09rem;
      background: $bg-white;
      border-radius: 0.02rem;
      top: 40%;
    }

    &::before {
      left: 42%;
    }

    &::after {
      left: 60%;
    }
  }

  // 底部操作按钮
  &__apply-method-action {
    position: relative;
    width: 100%;
    height: 0.35rem;
    border: none;
    border-radius: 0.08rem;
    font-size: 0.14rem;
    font-weight: 450;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;

    // 未选择状态 — 浅色背景
    &--disabled {
      background: #EDF9FA;
      color: #AEE6EA;
      cursor: not-allowed;
    }

    // 已选择状态 — 品牌色背景
    &--active {
      background: $accent;
      color: $bg-white;

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

// ==================== 不感兴趣反馈弹窗 ====================
.dislike-dialog {
  // 弹窗圆角
  .el-dialog {
    border-radius: 0.16rem;
    overflow: hidden;
  }

  // 覆盖 el-dialog 默认 body padding
  .el-dialog__body {
    padding: 0.12rem;
  }

  // 标题样式
  &__title {
    font-size: 0.16rem;
    font-weight: 600;
    color: $text-dark;
    line-height: 1.6;
    margin-bottom: 0.2rem;

    // 居中标题（问题反馈弹窗用）
    &--center {
      text-align: center;
    }
  }

  // 选项列表容器
  &__options {
    margin-bottom: 0.16rem;

    // 选项间距用 margin-bottom
    .dislike-dialog__option {
      margin-bottom: 0.1rem;

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

  // 单个选项行
  &__option {
    display: flex;
    align-items: center;
    background: $bg-main;
    border-radius: 0.08rem;
    padding: 0.04rem 0.1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;

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

    // 选中态
    &--active {
      border-color: $accent;
      background: $theme-color;
    }

    // 覆盖 el-radio 默认样式
    .el-radio {
      margin-right: 0;
      width: 100%;

      .el-radio__label {
        font-size: 0.14rem;
        color: $text-dark;
        font-weight: 500;
      }
    }
  }

  // 补充描述输入框
  &__textarea {
    .el-textarea__inner {
      background: $bg-main;
      border: 1px solid $border-color;
      border-radius: 0.08rem;
      font-size: 0.13rem;
      color: $text-dark;
      resize: none;

      &::placeholder {
        color: $text-light;
      }

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

  // 底部按钮区域
  &__footer {
    margin-top: 0.3rem;
    display: flex;
    gap: 0.16rem;
  }

  // 按钮通用样式
  &__btn {
    flex: 1;
    padding: 0.12rem 0;
    border-radius: 0.08rem;
    font-size: 0.14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;

    // 取消按钮
    &--cancel {
      background: $bg-main;
      color: $text-light;
      border: 1px solid $border-color;

      &:hover {
        color: $text-dark;
        border-color: #ccc;
      }
    }

    // 提交按钮
    &--submit {
      background: $btn-dark;
      color: $bg-white;

      &:hover {
        background: $btn-dark-hover;
      }
    }
  }
}

// ==================== 简历快照抽屉 ====================

/* 遮罩层 */
.jobs-resume-drawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--app-height, 100vh);
  background: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
}

/* 抽屉主体 */
.jobs-resume-drawer {
  width: 9.6rem;
  max-width: 9.6rem;
  height: var(--app-height, 100vh);
  background: $bg-white;
  display: flex;
  flex-direction: column;
  font-size: 0.14rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);

  /* 顶部标题栏 */
  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.2rem 0.24rem;
    height: 0.64rem;
    box-sizing: border-box;
    border-bottom: 1px solid $border-color;
  }

  &__header-left {
    display: flex;
    align-items: center;
    gap: 0.16rem;
  }

  /* 关闭按钮 */
  &__close {
    width: 0.24rem;
    height: 0.24rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &__close-icon {
    width: 0.24rem;
    height: 0.24rem;
    color: $text-middle;
  }

  /* 标题文字 */
  &__title {
    font-size: 0.18rem;
    font-weight: 620;
    color: $text-dark;
    line-height: 0.24rem;
  }

  /* 加载状态 */
  &__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.12rem;
    color: $text-light;
    font-size: 0.13rem;
  }

  /* 内容区域（可滚动） */
  &__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.24rem;
  }
}

/* 抽屉动画 */
.jobs-resume-drawer-enter-active,
.jobs-resume-drawer-leave-active {
  transition: opacity 0.3s ease;

  .jobs-resume-drawer {
    transition: transform 0.3s ease;
  }
}

.jobs-resume-drawer-enter-from,
.jobs-resume-drawer-leave-to {
  opacity: 0;

  .jobs-resume-drawer {
    transform: translateX(100%);
  }
}
