/*------------------------------------------------------------
🚖 TAXIFORM STIJLEN
------------------------------------------------------------*/
#taxiForm {
  text-align: left;
}

#taxiForm .form-control:disabled, .form-control[readonly]{
    background-color:#fff;
}

#taxiForm h3,
#taxiForm h6 {
  font-weight: bold;
}
#taxiForm .form-label {
  font-weight: bold;
  padding-top: 15px;
  padding-left: 0px;
  padding-right: 15px;
}
#taxiForm .form-control,
#taxiForm .form-select {
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 5px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#taxiForm .form-control:hover,
#taxiForm .form-select:hover {
  border-color: #ffcc00;
}
#taxiForm .form-control:focus,
#taxiForm .form-select:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 0 0.15rem rgba(255, 204, 0, 0.4);
}
#taxiForm .form-control::placeholder {
  color: #888;
  opacity: 1;
}

/* Submit knop */
#taxiForm button[type="submit"] {
  background-color: #00C875;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 12px 20px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
#taxiForm button[type="submit"]:hover {
  background-color: #00B86B;
}

/* Bagage toggle switch */
.dual-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.dual-switch input[type="checkbox"] {
  display: none;
}
.switch-slider {
  position: relative;
  width: 72px;
  height: 26px;
  background-color: #bbb;
  border-radius: 30px;
  cursor: pointer;
}
.switch-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
input[type="checkbox"]:checked + .switch-slider {
  background-color: #f5c400;
}
input[type="checkbox"]:checked + .switch-slider::before {
  transform: translateX(42px);
}
.label-left, .label-right {
  color: #f5c400;
  opacity: 0.2;
}
.label-left.active,
.label-right.active {
  opacity: 1;
  color: #ffcc00;
}

/* Tussenstops toevoegen */
#add-stop {
  background-color: #555;
  color: #fff;
  border: 1px dashed #ffcc00;
  font-size: 0.7rem;
  margin-left: 60px;
}
#add-stop:hover {
  background-color: #ffcc00;
  color: #fff;
}
.via-group{
    position: relative;
}
.via-group button.btn-danger {
  font-size: 1.2rem;
  padding: 0 10px;
  background-color: transparent;
  color: #dc3545;
  border: none;
  top: 0px;
  right: 0px;
}

@media (max-width: 767px) {
    #add-stop {
        margin-left: 0px;
    }
    .via-group button.btn-danger{
        top: 45px;
    }
}
/*------------------------------------------------------------
🧷 INLINE FORM LABELS FIX
------------------------------------------------------------*/
#previewRideContainer #taxiForm .form-label {
  min-width: 155px;
  display: inline-block;
}
#taxiForm .form-label {
  display: inline-block;
  white-space: nowrap;
}

#taxiForm .form-group,
#taxiForm .form-control,
#taxiForm .form-select {
  width: 100%;
}

#taxiForm .row .col-md-6 .form-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Optioneel: inputvelden iets compacter maken */
#taxiForm .form-control {
  padding: 10px 20px 10px 10px;
  font-size: 0.95rem;
}

/*------------------------------------------------------------
🧷 INLINE LABELS (.form-label-inline)
------------------------------------------------------------*/
#taxiForm .form-label-inline {
  display: inline-block;
  min-width: 130px;
  font-weight: bold;
  vertical-align: middle;
}

#taxiForm .form-label-inline ~ input,
#taxiForm .form-label-inline ~ select {
  display: inline-block;
  width: calc(100% - 140px); /* rekening houden met label breedte + ruimte */
  vertical-align: middle;
}
#taxiForm .form-check .form-check-input {
    margin-left: 10px;
    border-color: #fc0;
    font-size: 1rem;
}
#taxiForm .form-check .form-check-input:checked{
    background-color: #ffcc00;
}

/*------------------------------------------------------------
🧾 RITPREVIEW STIJLEN
------------------------------------------------------------*/
#previewRideContainer {
  background: linear-gradient(160deg, #ffcc00, #555555, #000);
  width: 95%;
  padding: 10px;
}
#previewRideContainer form {
  text-align: left;
  color: #fff;
  padding: 10px;
}
#previewRideContainer .form-label,
#previewRideContainer .form-label-value {
  color: #fff;
}
#previewRideContainer .form-label-price {
  font-weight: bold;
  font-size: 2em;
  color: #ffcc00;
  text-shadow: 3px 3px 3px rgba(85, 85, 85, 0.6);
}
#previewRideContainer .form-control,
#previewRideContainer .form-select {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 12px;
}
#previewRideContainer .form-control:focus,
#previewRideContainer .form-select:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 0 0.15rem rgba(255, 204, 0, 0.4);
}
#previewRideContainer button[type="submit"] {
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem 2rem;
}
#previewRideContainer button[type="submit"]:hover {
  background-color: #e6b800;
}


/*------------------------------------------------------------
🔳 CONFIRMATION-INFO
------------------------------------------------------------*/
#confirmation-info{
    background: linear-gradient(160deg, #ffcc00, #555555, #000);
    max-width: 750px;
    color:#fff;
}
#confirmation-info #pickup-info{
    color:#555;
}
#confirmation-info #company-process i{
    color:#ffcc00;
}
/*OLD_###################################################################################################*/



/* Algemene layout */
.booking-form {
  background: linear-gradient(135deg, #FDD85D, #FDCB4E);
  border-radius: 10px;
  color: #4b006e;
}

/* Titels */
.booking-form h3,
.booking-form h6 {
  color: #4b006e;
}

/* Labels */
.booking-form .form-label {
  font-weight: bold;
  color: #4b006e;
}

/* Input velden */
.booking-form .form-control,
.booking-form .form-select {
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Radiobuttons */
.booking-form .form-check-input {
  border: 2px solid #4b006e;
}
.booking-form .form-check-input:checked {
  background-color: #4b006e;
  border-color: #4b006e;
}
.booking-form .form-check-label {
  color: #4b006e;
}

/* Tussenstop knop */
#add-stop {
  background-color: #fff;
  color: #4b006e;
  border: 2px dashed #4b006e;
}
#add-stop:hover {
  background-color: #4b006e;
  color: #fff;
}

/* Submit knop */
.booking-form button[type="submit"] {
  background-color: #00C875;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 12px 20px;
  box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.booking-form button[type="submit"]:hover {
  background-color: #00B86B;
}

/* Plus/Verwijder tussenstop */
.via-group button.btn-danger {
  font-size: 1.2rem;
  padding: 0 10px;
  background-color: transparent;
  color: #dc3545;
  border: none;
}

/* Aantal reizigers input fix */
.booking-form input[type="number"]::-webkit-inner-spin-button,
.booking-form input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
}

/* Flatpickr style overwrite */
.booking-form input[type="text"]#pickup_time {
  cursor: pointer;
}
.bg-orange{
    background-color: orange;
}