/* 订单详情页面样式 */
.order-detail {
  background: linear-gradient(180deg, #5B9BD5 0%, #4A90C2 100%);
  min-height: 100vh;
  padding: 32rpx;
  padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
}

/* 订单基本信息 */
.order-info {
  background: rgba(255, 255, 255, 0.96);
  padding: 36rpx;
  border-radius: 28rpx;
  margin-bottom: 32rpx;
  box-shadow: 0 12rpx 40rpx rgba(74, 144, 194, 0.18);
  backdrop-filter: blur(16rpx);
  border: 1rpx solid rgba(255, 255, 255, 0.4);
}

.info-title,
.section-title {
  font-size: 36rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 24rpx;
  letter-spacing: 0.5rpx;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20rpx;
  line-height: 1.5;
}

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

.info-label {
  font-size: 28rpx;
  color: #666;
  width: 160rpx;
  flex-shrink: 0;
}

.info-value {
  font-size: 28rpx;
  color: #333;
  flex: 1;
  font-weight: 500;
}

.info-value.price {
  color: #4A90C2;
  font-weight: 600;
  font-size: 30rpx;
}

/* 订单状态样式 */
.status-1 {
  color: #FFA940;
  font-weight: 600;
}

.status-2 {
  color: #1890ff;
  font-weight: 600;
}

.status-3 {
  color: #52C41A;
  font-weight: 600;
}

.status-4 {
  color: #ff4d4f;
  font-weight: 600;
}

/* 司机信息区域 */
.driver-section {
  background: rgba(255, 255, 255, 0.96);
  padding: 36rpx;
  border-radius: 28rpx;
  margin-bottom: 32rpx;
  box-shadow: 0 12rpx 40rpx rgba(74, 144, 194, 0.18);
  backdrop-filter: blur(16rpx);
  border: 1rpx solid rgba(255, 255, 255, 0.4);
}

.driver-info {
  margin-bottom: 28rpx;
}

.car-plate {
  font-weight: bold;
  color: #4A90C2;
}

.phone-btn {
  background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  color: #fff;
  border: none;
  border-radius: 50rpx;
  padding: 8rpx 20rpx;
  font-size: 26rpx;
  font-weight: 500;
  box-shadow: 0 4rpx 12rpx rgba(74, 144, 194, 0.25);
}

.location-section {
  border-top: 1rpx solid rgba(240, 240, 240, 0.6);
  padding-top: 28rpx;
}

.location-title {
  font-size: 30rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 20rpx;
}

.driver-map {
  width: 100%;
  height: 400rpx;
  border-radius: 16rpx;
  margin-bottom: 20rpx;
}

.driver-warn {
  background: rgba(255, 169, 64, 0.1);
  border: 1rpx solid rgba(255, 169, 64, 0.3);
  border-radius: 12rpx;
  padding: 16rpx;
  font-size: 24rpx;
  color: #FFA940;
  line-height: 1.5;
  text-align: center;
}

/* 底部操作按钮 */
.bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 24rpx 32rpx;
  padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
  box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12rpx);
  border-top: 1rpx solid rgba(240, 240, 240, 0.6);
}

.cancel-order-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
  color: #fff;
  border: none;
  border-radius: 50rpx;
  padding: 24rpx;
  font-size: 32rpx;
  font-weight: 600;
  box-shadow: 0 8rpx 24rpx rgba(255, 77, 79, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cancel-order-btn:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 12rpx rgba(255, 77, 79, 0.2);
}