/* 积分历史页面样式 */
.points-history-page {
  background: linear-gradient(180deg, #5B9BD5 0%, #4A90C2 100%);
  min-height: 100vh;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* 头部导航 */
.header {
  background: transparent;
  padding: 20rpx 0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32rpx;
}

.back-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  border-radius: 50rpx;
  padding: 16rpx 32rpx;
  font-size: 28rpx;
  backdrop-filter: blur(10rpx);
}

.page-title {
  color: #fff;
  font-size: 36rpx;
  font-weight: bold;
}

.placeholder {
  width: 120rpx;
}

/* 积分总览 */
.points-overview {
  background: rgba(255, 255, 255, 0.95);
  margin: 24rpx 32rpx;
  border-radius: 24rpx;
  padding: 40rpx 32rpx;
  text-align: center;
  box-shadow: 0 8rpx 32rpx rgba(74, 144, 194, 0.15);
  backdrop-filter: blur(10rpx);
}

.points-label {
  font-size: 28rpx;
  color: #666;
  margin-bottom: 16rpx;
}

.points-value {
  font-size: 72rpx;
  color: #4A90C2;
  font-weight: bold;
  margin-bottom: 16rpx;
}

.points-note {
  font-size: 24rpx;
  color: #999;
}

/* 筛选选项 */
.filter-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  margin: 24rpx 32rpx;
  border-radius: 50rpx;
  padding: 8rpx;
  box-shadow: 0 4rpx 16rpx rgba(74, 144, 194, 0.15);
  backdrop-filter: blur(10rpx);
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 16rpx 20rpx;
  border-radius: 40rpx;
  font-size: 28rpx;
  color: #666;
  transition: all 0.3s ease;
}

.tab-item.active {
  background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  color: #fff;
  font-weight: bold;
}

/* 历史列表 */
.history-list {
  padding: 0 32rpx 32rpx;
}

.history-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20rpx;
  padding: 32rpx 24rpx;
  margin-bottom: 24rpx;
  display: flex;
  align-items: center;
  box-shadow: 0 4rpx 16rpx rgba(74, 144, 194, 0.1);
  backdrop-filter: blur(10rpx);
}

.item-icon {
  font-size: 48rpx;
  margin-right: 24rpx;
  width: 64rpx;
  text-align: center;
}

.item-content {
  flex: 1;
}

.item-title {
  font-size: 30rpx;
  color: #333;
  font-weight: 500;
  margin-bottom: 8rpx;
}

.item-date {
  font-size: 24rpx;
  color: #999;
}

.item-points {
  font-size: 32rpx;
  font-weight: bold;
  min-width: 120rpx;
  text-align: right;
}

.points-earn {
  color: #52C41A;
}

.points-exchange {
  color: #FF4D4F;
}

.points-upgrade {
  color: #FFD700;
  font-size: 28rpx;
}

/* 空状态 */
.empty-history {
  text-align: center;
  padding: 120rpx 40rpx;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24rpx;
  backdrop-filter: blur(10rpx);
}

.empty-icon {
  font-size: 120rpx;
  margin-bottom: 32rpx;
}

.empty-text {
  font-size: 36rpx;
  color: #fff;
  font-weight: bold;
  margin-bottom: 16rpx;
}

.empty-desc {
  font-size: 28rpx;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

