/* =======================
   Car Rental Plugin Styles
   ======================= */

/* General form wrapper */
.booking-form {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

/* Steps navigation */
.booking-steps {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.booking-steps button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #2c3e50;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.booking-steps button.active,
.booking-steps button:hover {
  background: #1abc9c;
}

/* Cards (cars, destinations, activities) */
.car-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.2s;
}

.car-card:hover {
  transform: translateY(-3px);
}

/* Images */
.car-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* Details inside card */
.car-card .details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-card h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.car-card p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #555;
}

/* Buttons inside card */
.car-card button {
  margin-top: 10px;
  padding: 8px 14px;
  background: #1abc9c;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.car-card button:hover {
  background: #16a085;
}

/* Price box */
.price-summary {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 20px;
}

/* =======================
   Mobile Responsive
   ======================= */
@media (max-width: 768px) {
  .booking-form {
    padding: 10px;
  }

  .booking-steps {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .booking-steps button {
    flex: 0 0 auto;
    font-size: 14px;
    padding: 8px 12px;
  }

  .car-card {
    padding: 12px;
    margin-bottom: 15px;
  }

  .car-card h3 {
    font-size: 16px;
  }

  .car-card p {
    font-size: 13px;
  }

  .car-card img {
    max-height: 160px;
  }

  .price-summary {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .car-rental-container,
  .car-rental-card,
  .wizard-step,
  .summary-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;

    /* تعديل المقاس للموبايل */
    width: 90% !important;     /* بدل 100% علشان يبان الظل */
    margin: 15px auto !important;  /* مسافة من الأطراف */
    border-radius: 12px !important; /* حواف ناعمة */
    background: #fff !important; /* لازم خلفية بيضاء علشان يبان الظل */
  }
}

