// 卡片容器样式
.person_cards_wrap {
  padding: 20rpx;
  width: 100%;
  box-sizing: border-box;
}

.cards_container {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-direction: column;
}

// 卡片基础样式
.card_item {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24rpx;
  box-sizing: border-box;
  
  &.today {
    display: flex;
    justify-content: space-around;
    .card_item_content{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      width: 50%;
      border-right: 1rpx solid #e5e7eb;
      &:nth-last-of-type(1){
        border-right: none;
      }
      .card_header{
        .card_title{
          color: #9ca3af;
        }
      }
    }
  }
  
  // 卡片头部样式
  .card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;
    
    &.count{
      justify-content: flex-start;
      gap: 10rpx;
    }
    .card_title {
      font-size: 28rpx;
      font-weight: 600;
      color: #333333;
    }
  }
  
  // 卡片内容样式
  .card_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    .card_value {
      font-size: 48rpx;
      font-weight: 700;
      color: #333333;
      margin-bottom: 8rpx;
    }
    
    .card_extra {
      font-size: 24rpx;
      color: #999999;
    }
  }
  
  // 条数统计特殊样式
  .count_stats {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    .count_item {
      width: 33%;
      display: flex;
      flex-direction: column;
      align-items: center;
      border-right: 1px solid #e5e7eb;
      &:nth-last-of-type(1){
        border-right: none;
      }
      .count_value {
        font-size: 36rpx;
        font-weight: 700;
        color: #333333;
        margin-bottom: 4rpx;
      }
      
      .count_label {
        font-size: 24rpx;
        color: #999999;
      }
    }
  }
  
  // 上门模块特殊样式
  .visit_stats {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    
    .visit_item {
      display: flex;
      flex-direction: column;
      align-items: center;
      .visit_label {
        font-size: 24rpx;
        color: #999999;
        margin-bottom: 4rpx;
        font-weight: 600;
      }
      
      .visit_value {
        font-size: 38rpx;
        font-weight: 700;
        color: #333333;
        &.visitc_count{
          color: #2563eb;
        }
      }
    }
  }
  
  // 当前排名模块特殊样式
  .ranking_stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    .ranking_icon{
      border-radius: 50%;
      background-color: #fefce8;
      width: 60rpx;
      height: 60rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-right: 20rpx;
    }
    .ranking_info {
      display: flex;
      align-items: center;
      .ranking_info_text{
        display: flex;
        flex-direction: column;
        .card_title{
          font-size: 26rpx;
          font-weight:600;
        }
        .ranking_text {
          font-size: 24rpx;
          color: #9ca3af;
        }
      }
    }
    
    .ranking_details {
      display: flex;
      justify-content: space-around;
      align-items: center;
      .ranking_detail_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        &:nth-of-type(1){
          padding-right: 30rpx;
          border-right: 2rpx solid #e5e7eb;
        }
        &:nth-last-of-type(1){
          padding-left: 30rpx;
        }
        .ranking_detail_label {
          font-size: 24rpx;
          color: #999999;
          margin-bottom: 4rpx;
        }
        
        .ranking_detail_value {
          font-size: 40rpx;
          font-weight: 700;
          color: #000;
        }
      }
    }
  }
  
  // 折线图容器样式
  .charts_box {
    width: 100%;
    height: 200rpx;
    margin-top: 20rpx;
    background-color: #ffffff;
    border-radius: 8rpx;
    box-sizing: border-box;
    box-sizing: border-box;
  }
  .chart_header{
    color: #6b7280;
    font-size: 24rpx;
    font-weight: 600;
    .card_title{
      margin-left: 10rpx;
    }
  }
}
// 最新线索模块特殊样式
.latest_clue{
  margin: 20rpx 0 140rpx;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 20rpx;
  .clue_header{
    padding:24rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9fafb;
    border-radius: 10rpx;
    .card_title{
      color: #6b7280;
      font-size:24rpx;
      font-weight: 600;
    }
    .more_btn{
      display:flex;
      justify-content: center;
      align-items: center;
      gap: 4rpx;
      font-size: 24rpx;
      color: #2563eb;
    }
  }
  .clue_list{
    display: flex;
    flex-direction: column;
    gap: 20rpx;
    padding:24rpx;
    .clue_item{
      display: grid;
      grid-template-columns: 1fr 2fr 6fr;
      justify-content: space-between;
      align-items: center;
      color: #333;
      font-size: 28rpx;
      font-weight: 600;
      .clue_star{
        display:flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 4rpx;
        .clue_name{
          font-size: 24rpx;
          font-weight: 600;
          color: #9ca3af;
        }
      }
      .clue_name{

      }
      .clue_info{
        display:flex;
        flex-direction: column;
        gap: 8rpx;
        .clue_desc{
          font-size: 22rpx;
          color:#9ca3af ;
        }
      }
    }
  }
}

