/* 包月支付页面样式 */
page {
  background-color: #f5f7fb;
}

.monthly-payment-container {
  box-sizing: border-box;
  width: 100%;
}

.overlay {
	position: absolute;
	top: 90rpx;
	left: 0;
	width: 100%;
	height: 94vh;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 98;
}

/* 下拉停车场列表样式 */
.parking-list {
  background-color: #ffffff;
  padding: 20rpx 30rpx;
  border-bottom: 1rpx solid #f0f0f0;
  border-radius: 0 0 40rpx 40rpx;
  position: fixed;
  top: 80rpx;
  left: 0;
  right: 0;
  z-index: 999;
}

/* 搜索框样式 */
.search-box {
  display: flex;
  align-items: center;
  background-color: #f5f7fb;
  border-radius: 50rpx;
  padding: 20rpx 30rpx;
  margin: 20rpx 0;
}

.search-icon {
  margin-right: 15rpx;
}

.search-input {
  flex: 1;
  font-size: 26rpx;
  color: #333333;
  background-color: transparent;
}

/* 停车场列表项样式 */
.parking-items {
  max-height: 600rpx;
  overflow-y: auto;
}

.parking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25rpx 0;
  border-bottom: 1rpx solid #f0f0f0;
}

.parking-item:last-child {
  border-bottom: none;
}

.parking-item-right {
  flex: 1;
}

.parking-name {
  font-size: 32rpx;
  font-weight: bold;
  color: #333333;
  margin-bottom: 10rpx;
  display: block;
}

.parking-distance {
  font-size: 26rpx;
  color: #999999;
  margin-right: 20rpx;
}

.parking-address {
  font-size: 26rpx;
  color: #999999;
  display: block;
  margin-top: 8rpx;
}

.parking-item-left {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.parking-selected {
  font-size: 40rpx;
  color: #ff4219;
  position: relative;
  right: 30rpx;
}

.parking-spaces {
  background-color: #ffeeee;
  border-radius: 20rpx;
  padding: 8rpx 16rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 30rpx;
}

.spaces-label {
  font-size: 22rpx;
  color: #ff4219;
  margin-bottom: 4rpx;
}

.spaces-number {
  font-size: 30rpx;
  font-weight: bold;
  color: #ff4219;
}

/* 顶部标题样式 */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #fff3f1;
  padding: 20rpx 0;
  height: 45rpx;
}

.header-title {
  font-size: 32rpx;
  font-weight: 500;
  color: #333333;
  text-align: center;
  margin-right: 10rpx;
  font-weight: bold;
}

.header-arrow {
  width: 30rpx;
  height: 30rpx;
  margin-left: 10rpx;
}

/* 车辆信息样式 */
.car-info {
  display: flex;
  justify-content: center;
  margin: 40rpx 0;
}

.car-image {
  width: 50%;
  height: 200rpx;
  position: absolute;
  top: 193rpx;
}

/* 停车场信息样式 */
.park-info {
  margin-bottom: 20rpx;
  margin-top: 50rpx;
}

.park-name {
  font-size: 32rpx;
  color: #333333;
}

.park-type {
  font-size: 28rpx;
  color: #ff4d4f;
  margin-left: 30rpx;
  font-weight: bold;
}

/* 支付金额样式 */
.payment-amount {
  margin-bottom: 30rpx;
}

.amount-label {
  display: block;
  font-size: 26rpx;
  color: #c8c7c7;
  margin-bottom: 10rpx;
}

.amount-value {
  font-size: 40rpx;
  color: #ff4d4f;
}

/* 选项列表样式 */
.options-list {
  background-color: #ffffff;
  border-radius: 20rpx;
  overflow: hidden;
  border-radius: 30rpx;
  margin: 200rpx 30rpx 0;
  padding: 30rpx;
}

.option-item {
  padding: 20rpx 30rpx;
  border-radius: 50rpx;
  margin-bottom: 25rpx;
  background-color: #f5f7fb;
  transition: all 0.3s ease;
}

.option-right {
  display: flex;
  align-items: center;
}

.option-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option-image {
  width: 35rpx;
  height: 35rpx;
  margin-left: 20rpx;
}

.option-label {
  font-size: 26rpx;
  color: #333333;
  font-weight: bold;
}

.option-val {
  color: #ff370a;
}

.option-val2 {
  margin: 0 auto;
}

.option-value {
  font-size: 26rpx;
  color: #999999;
  flex: 1;
  text-align: right;
  margin-right: 20rpx;
}

.option-arrow {
  width: 24rpx;
  height: 24rpx;
}

/* 下一步按钮样式 */
.next-step-btn {
  background-color: #ff4219;
  color: #ffffff;
  text-align: center;
  padding: 20rpx;
  border-radius: 100rpx;
  margin: 40rpx 0;
}

.next-step-text {
  font-size: 36rpx;
  font-weight: 500;
}

/* 订单记录样式 */
.order-record {
  text-align: center;
  margin-top: 50rpx;
}

.order-record-text {
  font-size: 28rpx;
  color: #ff3f11;
}

/* 弹窗通用样式 */
.car-plate-popup {
  padding: 30rpx;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 30rpx 30rpx 0 0;
  max-height: 80vh; /* 限制弹窗最大高度 */
}

.popup-header {
  text-align: center;
  margin-bottom: 30rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #f0f0f0;
}

.popup-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333333;
}

.car-plate-list {
  max-height: 600rpx;
  overflow-y: auto;
  padding-right: 10rpx; /* 为滚动条留出空间 */
}

/* 美化滚动条样式 */
.car-plate-list::-webkit-scrollbar {
  width: 8rpx;
}

.car-plate-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4rpx;
}

.car-plate-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4rpx;
}

.car-plate-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.car-plate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20rpx;
  margin-bottom: 20rpx;
  background-color: #f5f7fb;
  border-radius: 20rpx;
  transition: all 0.3s ease;
}

.car-plate-item.selected {
  background-color: #ff431923;
  border: 2rpx solid #ff4219;
}

.plate-number {
    font-size: 28rpx;
    font-weight: 500;
    color: #333333;
    flex: 1;
  }
  
  .rule-price {
    font-size: 32rpx;
    font-weight: bold;
    color: #ff4219;
    margin-right: 20rpx;
  }

.popup-footer {
  margin-top: 30rpx;
  padding-top: 20rpx;
  border-top: 1rpx solid #f0f0f0;
}

.close-btn {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  background-color: #ff4219;
  color: #ffffff;
  border: none;
  border-radius: 45rpx;
  font-size: 32rpx;
  font-weight: 500;
}

.close-btn:active {
  background-color: #e03a16;
}