.trip-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.trip-tab {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 99px;
  flex: 1;
}


.trip-tab.active {
  background: #1ecb15;
  color: #fff;
}

.trip-content {
  display: none;
}

.trip-content.active {
  display: block;
}

.city-dropdown {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-height: 250px;
  overflow-y: auto;
  color: #000;
  margin-top: 5px;
  overscroll-behavior: contain;
}

.city-dropdown div {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.city-dropdown div:last-child {
  border-bottom: none;
}

.city-dropdown div:hover {
  background: #1ecb15;
  color: #fff;
}

.city-dropdown div strong {
  font-weight: 600;
  color: inherit;
}

/* Booking Modal Styles */
#bookingModal .modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-height: 90vh; /* Ensure it stays within viewport */
}

#bookingModal .modal-body {
  overflow-y: auto !important;
}

#bookingModal .form-control, 
#bookingModal .form-select {
  border-radius: 20px;
  padding: 10px 20px;
  border: 1px solid #ddd;
  background-color: rgba(255, 255, 255, 0.9);
}

#bookingModal .form-control:focus, 
#bookingModal .form-select:focus {
  border-color: #1ecb15;
  box-shadow: 0 0 5px rgba(30, 203, 21, 0.3);
}

#bookingModal .modal-header {
  padding: 20px 30px 10px;
}

#bookingModal .modal-title {
  font-weight: 700;
  color: #333;
}

#bookingModal .input-group-text {
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 20px !important;
  height: 40px;
  width: 40px;
  display: grid;
  place-content: center;
  margin: 0 0 0 10px;
}

#bookingModal .input-group .form-control {
  border-right: none;
}

#bookingModal label {
  font-weight: 600;
  color: #555;
  margin-left: 10px;
  margin-bottom: 5px;
}

#bookingModal .form-check-label {
  margin-left: 0;
}
#bookingModal .form-check-input {
  background-color: #8a8a8a;
}

#bookingModal .form-check-input:checked {
  background-color: #1ecb15;
  border-color: #1ecb15;
}

#bookingModal .form-check-input:focus {
  box-shadow: none;
  border-color: #1ecb15;
}

.pointer {
    cursor: pointer;
}

/* Ensure Google Maps autocomplete dropdown is above the modal */
.pac-container {
    z-index: 2000 !important;
}

#modal-map-container {
    transition: all 0.3s ease-in-out;
}

.address-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1060;
    max-height: 200px;
    overflow-y: auto;
    width: 90%;
    margin-top: 5px;
    display: none;
}

.address-dropdown .dropdown-item {
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #f8f8f8;
    color: #333;
    white-space: normal;
}

.address-dropdown .dropdown-item:hover {
    background-color: #f1f8f1;
    color: #1ecb15;
}

.address-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.de-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

@media screen and (max-width: 768px) {
  .trip-tab {
    padding: 5px;
    font-size: 15px;
  }
  #contact_form .radio-img input[type="radio"]+label, #contact_form .radio-img input[type="checkbox"]+label{
    padding: 5px;
    font-size: 15px;
  }
}