body {
	overflow-x: hidden;
	font-size: 16px;
	line-height: 28px;
	font-family: "Inter", sans-serif !important;
	color: #000000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.material-symbols-outlined {
	font-family: "Material Symbols Outlined", sans-serif;
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: "liga";
	font-display: swap;
	/* Consistent sizing to prevent button width changes */
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

/* Only hide if fonts aren't loaded yet */
.material-symbols-outlined {
	font-display: swap;
}

/* ============================================================
   FIELD-BOX — copied from v10-fresh's Tailwind CDN visual style.
   Fresh compiles these via CDN; current uses compiled Tailwind so
   we ship the equivalent CSS by hand. Used by the flight search
   DATE box (depart + return in one split box with shared border).
   ============================================================ */
.field-box {
	position: relative;
	display: flex;
	align-items: stretch;
	height: 56px; /* matches the h-14 (56px) FROM/TO boxes and the Search
	   button so the whole row forms one even band */
	background-color: #fff;
	border: 1px solid #d8dce3;
	border-radius: 8px;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.field-box:hover {
	border-color: #98a2b3;
}
.field-box:focus-within {
	border-color: #1570ef;
	box-shadow: 0 0 0 1px #1570ef;
}
.field-box-split {
	/* single bordered capsule with two segments; base .field-box
	   already provides the shared border + flex row */
}

/* Return half of the split capsule: divider + segment, toggled
   display:flex/none by trip type (roundtrip vs oneway/multicity).
   flex 1.25 vs the departure segment's 1 → ~45/55 split: the return
   date was clipping its year ("20" of "2026") at an even 50/50. */
.field-box-return {
	display: flex;
	flex: 1.25 1 0%;
	min-width: 0;
}

.field-box-segment {
	position: relative;
	flex: 1 1 0%;
	min-width: 0;
	display: flex;
	align-items: center;
	padding-left: 44px; /* room for the icon */
	padding-right: 12px;
	cursor: pointer;
}

.field-box-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #475467;
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.field-box-content {
	flex: 1 1 0%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.2;
}

.field-box-label {
	font-size: 11px;
	font-weight: 500;
	color: #667085;
	line-height: 1;
	margin-bottom: 2px;
}

.field-box-input {
	background: transparent;
	border: 0;
	outline: none;
	padding: 0;
	width: 100%;
	font-size: 14px;
	font-weight: 500;
	color: #101828;
	cursor: pointer;
	min-height: 20px;
}
.field-box-input::placeholder {
	color: #98a2b3;
}
.field-box-input:focus {
	box-shadow: none;
}

.field-box-divider {
	width: 1px;
	background-color: #d8dce3;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #98a2b3;
	flex-shrink: 0;
}

/* ============================================================
   FLIGHT SEARCH ROW GRID — precise column proportions for the
   FROM/TO/DATE/SEARCH row on lg+. The compiled Tailwind only
   offers coarse 20% steps (grid-cols-5 + col-span-2 = 40% date),
   which made the date capsule wider than dd-mm-yyyy needs and
   starved the FROM/TO boxes (city name + airport CODE). This
   hand-rolled template gives: FROM 25% · TO 25% · DATE 30% ·
   SEARCH 20%. Base layout stays grid-cols-1 (stacked) below lg.
   ============================================================ */
@media (min-width: 1024px) {
	/* .grid prefix = specificity (0,2,0) — REQUIRED because app.css loads
	   BEFORE tailwind.compiled.css, so a bare .flight-search-grid (0,1,0)
	   loses the cascade to Tailwind's .grid-cols-1 (0,1,0, later) and the
	   row collapses into a single stacked column. */
	.grid.flight-search-grid {
		grid-template-columns: 1.25fr 1.25fr 1.5fr 1fr;
	}
	/* Enforce the fr proportions against content overflow. CSS grid items
	   default to min-width:auto, so when the date capsule gains its return
	   segment (round-trip), the DATE column's min-content width exceeds its
	   1.5fr share and pushes the whole row past its container — visible as
	   the form "expanding" on wide (max-w-[1500px]) listing wrappers while
	   the tighter home-page wrapper (max-w-6xl) hid it. min-width:0 lets each
	   item shrink below its content size so the template columns win. */
	.grid.flight-search-grid > * {
		min-width: 0;
	}
}
