.questionAnswerList {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: @border-radius-base;
  padding: 16px 20px;
}

.applicationList {
  width: 100%;
  min-height: 600px;
}
.chak{
  .ant-select-selector{
    border:none !important;
    box-shadow:none !important;
  }
}
.card{
  padding: 16px;
  border: 1px solid @border-color;
  border-radius: @border-radius-large;
  min-height: 200px;
  overflow: auto;

  // 默认状态下操作按钮颜色
  .action-button {
    color: #999 !important;
    transition: color 0.3s ease;

    &:hover {
      color: @primary-color !important;
    }
  }

  .delete-button {
    color: #999 !important;
    transition: color 0.3s ease;

    &:hover {
      color: @error-color !important;
    }
  }
}
.card:hover{
  box-shadow: 0 0 8px rgba(0,0,0,.1);
  border: 1px solid @primary-color ;

  // 悬停状态下操作按钮颜色
  .action-button {
    color: @primary-color !important;
  }

  .delete-button {
    color: @error-color !important;
  }
}

.desc {
  height: 56px;
  overflow: hidden;
  font-weight: 300; /* 细体字 */
  line-height: 20px;
  transition: all 0.3s;
}

.ant-select-selector {
  border-radius: 4px !important;
  background: #fff !important;
  //height: 32px !important;
}

.ant-select-dropdown {
  .ant-select-item-option-selected {
    background-color: @primary-color !important;
    color: #fff !important;
  }

  .ant-select-item-option-active {
    background-color: rgba(0, 123, 255, 0.1);
  }
}



// 按钮组筛选样式
.filter-button-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;

  .ant-btn {
    border-radius: 16px;
    height: 32px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
      border-color: #40a9ff;
      color: #40a9ff;
    }

    // 所有选中状态的按钮都使用统一的蓝色主题
    &.ant-btn-primary {
      background-color: #1890ff !important;
      border-color: #1890ff !important;
      color: #fff !important;
      font-weight: 500 !important;

      &:hover {
        background-color: #40a9ff !important;
        border-color: #40a9ff !important;
        color: #fff !important;
      }
    }

    // 全部按钮特殊样式 - 未选中时
    &:first-child:not(.ant-btn-primary) {
      background-color: #f5f5f5;
      border-color: #d9d9d9;
      color: #666;

      &:hover {
        background-color: #e6f7ff;
        border-color: #40a9ff;
        color: #40a9ff;
      }
    }

    // 图标样式优化
    .anticon {
      font-size: 14px;
      margin-right: 4px;
      transition: color 0.3s ease;
      color: #666; // 默认颜色
    }

    // 悬停时图标颜色变化
    &:hover .anticon {
      color: #40a9ff !important;
    }

    // 选中状态时图标颜色
    &.ant-btn-primary .anticon {
      color: #fff !important;
    }

    // 选中状态悬停时图标颜色
    &.ant-btn-primary:hover .anticon {
      color: #fff !important;
    }

    // 全部按钮未选中时图标颜色
    &:first-child:not(.ant-btn-primary) .anticon {
      color: #666;
    }

    // 全部按钮悬停时图标颜色
    &:first-child:not(.ant-btn-primary):hover .anticon {
      color: #40a9ff;
    }
  }
}

// 响应式处理
@media (max-width: 768px) {
  .filter-button-group {
    gap: 6px;

    .ant-btn {
      font-size: 12px;
      padding: 0 12px;
      height: 28px;
    }
  }
}

@media (max-width: 480px) {
  .filter-button-group {
    gap: 4px;

    .ant-btn {
      font-size: 11px;
      padding: 0 8px;
      height: 24px;
      border-radius: 12px;
    }
  }
}

// 圆形按钮样式优化
.ant-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
  }

  .anticon {
    font-size: 14px;
  }
}
