.flight-search-modal {
  width: min(720px, calc(100% - 28px));
}

.flight-search-modal > .muted {
  margin-bottom: 24px;
}

.flight-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.flight-fields label {
  display: block;
  margin-bottom: 12px;
  color: #526065;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.flight-fields input {
  display: block;
  width: 100%;
  margin-top: 9px;
  border: 1px solid #cbd3d0;
  border-radius: 6px;
  outline: none;
  background: #fbfcf9;
  color: var(--ink);
  padding: 15px 16px;
  text-transform: uppercase;
  font: 800 20px ui-monospace, monospace;
  letter-spacing: .12em;
}

.route-arrow {
  margin-top: 5px;
  color: #829094;
  font-size: 24px;
}

.flight-results {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.flight-result {
  min-width: 0;
  border: 1px solid #dce2dd;
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.flight-role {
  margin: 0 0 10px;
  color: #778589;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.flight-airport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flight-airport strong {
  font: 900 22px ui-monospace, monospace;
  letter-spacing: .08em;
}

.flight-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 850;
}

.flight-status.installed {
  color: #315e10;
  background: #dff3bf;
}

.flight-status.not-installed {
  color: #8c3029;
  background: #f6ddd8;
}

.flight-result h3 {
  margin: 14px 0 5px;
  font-size: 16px;
  line-height: 1.25;
}

.flight-location,
.flight-addon {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.flight-addon {
  margin-top: 10px;
  color: #536368;
  font-weight: 700;
}

.flight-route-line {
  display: flex;
  align-items: center;
  color: #8aa733;
}

.flight-route-line span {
  height: 1px;
  flex: 1;
  background: #cbd6bd;
}

.flight-route-line i {
  font-style: normal;
  font-size: 17px;
  transform: rotate(-8deg);
}

@media (max-width: 800px) {
  .flight-fields,
  .flight-results {
    grid-template-columns: 1fr;
  }

  .route-arrow {
    display: none;
  }

  .flight-route-line {
    width: 45px;
    height: 25px;
    justify-self: center;
    transform: rotate(90deg);
  }

  .flight-search-modal > .muted {
    padding-right: 20px;
  }
}
