
.step-indicator {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.step-indicator span {
    width: 35px;
    height: 35px;
    background: #e0e0e0;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.step-indicator span.active {
    background: #3985C1;
    color: #ffffff;
}

.trip-button {
    border: 1px solid black;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 16px;
    cursor: pointer;
    background-color: white;
    color: black;
    transition: all 0.3s ease;
}

.trip-button:hover {
    background-color: #3985C1;
}

.trip-button.active {
    background-color: #3985C1;
    color: white;
}

.form-wizard-container {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    gap: 20px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}


#wizard-formSteps{
    border: 1px solid rgb(170, 170, 170);
    border-radius: 5px;
    margin-top: 10px;
    width: 90%;
    margin-left: 40px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
  -webkit-appearance: none;
}


.wizard-step .row {
  align-items: end;
}

.wizard-step .form-group {
  position: relative;
}

.wizard-step .form-group select,
.wizard-step .form-group input[type="date"],
.wizard-step .form-group input[type="time"] {
  padding-left: 40px;
  height: 45px;
}

.wizard-step .form-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 15px;
  margin-top: 5px;
}

.wizard-step .form-group::before {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  color: #5a9bd5;
}

#wizard-Destination1,
#wizard-Destination2,
select[id^="wizard-Destination"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%235a9bd5" viewBox="0 0 384 512"><path d="M168 0c-92.6 0-168 75.4-168 168 0 87.1 148.7 309.2 159.5 324.4 3.1 4.6 8.3 7.6 13.9 7.6s10.8-2.8 13.9-7.4C203.3 477.4 352 255.4 352 168 352 75.4 276.6 0 184 0zm0 256c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;  
  background-size: 18px 18px;
  padding-right: 40px;                  
  height: 45px;
  border-radius: 8px;
}



.wizard-step .price-display {
  text-align: right;
  font-weight: bold;
  margin-top: 10px;
}

.wizard-global-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* gap: 10px; */
    width: 100%;
    font-weight: bold;

}

.wizard-global-buttons button {
    padding: 8px 18px;
    font-size: 16px;
    font-weight: bold;
    background-color: white;
    color: black;
    border: none;
    transition: all 0.3s ease;
    min-width: 50px;
    display:"flex";
}

#wizard-submitBtn {
    background-color: #facc15;
    color: white;
    border: none;
    font-weight: bold;
    width: 100%;
    /* max-width: 500px; */
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 17px;
    /* padding: 12px 0; */
        margin-bottom: 15px ;

}
#wizard-submitBtn:hover {
    background-color: #fbbf24;
    border: none;
}

#wizard-deleteTripBtn {
    min-width: 120px;
    text-align: center;
    color: #dc3545;
    transition: all 0.3s ease;
    visibility: hidden; 
}
#wizard-deleteTripBtn:hover {
    color: #dc3545;
}
.modal, .form-wizard-container, .wizard-step {
  overflow: visible !important;
}
select {
  position: relative;
  z-index: 9999; /
}

@media (max-width: 768px) {
  select {
    overflow: auto !important;
    display: block;
  }

  .form-group {
    overflow: visible !important;
  }

  .wizard-step {
    overflow: visible !important;
  }
}
@media (max-width: 576px) {
  .form-group {
    position: relative;
    overflow: visible !important;
  }

  select.form-select {
    position: relative;
    z-index: 1000;
  }
}

@media (max-width: 576px) {
  #wizard-formSteps {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 10px;
    padding: 15px !important;
  }

  .wizard-step {
    padding: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .wizard-step .form-group {
    margin-bottom: 18px;
  }

  .wizard-step .form-group label {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .wizard-step .form-group select,
  .wizard-step .form-group input[type="date"],
  .wizard-step .form-group input[type="time"] {
    font-size: 14px;
    height: 42px;
    padding-left: 40px;
    padding-right: 15px;
  }

  .wizard-global-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }

  .wizard-global-buttons button {
    width: 100% !important;
    max-width: 100%;
    font-size: 16px;
    text-align: center;
  }

  #wizard-submitBtn {
    width: 100% !important;
    font-size: 17px;
    padding: 12px 0;
  }

  .trip-button {
    padding: 5px 10px;
    font-size: 14px;
    min-width: 90px;
  }

  .step-indicator span {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
}

 .select2-container--default .select2-selection--single {
  border: 1px solid rgba(207, 207, 207, 0.61);
}
.select2-container--open .select2-dropdown { z-index: 99999 !important; }
.select2-container--open { z-index: 99998 !important; }
.select2-container--open.select2-container--above .select2-dropdown {
  top: 100% !important;
  bottom: auto !important;
}
    
.input-group, .country-group { overflow: visible; }
.select2-container--open .select2-dropdown { z-index: 99999 !important; }
.select2-container--open { z-index: 99998 !important; }
.select2-container--open.select2-container--above .select2-dropdown {
  top: 100% !important; bottom: auto !important;
}
.select2-container--default.select2-container--open.select2-container--above .select2-dropdown {
  top: 100% !important;
  bottom: auto !important;
}

.select2-container--default.select2-container--below .select2-dropdown {
  top: 100% !important;
  bottom: auto !important;
}
.country-group {
  display: flex;
  position: relative;
}

.country-group .select2-container {
  flex: 0 0 150px;      
  width: 150px !important;
}

.country-group > .select2-container--open {
  position: absolute !important;
  top: 46px !important;
  left: 0 !important;
  width: 150px !important;
  z-index: 99999;
}

.country-group select,
.country-group .select2-selection--single {
  height: 46px;
  border-radius: 8px 0 0 8px;
  border-right: 0 !important;
}

.country-group input.form-control {
  border-radius: 0 8px 8px 0;
  border-left: 0 !important;
  margin-left: -1px;
}

.country-group .select2-selection__rendered {
  line-height: 46px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.country-group .select2-selection__arrow {
  height: 46px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
  box-shadow: none;
  border-color: rgba(207,207,207,0.61);
}
.country-group{
  position: relative;
  display: flex;
  flex-wrap: nowrap;   
  align-items: stretch;
  gap: 0;
}

.country-group .select2-container{
  flex: 0 0 150px;    
  width: 150px !important;
  z-index: 3;            
}
.country-group input.form-control{
  flex: 1 1 auto;
  min-width: 0;       
}

.country-group .select2-selection--single{ 
  height: 46px; border-right: 0; border-radius: 8px 0 0 8px;
}
.country-group input.form-control{
  height: 46px; border-left: 0; margin-left: -1px; border-radius: 0 8px 8px 0;
}

.country-group > .select2-container--open{
  position: absolute !important;
  left: 0 !important;
  top: 46px !important;         
  width: 150px !important;     
  z-index: 99999;
}

.country-group .select2-container--default.select2-container--open .select2-selection--single,
.country-group .select2-container--default.select2-container--focus .select2-selection--single{
  border-right: 0 !important;
  border-radius: 8px 0 0 8px !important;
  box-shadow: none !important;
}
body {
  overflow: hidden !important;
}
