/* AirhopX flight search - isolated from the site's Bootstrap grid and legacy form rules. */
#HomeWidget { position:relative; z-index:9999; margin:-100px auto 32px; }
#HomeWidget .airhopx-source-search {
  width:100%; box-sizing:border-box; padding:16px 16px 18px;
  border:1px solid #dfe7f0; border-radius:16px; background:#fff;
  box-shadow:0 10px 28px rgba(16,42,67,.12); overflow:visible;
}
#HomeWidget .airhopx-source-search *,
#HomeWidget .airhopx-source-search *::before,
#HomeWidget .airhopx-source-search *::after { box-sizing:border-box; }
#HomeWidget #frmsearch { width:100%; margin:0; padding:0; }
#HomeWidget .ahx-trip-types {
  display:flex; align-items:center; gap:8px; width:100%; min-height:46px;
  padding:5px 10px; margin:0 0 14px; border-radius:28px;
  background:#e7f3fb;
}
#HomeWidget .ahx-trip-option {
  display:inline-flex; align-items:center; gap:7px; min-height:34px;
  margin:0; padding:7px 14px; border-radius:22px; cursor:pointer;
  color:#18334b; font-size:13px; font-weight:600; white-space:nowrap;
}
#HomeWidget .ahx-trip-option.is-active { background:#bfeabb; }
#HomeWidget .ahx-trip-option input {
  appearance:auto!important; position:static!important; display:inline-block!important;
  width:14px!important; height:14px!important; min-width:14px; margin:0!important;
  padding:0!important; transform:none!important; box-shadow:none!important;
}
#HomeWidget .ahx-fields-grid {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.2fr);
  gap:12px; width:100%; margin:0!important; padding:0!important;
  align-items:start;
}
#HomeWidget .ahx-field { position:relative; display:flex; flex-direction:column; min-width:0; margin:0; padding:0; }
#HomeWidget .ahx-field > label {
  position:static!important; display:block!important; width:auto!important;
  margin:0 0 7px!important; padding:0!important; transform:none!important;
  color:#24415e!important; background:transparent!important;
  font-size:11px!important; line-height:1.2!important; font-weight:700!important;
  letter-spacing:.025em; text-transform:uppercase;
}
#HomeWidget .ahx-field input,
#HomeWidget .ahx-field select {
  position:relative!important; inset:auto!important; display:block!important;
  width:100%!important; min-width:0!important; max-width:none!important;
  height:56px!important; min-height:56px!important; margin:0!important;
  padding:0 14px!important; border:1px solid #d6e0eb!important;
  border-radius:8px!important; background:#f8fafc!important;
  color:#26394d!important; font-family:inherit!important; font-size:14px!important; font-weight:400!important; line-height:1.3!important;
  box-shadow:none!important; transform:none!important; outline:none;
}
#HomeWidget .ahx-field input::placeholder { color:#8492a2; opacity:1; }
#HomeWidget .ahx-field input:focus,
#HomeWidget .ahx-field select:focus {
  position:relative!important; inset:auto!important; transform:none!important;
  border-color:#2e80bd!important; background:#fff!important;
  box-shadow:0 0 0 3px rgba(46,128,189,.12)!important; z-index:2;
}
#HomeWidget .ahx-field input[readonly] { cursor:pointer; }
#HomeWidget .ahx-passenger-field { z-index:70; }
#HomeWidget .ahx-passenger-pop {
  position:absolute; top:calc(100% + 9px); right:0; left:auto; z-index:100100;
  width:350px; max-width:min(350px, calc(100vw - 36px)); padding:16px;
  border:1px solid #dfe7f0; border-radius:12px; background:#fff;
  color:#26394d; box-shadow:0 14px 36px rgba(15,35,55,.2);
}
#HomeWidget .ahx-passenger-heading {
  margin:0 0 8px; padding:0 0 10px; border-bottom:1px solid #edf1f5;
  color:#18334b; font-size:14px; font-weight:700;
}
#HomeWidget .ahx-passenger-row {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:55px; padding:8px 0; border-bottom:1px solid #f0f3f6;
}
#HomeWidget .ahx-passenger-name { display:flex; flex-direction:column; gap:3px; min-width:0; }
#HomeWidget .ahx-passenger-name strong { color:#26394d; font-size:13px; font-weight:700; }
#HomeWidget .ahx-passenger-name small { color:#7b8998; font-size:11px; }
#HomeWidget .number-spinner { display:flex; align-items:center; justify-content:flex-end; gap:7px; flex:0 0 auto; }
#HomeWidget .number-spinner .pm-clicks {
  display:inline-flex!important; align-items:center; justify-content:center;
  width:30px!important; height:30px!important; padding:0!important;
  border:1px solid #d8e1eb!important; border-radius:6px!important;
  background:#fff!important; color:#24415e!important; font-size:18px!important;
  line-height:1!important; cursor:pointer;
}
#HomeWidget .number-spinner .pm-clicks:hover { border-color:#2e80bd!important; background:#eef7fd!important; }
#HomeWidget .number-spinner .count {
  display:block!important; width:42px!important; max-width:42px!important;
  height:30px!important; min-height:30px!important; padding:0!important;
  border:1px solid #e1e7ee!important; border-radius:6px!important;
  background:#f4f7fa!important; color:#24364a!important;
  text-align:center!important; font-size:13px!important;
}
#HomeWidget .ahx-passenger-actions { display:flex; justify-content:flex-end; padding-top:12px; }
#HomeWidget .ahx-passenger-actions .pax_btn {
  min-width:78px; padding:9px 16px!important; border:0!important;
  border-radius:7px!important; background:#2e80bd!important;
  color:#fff!important; font-size:13px!important; font-weight:700!important; cursor:pointer;
}
#HomeWidget .ahx-search-actions {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; width:100%; margin:14px 0 0; padding:0;
}
#HomeWidget .ahx-class-field { width:240px; max-width:100%; }
#HomeWidget .ahx-class-field select { appearance:auto; cursor:pointer; }
#HomeWidget .ahx-search-button {
  display:inline-flex; align-items:center; justify-content:center;
  width:240px; max-width:100%; height:56px; min-height:56px;
  margin:0; padding:0 22px; border:0; border-radius:9px;
  background:#0062e3; color:#fff; font-size:15px; font-weight:700;
  line-height:1; cursor:pointer; transition:background .18s ease,transform .18s ease;
}
#HomeWidget .ahx-search-button:hover { background:#004fbd; transform:translateY(-1px); }
#HomeWidget .ahx-search-button:active { transform:translateY(0); }

#HomeWidget .ahx-field:focus-within,
#HomeWidget .ahx-field.has-airport-suggestions { z-index:100001!important; }
#HomeWidget .ahx-airport-suggestions {
  position:absolute!important; top:calc(100% + 5px)!important; left:0!important; right:0!important;
  z-index:100200!important; display:block; width:100%; max-height:280px; overflow-x:hidden; overflow-y:auto;
  padding:5px!important; margin:0!important; border:1px solid #dce5ef!important; border-radius:9px!important;
  background:#fff!important; box-shadow:0 12px 28px rgba(15,35,55,.18)!important;
}
#HomeWidget .ahx-airport-suggestions[hidden] { display:none!important; }
#HomeWidget .ahx-airport-option {
  display:block!important; width:100%!important; min-height:38px!important; height:auto!important;
  margin:0!important; padding:9px 11px!important; border:0!important; border-bottom:1px solid #edf1f5!important;
  border-radius:5px!important; background:#fff!important; color:#26394d!important;
  font-family:inherit!important; font-size:13px!important; font-weight:500!important;
  line-height:1.35!important; text-align:left!important; white-space:normal!important;
  cursor:pointer!important; transform:none!important;
}
#HomeWidget .ahx-airport-option:last-child { border-bottom:0!important; }
#HomeWidget .ahx-airport-option:hover,
#HomeWidget .ahx-airport-option.is-active { background:#eef7fd!important; color:#1769aa!important; }

#HomeWidget .ui-autocomplete {
  z-index:100200!important; max-height:260px; overflow-y:auto; overflow-x:hidden;
  border:1px solid #dce5ef!important; border-radius:8px!important;
  background:#fff!important; box-shadow:0 12px 28px rgba(15,35,55,.16)!important;
}
#HomeWidget .ui-autocomplete li { padding:10px 12px!important; border-bottom:1px solid #edf1f5!important; font-size:13px; }
#HomeWidget .ui-autocomplete li:hover { background:#eef7fd!important; color:#1769aa!important; }
#HomeWidget .pop-dd:focus,
#HomeWidget .pop-dd:visited,
#HomeWidget .pop-dd:target {
  position:relative!important; inset:auto!important; transform:none!important;
  width:100%!important; height:56px!important; z-index:2!important;
}
.daterangepicker { z-index:100300!important; font-family:inherit!important; box-shadow:0 12px 30px rgba(15,35,55,.18); }
.daterangepicker td.active, .daterangepicker td.active:hover,
.daterangepicker .ranges li.active { background:#2e80bd!important; }
@media(max-width:1050px) {
  #HomeWidget .ahx-fields-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #HomeWidget .ahx-passenger-field { grid-column:auto; }
}
@media(max-width:700px) {
  #HomeWidget .airhopx-source-search { padding:13px 12px 15px; border-radius:13px; }
  #HomeWidget .ahx-fields-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 10px; }
  #HomeWidget .ahx-search-actions { align-items:stretch; }
  #HomeWidget .ahx-class-field, #HomeWidget .ahx-search-button { width:50%; }
  #HomeWidget .ahx-passenger-pop { position:fixed; top:auto; right:12px; bottom:12px; left:12px; width:auto; max-width:none; }
}
@media(max-width:460px) {
  #HomeWidget .ahx-fields-grid { grid-template-columns:1fr; }
  #HomeWidget .ahx-search-actions { flex-direction:column; align-items:stretch; }
  #HomeWidget .ahx-class-field, #HomeWidget .ahx-search-button { width:100%; }
}
