/* Flight search form design */
.flight-searc-box_web58 {
  position: relative;
  border-radius: 24px;
  margin-top: 0px;
  background: #ffffff;
  border: 1px solid rgba(16, 33, 50, 0.10);
  box-shadow: 0 18px 40px -14px rgba(16, 33, 50, 0.14);
  padding: 20px;
  z-index: 5;
}

label:has(.choose-trip-type) {
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: #4B5B6B;
  background: #FAF8F5;
  border: 1px solid rgba(16, 33, 50, 0.12);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 4px;
}

label:has(.choose-trip-type:checked) {
  background: #102132;
  border-color: #102132;
  color: #ffffff;
}

.form-group {
  position: relative;
  margin-bottom: 0px;
}

.flight-field_web58 {
  width: 100%;
  height: 64px;
  color: #102132;
  padding: 28px 14px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(16, 33, 50, 0.14);
  background: #FAF8F5;
  appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.flight-field_web58:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--coral, #D95D39);
  box-shadow: 0 0 0 0.18rem rgba(217, 93, 57, 0.14);
}

.filter-lbl_web58 {
  font-size: 11px;
  color: #4B5B6B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: absolute;
  top: 9px;
  left: 14px;
  pointer-events: none;
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ededed;
  ;
  padding: 20px;
  z-index: 1000;
  border-radius: 0 0 15px 15px;
}

.traveller-row_web58 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.traveller-row_web58>span {
  color: #000;
  font-size: 14px;
}

.traveller-row_web58>span>span {
  color: #717070;
  font-size: 11px;
  display: block;
}

.count-btn_web58 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d41c1c;
  background: #d41c1c;
  color: #fff;
  cursor: pointer;
  text-align: center;
  line-height: 23px;
  font-size: 16px;
}

.passenger-count-output_web58 {
  font-size: 14px;
  color: #000;
  width: 20px;
  display: inline-flex;
  justify-content: center;
}

.travel-class-lbl_web58 {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 5px;
}

#returnDate:disabled {
  opacity: 0.5;
}

.form-control#travelClass {
  font-size: 13px;
}

.transparent-bg {
  background: transparent !important;
}

.flight-date-input_web58 {
  background-color: #ffffff;
  cursor: pointer;
}

.flight-search-btn_web58 {
  font-size: 0.86rem;
  height: 64px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid var(--coral, #D95D39);
  background: var(--coral, #D95D39);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-top: 0px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.flight-search-btn_web58:hover {
  background: var(--coral-dark, #BA4827);
  border-color: var(--coral-dark, #BA4827);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 93, 57, 0.26);
}

/* Flight search loader */
.flight-search-loader_web58 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 33, 50, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.flight-loader-card_web58 {
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 33, 50, 0.22);
  max-width: 420px;
  margin: auto;
}

.flight-loader-icon_web58 {
  font-size: 2.75rem;
  color: var(--coral, #D95D39);
  margin-bottom: 1rem;
}

.flight-loader-title_web58 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #102132;
  margin-bottom: 0.35rem;
}

.flight-loader-txt_web58 {
  text-align: center;
  font-size: 0.92rem;
  color: #4B5B6B;
  margin: 0;
}


@media only screen and (max-width:767px) {
  .flight-searc-box_web58 {
    padding: 15px;
    margin-top: 0px !important;
    margin-top: 15px !important;
  }

  label:has(.choose-trip-type) {
    color: #000;
  }

  .flight-field_web58 {
    border-radius: 10px;
  }
}

/* jQuery UI Autocomplete & Datepicker layering */
.ui-autocomplete {
  z-index: 10050 !important;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 14px 32px rgba(16, 33, 50, 0.16);
  border-radius: 14px;
  border: 1px solid rgba(16, 33, 50, 0.12) !important;
  padding: 6px !important;
  background: #ffffff !important;
}

.ui-autocomplete .ui-menu-item-wrapper {
  padding: 8px 12px !important;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #102132;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background: rgba(217, 93, 57, 0.12) !important;
  border-color: transparent !important;
  color: #BA4827 !important;
  font-weight: 600;
}

.ui-datepicker {
  z-index: 10050 !important;
}