.finance_pro_card {
  border-radius: 8px;
}
.financial_analysis_card {
  width: 470px;
}
.finance_pro_card_content {
  background: linear-gradient(135deg, #6499ff 0%, #95b8ff 100%);
  padding: 25px 0;
  border-radius: 12px;
  // box-shadow: 0 10px 25px -5px rgba(42, 126, 251, 0.3);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-2px);
    // box-shadow: 0 15px 30px -5px rgba(42, 126, 251, 0.4);
  }

  // animation: fadeInUp 0.6s ease-out forwards;
  // opacity: 0;
  // transform: translateY(20px);

  // &.pt-15 {
  //   animation-delay: 0.2s;
  // }

  .finance_pro_card_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    animation: scaleIn 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);

    &:nth-child(1) {
      animation-delay: 0.3s;
    }
    &:nth-child(2) {
      animation-delay: 0.4s;
    }
    &:nth-child(3) {
      animation-delay: 0.5s;
    }
  }

  .finance_pro_card_item_val {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    animation: textSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    span {
      font-weight: 500;
      font-size: 14px;
      margin-left: 4px;
      opacity: 0.9;
    }
  }

  .finance_pro_card_item > div:last-child {
    font-size: 14px;
    font-weight: 500;
    animation: textFadeIn 1s ease-out forwards;
    opacity: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  // 为每个子元素添加不同的动画延迟
  .finance_pro_card_item {
    &:nth-child(1) {
      .finance_pro_card_item_val {
        animation-delay: 0.5s;
      }
      > div:last-child {
        animation-delay: 0.7s;
      }
    }
    &:nth-child(2) {
      .finance_pro_card_item_val {
        animation-delay: 0.6s;
      }
      > div:last-child {
        animation-delay: 0.8s;
      }
    }
    &:nth-child(3) {
      .finance_pro_card_item_val {
        animation-delay: 0.7s;
      }
      > div:last-child {
        animation-delay: 0.9s;
      }
    }
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textSlideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.pt-15 {
  margin-bottom: 15px;
}
.card_item {
  background-color: #fff;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  color: #3d3d3d;
  font-size: 16px;
  // box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;

  &:hover {
    transform: translateY(-3px);
    // box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #e0e7ff;
  }

  &_title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    color: #1f2937;
    white-space: nowrap;
  }

  > div:last-child {
    font-size: 18px;
    color: #3d3d3d;
  }
}

.bi_min_title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  color: #2a7efb;
  .title {
    color: #333;
  }
}

.dynamics_contents {
  height: 170px;
  overflow-y: auto;
}

.real_time_dynamics {
  color: #666;
  width: 100%;
  font-size: 16px;
  padding: 0 0 15px 0;
  display: flex;
  align-items: center;
  .dynamics_type {
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background-color: #eee;
  }
  span {
    color: #666;
    padding: 0 10px;
  }
  .type_WorkOrder {
    background-color: #faad14;
  }
  .type_PropertyFee {
    background-color: #00a154;
  }
  .type_MaintenanceFund {
    background-color: #1bc0c4;
  }
  .type_WaterFee {
    background-color: #007bff;
  }
  .type_ElectricityFee {
    background-color: #f8860c;
  }
  .type_SharedWaterFee {
    background-color: #60ffb2;
  }
  .type_SharedElectricityFee {
    background-color: #7912ff;
  }
  .type_CarPortFee {
    background-color: #ffb547;
  }
  .type_WorkOrderRepairFee {
    background-color: #ff4141;
  }
}

.today_amount_contents {
  .amount {
    font-size: 19px;
    font-weight: 500;
    color: #389e0d;
  }
  .unit {
    font-size: 12px;
    color: #666;
  }
}

.circle_content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #deffcb;
  padding: 6px;
  border-radius: 100px;
  position: relative;
  overflow: visible;

  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(73, 213, 13, 0.3);
    animation: ripple 2.4s infinite;
  }

  &::after {
    animation-delay: 1s;
  }

  .circle_center {
    width: 9px;
    height: 9px;
    border-radius: 100px;
    background-color: #389e0d;
    position: relative;
    z-index: 1;
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
