/* parking.wxss */
.page-title {
  padding: 24rpx 0;
}

.active-session {
  border: 2rpx solid #1a73e8;
  background: linear-gradient(135deg, #e8f0fe, #ffffff);
}

.session-status-badge {
  padding: 6rpx 20rpx;
  border-radius: 24rpx;
  font-size: 24rpx;
  font-weight: 500;
}

.session-status-badge.active {
  background: #e8f0fe;
  color: #1a73e8;
}

.session-status-badge.completed {
  background: #e6f4ea;
  color: #34a853;
}

.session-status-badge.cancelled {
  background: #f1f3f4;
  color: #999999;
}

.session-item {
  margin-bottom: 16rpx;
  padding: 28rpx 32rpx;
}

.divider {
  height: 1rpx;
  background: #f0f0f0;
  margin: 16rpx 0;
}

/* ===== 优惠券选择弹窗 ===== */
.coupon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-end;
  z-index: 1000;
}

.coupon-picker {
  background: #ffffff;
  border-radius: 24rpx 24rpx 0 0;
  width: 100%;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

.coupon-picker-header {
  padding: 40rpx 32rpx 24rpx;
  text-align: center;
  border-bottom: 2rpx solid #f0f0f0;
  flex-shrink: 0;
}

.coupon-list {
  max-height: 50vh;
  overflow-y: auto;
  padding: 16rpx 32rpx;
}

.coupon-item {
  display: flex;
  align-items: center;
  padding: 24rpx;
  background: #f8f9fa;
  border-radius: 16rpx;
  margin-bottom: 16rpx;
  border: 3rpx solid transparent;
  position: relative;
  transition: all 0.2s;
}

.coupon-item-selected {
  border-color: #1a73e8;
  background: #e8f0fe;
}

.coupon-left {
  width: 140rpx;
  text-align: center;
  flex-shrink: 0;
}

.coupon-amount {
  font-size: 56rpx;
  font-weight: 700;
  color: #ea4335;
  line-height: 1.1;
}

.coupon-unit {
  font-size: 28rpx;
  font-weight: 400;
}

.coupon-right {
  flex: 1;
  margin-left: 20rpx;
}

.coupon-name {
  font-size: 30rpx;
  font-weight: 600;
  margin-bottom: 6rpx;
}

.coupon-expire {
  font-size: 22rpx !important;
}

.coupon-check {
  width: 44rpx;
  height: 44rpx;
  border-radius: 50%;
  background: #1a73e8;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
  font-weight: 700;
  flex-shrink: 0;
}

.coupon-actions {
  display: flex;
  gap: 16rpx;
  padding: 24rpx 32rpx;
  border-top: 2rpx solid #f0f0f0;
  flex-shrink: 0;
}

.coupon-actions .btn {
  flex: 1;
}
