/* ============================================
   充值记录列表页面 - 明亮风格（适合老年人）
   ============================================ */

.recharge-list-container {
  background: #F4F6F9;
  min-height: 100vh;
  padding: 16px;
  box-sizing: border-box;
}

/* 空状态设计 */
.treasure-empty {
  text-align: center;
  padding: 80px 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.empty-text {
  font-size: 16px;
  color: #888888;
  font-weight: 400;
  margin: 0;
}

/* 充值记录列表 */
.treasure-records {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 充值记录项 */
.recharge-item {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 16px;
  border: none;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.recharge-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 左侧区域 */
.recharge-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.recharge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3388FF, #2970E6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(51, 136, 255, 0.2);
}

.icon-text {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.recharge-info {
  flex: 1;
  min-width: 0;
}

.recharge-title {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.recharge-amount-label {
  font-size: 14px;
  color: #666666;
  margin-bottom: 6px;
  line-height: 1.5;
}

.recharge-amount-label .amount-value {
  font-size: 16px;
  font-weight: 600;
  color: #3F3F8D;
}

.recharge-time {
  font-size: 12px;
  color: #888888;
  line-height: 1.5;
}

/* 右侧区域 */
.recharge-right {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: 12px;
}

.received-label {
  font-size: 12px;
  color: #888888;
  line-height: 1.5;
}

.received-amount {
  font-size: 18px;
  font-weight: 600;
  color: #3F3F8D;
  line-height: 1.5;
}

/* 状态标签 */
.recharge-status {
  margin-top: 4px;
}

.status {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.2;
}

.status.pending {
  background: #FFF4E6;
  color: #D97706;
  border: 1px solid #FFE4B5;
}

.status.success {
  background: #E6F7FF;
  color: #3388FF;
  border: 1px solid #B3E0FF;
}

.status.failed {
  background: #FFF0F0;
  color: #E53E3E;
  border: 1px solid #FFCCCC;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 375px) {
  .recharge-list-container {
    padding: 12px;
  }
  
  .recharge-item {
    padding: 14px;
  }
  
  .recharge-icon {
    width: 44px;
    height: 44px;
  }
  
  .icon-text {
    font-size: 18px;
  }
  
  .recharge-title {
    font-size: 15px;
  }
  
  .recharge-amount-label {
    font-size: 13px;
  }
  
  .recharge-amount-label .amount-value {
    font-size: 15px;
  }
  
  .received-amount {
    font-size: 16px;
  }
  
  .status {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .treasure-empty {
    padding: 60px 16px;
  }
}