.coupon-tabs {
  display: flex;
  background: #fff;
  border-bottom: 2rpx solid var(--gray-6);
}

.ct-item {
  flex: 1;
  text-align: center;
  padding: 24rpx;
  font-size: 26rpx;
  color: var(--gray-3);
  position: relative;
}

.ct-item.active {
  color: var(--primary);
  font-weight: 600;
}

.ct-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 4rpx;
  background: var(--primary);
  border-radius: 4rpx;
}

.coupon-card {
  display: flex;
  background: #fff;
  margin: 16rpx 24rpx;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.coupon-left {
  width: 200rpx;
  background: linear-gradient(135deg, #4A7CF7, #7C9FFF);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20rpx;
}

.coupon-amount {
  display: flex;
  align-items: baseline;
}

.ca-symbol {
  font-size: 24rpx;
}

.ca-value {
  font-size: 44rpx;
  font-weight: 800;
}

.coupon-min {
  font-size: 20rpx;
  opacity: 0.85;
  margin-top: 4rpx;
}

.coupon-right {
  flex: 1;
  padding: 20rpx;
  display: flex;
  flex-direction: column;
  gap: 8rpx;
}

.coupon-name {
  font-size: 26rpx;
  font-weight: 600;
}

.coupon-time {
  font-size: 20rpx;
  color: var(--gray-4);
}

.c-tab {
  flex: 1;
  text-align: center;
  padding: 12rpx;
  font-size: 24rpx;
  color: var(--gray-4);
  border-bottom: 2rpx solid var(--gray-6);
}

.c-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.coupon-card.my .coupon-left {
  background: linear-gradient(135deg, #999, #bbb);
}
