.wrapper122 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;

  overflow: visible !important;

}



/* CARD 
.search-card122 {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 55px;
  padding: 21px 20px 18px;
  box-shadow: 0 8px 32px rgba(30, 58, 138, 0.18);
  backdrop-filter: blur(12px);

  overflow: visible !important;
}*/


.search-card122 {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 55px;
    padding: 17px 35px 15px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.18);
    backdrop-filter: blur(12px);
    overflow: visible !important;
}


/* TRIP TYPE TOGGLE */
.trip-toggle {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 50px;
  border: 2px solid #c7d2fe;
  background: #eaf2fe;
  font-family: 'Sora', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  color: #fe7b54;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 17px;
  box-shadow: 0 10px 20px -8px rgba(222, 222, 222, 0.5);
}

.toggle-btn .radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.toggle-btn.active {
  background: #ff6a3d;
  border-color: #ffffff;
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(0, 98, 227, .5);
}

.toggle-btn.active .radio-dot {
  border-color: #fff;
  background: #fff;
  color: #fff;
  box-shadow: inset 0 0 0 3px #ff6a3d;
}

a:hover,
button:hover {
  text-decoration: none;
  color: #ff6a3d;
}



/* FORM ROW */
.form-row122 {
  display: grid;
  /* grid-template-columns: 1fr .1fr 1fr .8fr .8fr 1fr auto;
      gap: 10px;
      grid-template-columns: 1fr .1fr 1fr .6fr .6fr .9fr auto;*/

  grid-template-columns: .9fr .1fr .9fr 1fr .6fr auto;
  gap: 5px;
  align-items: stretch;

  overflow: visible !important;

}

@media (max-width: 900px) {
  .form-row122 {
    grid-template-columns: 1fr 1fr;
  }

  .search-btn122 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .form-row122 {
    grid-template-columns: 1fr;
  }
}

.field-group {
  position: relative;
  background: #f2f2f2;
  border-radius: 25px;
  padding: 9px 10px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  min-width: 0;
  overflow: visible !important;
}


.field-group:focus-within {
  border-color: #3b5bdb;
  box-shadow: 0 0 0 3px #3b5bdb22;
}

.field-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #6366f1;
  padding-left: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: -4px;
}

.field-inner {
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-icon {
  color: #3b5bdb;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.field-input {
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.87rem;
  font-weight: 500;
  color: #1e293b;
  width: 100%;
  outline: none;
}

.field-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.field-input.selected {
  color: #1e3a8a;
  font-weight: 600;
}

/* AUTOCOMPLETE DROPDOWN */
/*.ac-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 10px 36px rgba(30,58,138,0.16);
      border: 1.5px solid #c7d2fe;
      z-index: 999;
      overflow: hidden;
    } */

/*
    .ac-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 10px 36px rgba(30,58,138,0.16);
      border: 1.5px solid #c7d2fe;
     z-index: 99999 !important; 
       
      visibility: visible;
      pointer-events: auto;
    }


    .ac-dropdown.show { display: block; }
    .ac-item {
      padding: 7px 9px;
      cursor: pointer;
      transition: background 0.12s;
      border-bottom: 1px solid #eef2ff;
    }
    .ac-item:last-child { border-bottom: none; }
    .ac-item:hover, .ac-item.highlighted { background: #eef2ff; }
    .ac-main { display: flex; justify-content: space-between; align-items: center; }
    .ac-city { font-weight: 600; color: #1e293b; font-size: 0.95rem; }
    .ac-code {
      background: #3b5bdb;
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 5px;
      font-family: 'Sora', sans-serif;
    }
    .ac-sub { font-size: 0.78rem; color: #6b7280; margin-top: 1px;
    line-height: 17px; }
*/


/*new*/


.ac-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 300px;
  /* fixed width */
  max-height: 380px;
  /* fixed height */
  overflow-y: auto;
  /* vertical scroll */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(30, 58, 138, 0.16);
  border: 1.5px solid #c7d2fe;
  z-index: 99999 !important;
  visibility: visible;
  pointer-events: auto;

  /* smooth scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #c7d2fe transparent;
}

.ac-dropdown::-webkit-scrollbar {
  width: 5px;
}

.ac-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.ac-dropdown::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 10px;
}

.ac-dropdown.show {
  display: block;
}

/* Each item */
.ac-item {
  padding: 9px 12px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid #eef2ff;
}

.ac-item:last-child {
  border-bottom: none;
}

.ac-item:hover,
.ac-item.highlighted {
  background: #eef2ff;
}

/* Line 1: Region/City, Country */
.ac-region {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

/* Line 2: (CODE) Airport Name — code is bold, no badge/highlight */
.ac-airport-name {
  font-size: 0.76rem;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.4;
}

.ac-airport-name strong {
  font-weight: 700;
  color: #374151;
  /* slightly darker but NOT highlighted */
}






/* SWAP BUTTON */
.swap-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #c7d2fe;
  background: #fff;
  color: #3b5bdb;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px #3b5bdb18;
}

.swap-btn:hover {
  background: #3b5bdb;
  color: #fff;
  border-color: #3b5bdb;
}

/* FROM+TO wrapper122 */
.from-to-wrap {
  display: contents;
}

/* DATE DISPLAY */
.date-display {
  font-size: 0.8rem;
  font-weight: 500;
  color: #1e293b;
  font-family: 'Sora', sans-serif;
}

.date-day {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: -10px;
}

/* HIDDEN DATE INPUT */
.hidden-date {

  /*position: absolute;
      opacity: 0;
      pointer-events: none;
      width: 0; height: 0;*/

  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;


}

/* TRAVELERS DROPDOWN */
.travelers-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.travelers-arrow {
  color: #3b5bdb;
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.travelers-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(30, 58, 138, 0.15);
  border: 1.5px solid #c7d2fe;
  padding: 12px;
  z-index: 999;
}

.travelers-panel.show {
  display: block;
}

.tp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.tp-label {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
}

.tp-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

.counter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #c7d2fe;
  background: #f0f4ff;
  color: #3b5bdb;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-weight: 700;
}

.counter-btn:hover {
  background: #3b5bdb;
  color: #fff;
  border-color: #3b5bdb;
}

.counter-val {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  min-width: 18px;
  text-align: center;
}

.tp-divider {
  border: none;
  border-top: 1px solid #eef2ff;
  margin: 14px 0;
}

.tp-class-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6366f1;
  margin-bottom: 8px;
}

.cabin-select {
  width: 100%;
  border: 1.5px solid #c7d2fe;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: #1e293b;
  background: #f0f4ff;
  outline: none;
  cursor: pointer;
  font-weight: 500;
}

.cabin-select:focus {
  border-color: #3b5bdb;
}

.tp-done {
  width: 100%;
  margin-top: 14px;
  background: #3b5bdb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.18s;
}

.tp-done:hover {
  background: #1e3a8a;
  color: white !important;
}

/* SEARCH BUTTON */
.search-btn122 {
  background: linear-gradient(135deg, #0062E3 0%, #0556c0 100%);
  color: #fff;
  border: none;
  border-radius: 52px;
  padding: 11px 26px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 16px #f59e0b44;
  letter-spacing: 0.02em;
  white-space: nowrap;
  height: 48px;
}

.search-btn122:hover {
  transform: translateY(-2px);
  color: white !important;
  box-shadow: 0 8px 24px #f59e0b55;
}

.search-btn122:active {
  transform: translateY(0);
}

/* Popular routes */
.popular {
  margin-top: 28px;
  text-align: center;
}

.popular-label {
  color: #a5b4fc;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.chip {
  background: rgba(255, 255, 255, 0.12);
  color: #e0e7ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.22);
}


input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=password],
input[type=url],
textarea {
  outline: none;
  background-color: #fff;
  height: 46px;
  width: 100%;
  border-radius: 10px;
  line-height: 56px;
  font-size: 13px;
  color: var(--tg-grey-1);
  padding-left: 13px;
  padding-right: 10px;
  border: 1px solid #a2a9ac;
}



@media only screen and (max-width: 768px) {
  .toggle-btn {
    line-height: 14px;
  }
}


input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=password],
input[type=url],
textarea {
  outline: none;
  background-color: #fff;
  height: 43px;
  width: 100%;
  border-radius: 21px;
  line-height: 54px;
  font-size: 13px !important;
  color: var(--tg-grey-1);
  padding-left: 11px;
  padding-right: 10px;
  border: 1px solid #ffffff;
}




/* mobilee*/
@media only screen and (max-width: 768px) {
  .search-card122 {
    border-radius: 18px;
    padding: 15px 11px 13px;
  }

  .date-day {
    display: none;
  }

  div#depDateGroup {
    padding: 9px 16px;
  }

  .field-label {
    display: none;
  }



}