


/* =========================================================
   DISPATCH PAGE FINAL TWEAK
   Prevents the dispatch/search section from stretching too tall.
   ========================================================= */

.pilot-dispatch-page .pilot-content,
.pilot-dispatch .pilot-content,
.dispatch-page .pilot-content {
  align-items: start !important;
}

.dispatch-search-card,
.pilot-dispatch-search,
.dispatch-search-panel,
#dispatchSearchPanel {
  padding: 34px 44px !important;
  min-height: 0 !important;
  height: auto !important;
}

.dispatch-search-card form,
.pilot-dispatch-search form,
.dispatch-search-form,
#dispatchSearchForm {
  display: grid !important;
  grid-template-columns: minmax(150px, .85fr) minmax(150px, .85fr) minmax(260px, 2.4fr) 170px !important;
  gap: 20px !important;
  align-items: center !important;
}

.dispatch-search-card input,
.pilot-dispatch-search input,
.dispatch-search-form input,
#dispatchSearchForm input {
  height: 64px !important;
  min-height: 64px !important;
  padding: 0 22px !important;
}

.dispatch-search-card .btn,
.pilot-dispatch-search .btn,
.dispatch-search-form button,
#dispatchSearchForm button {
  height: 76px !important;
  min-height: 76px !important;
  align-self: center !important;
}

.dispatch-results-card,
.available-flights-card,
#dispatchResultsCard {
  margin-top: 34px !important;
}

@media (max-width: 1100px) {
  .dispatch-search-card form,
  .pilot-dispatch-search form,
  .dispatch-search-form,
  #dispatchSearchForm {
    grid-template-columns: 1fr !important;
  }
}
