/* .traoz_flight-form container styles */
.traoz_flight-form_container {
  background-color: rgba(255, 255, 255, 1);
  color: #0e0930;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 1100px;
  margin: 50px 40px;
}

.traoz_flight-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.traoz_flight-form .traoz_form-label {
  font-size: 12px;
  font-weight: 500;
  color: #0e0930;
  width: 100%;
  min-height: 12px;
  margin-bottom: 2px;
  text-wrap: nowrap;
}

.traoz_flight-form input,
.traoz_flight-form input:hover,
.traoz_flight-form input:focus,
.traoz_flight-form input:focus-visible,
.traoz_flight-form .select2-container--default .select2-selection--single {
  border: none !important;
  background-color: transparent !important;
  max-width: fit-content !important;
  outline: none !important;
}

.traoz_flight-form .select2-container {
  position: absolute;
  inset: 0;
  width: 100% !important;
  cursor: pointer;
}

.traoz_flight-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none;
}

/*.traoz_flight-form select:has(option.traoz_first-option:only-child) {*/
/*  display: none;*/
/*}*/
/* .traoz_flight_location:not(:has(~ .select2-container--below)),
.traoz_flight_location:has(~ .select2-container--open) {
  display: none;
} */
.select2-container--below ~ .traoz_flight_location {
  display: block;
}

.traoz_flight-form select {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: fit-content;
  font-size: 14px;
  font-weight: 500;
  color: #0e0930;
  background-color: transparent;
}

.traoz_flight-form select.traoz_class {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  height: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #0e0930;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7.41'%3E%3Cpath d='M16.59,8.59,12,13.17,7.41,8.59,6,10l6,6,6-6Z' transform='translate(-6 -8.59)'/%3E%3C/svg%3E");
  appearance: none;
  background-size: 14px;
  background-position: center right 14px;
  background-repeat: no-repeat;
  cursor: pointer;
  max-width: none;
  box-shadow: !important;
}

.traoz_flight-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  opacity: 0;
}

.traoz_search-button,
.traoz_search-button:hover,
.traoz_search-button:focus,
.traoz_search-button:focus-visible {
  background-color: #6c63ff !important;
  color: white !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-size: 18px !important;
}

.traoz_flight-form .select2-hidden-accessible {
  clip: unset !important;
  clip-path: unset !important;
  height: auto !important;
  width: auto !important;
  font-size: 16px;
  font-weight: bold;
  margin-top: 12px;
  color: #0e0930 !important;
  background-image: none !important;
  box-shadow: none !important;
}

#traoz_passengers,
#traoz_date_range {
  font-size: 16px;
  color: #0e0930;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.traoz_flight-form input[type="date"] {
  max-width: 200px;
}

.traoz_flight-form input[type="date"]::-webkit-inner-spin-button,
.traoz_flight-form input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

.traoz_flight-form input[type="date"] {
  -moz-appearance: textfield;
}

.traoz_hidden {
  display: none;
}

.traoz_flex {
  display: flex;
  flex-direction: column;
}

.daterangepicker {
  font-family: Arial, sans-serif;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #6c63ff;
}

.traoz_passenger-popup {
  display: none;
  position: absolute;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  z-index: 1000;
}

.traoz_passenger-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.traoz_passenger-controls {
  display: flex;
  align-items: center;
}

.traoz_passenger-controls button {
  width: 30px !important;
  height: 30px !important;
  border: 1px solid #ddd !important;
  background-color: white !important;
  color: #0e0930 !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  cursor: pointer;
  padding: 0 !important;
}

.traoz_passenger-count {
  margin: 0 10px;
  font-size: 16px;
}

.class-select {
  width: 100%;
  margin-top: 15px;
}

.traoz_done-btn,
.traoz_done-btn:hover,
.traoz_done-btn:focus,
.traoz_done-btn:focus-visible {
  width: 100%;
  margin-top: 15px;
  background-color: transparent !important;
  color: #6c63ff !important;
  border: none !important;
  text-align: end;
  text-decoration: underline;
  border-radius: 5px;
  cursor: pointer;
  padding: 0 !important;
  font-size: 16px !important;
}

.traoz_flight-form .select2-selection__rendered {
  position: absolute;
  inset: 0;
}

.traoz_main_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-block: 0;
  max-width: none;
  font-family: DM Sans, sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI,
    Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue;
  font-size: 16px;
  container-type: inline-size;
  container-name: traoz_main_container;
}

/* Additional styles for date range picker */
.daterangepicker {
  font-family: Arial, sans-serif;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #6c63ff;
}

.traoz .select2-dropdown {
  border: none !important;
  width: 430px !important;
  border-radius: 8px;
  display: flex;
  flex-direction: column-reverse;
}

.traoz .select2-results__option {
  font-size: 12px;
  padding: 10px 10px 6px;
}

.traoz .select2-search--dropdown {
  padding: 4px 10px 10px;
}

.traoz
  .select2-container--default
  .select2-search--dropdown
  .select2-search__field {
  width: 100%;
  height: 56px;
  padding: 0 10px;
  font-size: 1rem;
  background-color: #fff;
  border: 0.5px solid #e1e8ee;
  border-radius: 3px;
  color: #0e0930;
}

.traoz
  .select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  box-shadow: inset 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
  border: none;
}

.traoz_tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.traoz_tabs button,
.traoz_tabs button:active,
.traoz_tabs button:focus,
.traoz_tabs button:hover,
.traoz_tabs .btn:first-child:active,
.traoz_tabs .btn:focus-visible,
.traoz_tabs :not(.btn-check) + .btn:active {
  background: transparent !important;
  padding: 0 20px !important;
  height: 38px !important;
  border-radius: 38px !important;
  color: #fff !important;
  transition: all 0.2s ease;
  border: none !important;
  outline: none !important;
}

.traoz_tabs button.active {
  background: #fff !important;
  color: #6c63ff !important;
  border: none !important;
  outline: none !important;
}

.traoz_tabs-inner {
  background-color: rgba(14, 9, 48, 0.2);
  border-radius: 42px;
  padding: 2px;
}

.traoz-col {
  min-width: 209px;
  position: relative;
}
.traoz-col:not(:last-child) {
  border-right: 1px solid #bcbcbc;
}
.traoz .select2-selection.select2-selection--single {
  outline: none;
}

/* For drp calendar */
.daterangepicker .calendar-table td,
.daterangepicker .calendar-table th {
  padding: 1px;
}

@media screen and (max-width: 1111px) {
  .traoz_flight-form {
    flex-direction: column;
    align-items: stretch;
  }

  .traoz_search-button {
    width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .traoz_flight-form_container {
    margin: 0;
    padding-top: 30px;
    width: 100%;
  }

  .traoz-col {
    height: 60px;
    margin-top: 0 !important;
  }
  .traoz-col:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid #bcbcbc;
    margin-bottom: 6px;
  }
  .traoz .select2-dropdown {
    width: 80vw !important;
  }
  #traoz_passengers, #traoz_date_range {
    padding: 0;
  }
}

@container traoz_main_container (max-width: 1111px) {
  .traoz_flight-form {
    flex-direction: column;
    align-items: stretch;
  }

  .traoz_search-button {
    width: 100%;
  }

  .traoz-col {
    width: 50%;
    min-height: 70px !important;
  }

  .traoz-col:nth-child(2n) {
    border-right: none !important;
  }

  .traoz_form_ctn {
    display: flex;
    flex-wrap: wrap;
  }
}

@container traoz_main_container (max-width: 700px) {
  .traoz_flight-form_container {
    margin: 0;
    padding-top: 30px;
    width: 100%;
  }

  .traoz-col {
    height: 60px;
    margin-top: 0 !important;
  }
  .traoz-col:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid #bcbcbc;
    margin-bottom: 6px;
  }
  .traoz .select2-dropdown {
    width: 80vw !important;
  }
  #traoz_passengers, #traoz_date_range {
    padding: 0;
  }
  .traoz_form_ctn {
    flex-direction: column;
  }
  .traoz-col {
    width: 100%;
    min-height: auto;
  }
}