/* pages/claims/claims.wxss */
.container {
  background: #f5f5f5;
  min-height: 100vh;
}

/* 页面头部 */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.header-content {
  flex: 1;
}

.header-title {
  font-size: 36rpx;
  font-weight: bold;
  margin-bottom: 10rpx;
  display: block;
}

.header-desc {
  font-size: 24rpx;
  opacity: 0.9;
  display: block;
}

.header-actions {
  margin-left: 20rpx;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 15rpx 25rpx;
  background: rgba(255, 255, 255, 0.2);
  border: 2rpx solid rgba(255, 255, 255, 0.3);
  border-radius: 25rpx;
  color: white;
  font-size: 24rpx;
  transition: all 0.3s;
}

.action-btn::after {
  border: none;
}

.action-btn:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.btn-icon {
  font-size: 28rpx;
  margin-right: 8rpx;
}

.btn-text {
  font-size: 24rpx;
}

/* 筛选标签 */
.filter-tabs {
  background: white;
  display: flex;
  padding: 0 30rpx;
  border-bottom: 1rpx solid #e8e8e8;
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 30rpx 0;
  font-size: 28rpx;
  color: #666;
  position: relative;
  transition: all 0.3s;
}

.tab-item.active {
  color: #1890ff;
  font-weight: bold;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60rpx;
  height: 4rpx;
  background: #1890ff;
  border-radius: 2rpx;
}

/* 理赔列表 */
.claims-list {
  padding: 20rpx;
}

.claim-item {
  background: white;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.claim-item:active {
  transform: scale(0.98);
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.15);
}

.claim-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20rpx;
}

.claim-info {
  flex: 1;
}

.claim-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 8rpx;
  display: block;
}

.claim-desc {
  font-size: 24rpx;
  color: #666;
  line-height: 1.4;
}

.claim-status {
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  font-size: 22rpx;
  font-weight: bold;
}

.claim-status.pending {
  background: #fff7e6;
  color: #d48806;
}

.claim-status.processing {
  background: #e6f7ff;
  color: #1890ff;
}

.claim-status.completed {
  background: #f6ffed;
  color: #52c41a;
}

.claim-status.rejected {
  background: #fff2f0;
  color: #ff4d4f;
}

.status-text {
  font-size: 22rpx;
}

/* 理赔详情 */
.claim-details {
  margin-bottom: 25rpx;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10rpx;
  font-size: 24rpx;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: #666;
}

.detail-value {
  color: #333;
  font-weight: 500;
}

.detail-value.amount {
  color: #ff4757;
  font-weight: bold;
  font-size: 26rpx;
}

/* 理赔操作 */
.claim-actions {
  display: flex;
  gap: 15rpx;
  justify-content: flex-end;
}

.action-btn.small {
  padding: 12rpx 24rpx;
  font-size: 22rpx;
  border-radius: 20rpx;
  min-width: 120rpx;
}

.action-btn.small.primary {
  background: #1890ff;
  color: white;
  border: none;
}

.action-btn.small:not(.primary) {
  background: #f0f0f0;
  color: #666;
  border: none;
}

.action-btn.small::after {
  border: none;
}

.action-btn.small:active {
  transform: scale(0.95);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 100rpx 40rpx;
}

.empty-icon {
  font-size: 120rpx;
  margin-bottom: 30rpx;
  opacity: 0.5;
}

.empty-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 15rpx;
  display: block;
}

.empty-desc {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 40rpx;
  display: block;
}

.empty-btn {
  background: #1890ff;
  color: white;
  border: none;
  border-radius: 25rpx;
  padding: 20rpx 40rpx;
  font-size: 28rpx;
  font-weight: bold;
}

.empty-btn::after {
  border: none;
}

.empty-btn:active {
  transform: scale(0.95);
}

/* 加载更多 */
.load-more {
  text-align: center;
  padding: 30rpx;
}

.loading-text {
  font-size: 24rpx;
  color: #666;
}

.load-more-btn {
  font-size: 26rpx;
  color: #1890ff;
  padding: 15rpx 30rpx;
  background: white;
  border-radius: 25rpx;
  display: inline-block;
  border: 2rpx solid #1890ff;
  transition: all 0.3s;
}

.load-more-btn:active {
  background: #e6f7ff;
  transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 750rpx) {
  .header {
    padding: 20rpx;
  }
  
  .claims-list {
    padding: 15rpx;
  }
  
  .claim-item {
    padding: 20rpx;
  }
}

/* 动画效果 */
.claim-item {
  transition: all 0.3s ease;
}

.tab-item {
  transition: all 0.3s ease;
}

.action-btn {
  transition: all 0.3s ease;
}