/* 积分记录页面样式 */

/* 余额卡片 */
.balance-card {
  margin: 16px;
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, var(--warning, #FF9500), #FF6B00);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255, 149, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-value {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.balance-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.balance-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.8;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
}

.stat-value.earn {
  color: #a8e6cf;
}

.stat-value.spend {
  color: #ffd3a5;
}

/* 筛选标签 */
.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}

.filter-tab {
  flex: 1;
  padding: 8px 0;
  border-radius: 16px;
  font-size: 14px;
  background: var(--bg-card, #1a1a2e);
  color: var(--text-mute, #888);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active {
  background: var(--warning, #FF9500);
  color: #fff;
}

.filter-tab:active {
  transform: scale(0.98);
}

/* 记录列表 */
.points-list {
  padding: 0 16px;
}

.list-group {
  margin-bottom: 16px;
}

.group-title {
  font-size: 12px;
  color: var(--text-3, #666);
  margin-bottom: 8px;
  padding-left: 4px;
}

.points-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card, #1a1a2e);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.points-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.points-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.earn-dot {
  background: #4ecdc4;
}

.spend-dot {
  background: var(--warning, #FF9500);
}

.points-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.points-reason {
  font-size: 14px;
  color: var(--text-1, #ffffff);
}

.points-date {
  font-size: 12px;
  color: var(--text-3, #666);
}

.points-flow {
  font-size: 11px;
  color: var(--text-mute, #888);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  margin-top: 2px;
}

.points-amount {
  font-size: 16px;
  font-weight: 600;
}

.points-amount.earn {
  color: #4ecdc4;
}

.points-amount.spend {
  color: var(--warning, #FF9500);
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-3, #666);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 14px;
}
