.flight-total {
  color: var(--ink, #111113);
  letter-spacing: 0;
}

.flight-total *,
.flight-total *::before,
.flight-total *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.flight-total h2 {
  font-size: 1.75rem;
}

.flight-total form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-block: 20px;
}

.flight-total .flight-total-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.flight-total .flight-total-travelers input {
  max-width: 8rem;
}

.flight-total fieldset {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.flight-total legend {
  padding: 0 0 10px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.flight-total label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.flight-total input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #76767e;
  border-radius: 6px;
  background: #fff;
  color: #111113;
  font: inherit;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.flight-total input:focus-visible {
  outline: 2px solid var(--blue, #0066cc);
  outline-offset: 2px;
}

.flight-total output,
.flight-total [aria-live="polite"] {
  display: block;
  min-height: 3em;
  padding-block: 16px;
  border-top: 1px solid var(--line, #e5e5ea);
  font-size: 1rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.flight-total [data-state="invalid"] {
  color: #9b1c1c;
}

@media (max-width: 639.98px) {
  .flight-total .flight-total-quotes {
    grid-template-columns: minmax(0, 1fr);
  }
}
