.request-flight-form {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out,
    margin-top 0.7s ease-in-out;
  margin-top: 0;
  /* The will-change property hints to browsers how an element is expected to change. */
  will-change: max-height, opacity, margin-top;
}
.flight-quote-form {
  border: 1px solid #8a8a8a;
  border-radius: 30px;
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  display: grid;
  grid-template-columns: 3fr 3fr 3fr 3fr;
  width: 1200px;
}
.flight-quote-form label {
  line-height: 55px;
}
.flight-quote-form img {
  width: 35px;
  height: auto;
  margin-right: 10px;
}
.flight-quote-form .country-flag {
  width: 30px;
  height: 20px;
  margin-right: 10px;
  border-radius: 2px;
}
.flight-quote-form input {
  background: transparent;
  border: 0;
  outline: none;
  padding: 0;
  padding-left: 65px;
  min-height: 55px;
  font-size: 14px;
  font-weight: 300;
  width: calc(100% - 45px);
  position: relative;
  z-index: 1;
}
.outer-wrap {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
.outer-wrap .wrapper-input {
  position: absolute;
  left: 0;
  right: 0;
}
.outer-wrap:not(:last-child):before {
  content: "";
  background-color: #8a8a8a;
  width: 1px;
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
}
.outer-wrap.dates {
  justify-content: space-between;
}
.form-cell {
  display: flex;
  align-items: center;
  width: calc(50% + 25px);
  position: relative;
}
.form-cell input {
  padding: 0 0 10px;
  width: 100%;
  padding-left: 45px;
}
.form-cell.date-return {
  width: calc(50% - 25px);
}
.form-cell.date-return input {
  margin: 0;
  width: 100%;
  padding-left: 0;
}
.time-display {
  font-size: 12px;
  color: #555;
  padding-left: 45px;
  margin-top: -15px;
  height: 15px;
  position: relative;
  transform: translateY(-7px);
}
.form-cell.date-return .time-display {
  padding-left: 0;
}
.dropdown-suggestions > div {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
}
.dropdown-suggestions {
  border-color: #8a8a8a !important;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6,
    0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
  border: 0 !important;
}
.numInputWrapper .arrowUp,
.numInputWrapper .arrowDown {
  display: none;
}
.cur-month {
  font-weight: 300 !important;
}
.cur-month:hover,
.numInputWrapper:hover {
  background: unset !important;
}
.outer-wrap .number-input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: 55px;
  position: relative;
}
.outer-wrap .number-input input {
  margin: 0;
  width: fit-content;
  padding: 0;
  text-align: center;
}
.outer-wrap .number-input label {
  margin-right: 10px;
}
.outer-wrap .number-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.outer-wrap .number-input button {
  border-radius: 50px;
  padding: 0;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  border-color: #8a8a8a;
  background: transparent;
  font-weight: 100;
  font-size: 20px;
}
.outer-wrap .number-input button:hover {
  background-color: #e0e0e0;
}
.outer-wrap .number-input button {
  position: absolute;
  z-index: 1;
}
.outer-wrap .number-input button:first-child {
  left: 0;
}
.outer-wrap .number-input button:last-child {
  right: 0;
}
.continue-button {
  border-radius: 100%;
  position: absolute;
  right: 0;
  height: 55px;
  width: 55px;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.continue-button:hover {
  background-color: #333;
}
.label-hidden > label {
  visibility: hidden;
}
.outer-wrap.from img,
.outer-wrap.to img {
  box-shadow: 1px 1px 2px 0px #8a8a8a7a;
}
.outer-wrap .default-icon {
  box-shadow: unset !important;
}
.outer-wrap.has-error {
  box-shadow: inset 0 0 0 3px #ffcdcb;
  transition: box-shadow 0.2s ease-in-out;
  z-index: 2; /* Ensure shadow is drawn over adjacent elements */
}
.flight-quote-form .from.has-error {
  /* Match parent border-radius for a clean look */
  border-top-left-radius: 29px;
  border-bottom-left-radius: 29px;
}
.request-flight-form.is-visible {
  max-height: 1500px; /* Large enough value to not clip content */
  opacity: 1;
  margin-top: 30px;
}
.flatpickr-calendar {
  padding: 15px;
}
@media all and (max-width: 1300px) {
  .flight-quote-form {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .outer-wrap:not(:last-child):before {
    display: none;
  }
}
@media all and (max-width: 640px) {
  .flight-quote-form {
    grid-template-columns: 1fr;
  }
}
