/* =============================================================
   WTD · Next Trip Card widget
   =============================================================
   Self-contained styles for the dashboard's Up next trip card.
   Loaded only when the widget actually renders on a page.
   ============================================================= */

.wtd-next-trip {
	background: #fff;
	border: 1px solid #EFEFEF;
	border-radius: 12px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 6px 1fr;
	min-width: 0;
}

.wtd-next-trip--empty {
	display: block;
	padding: 28px;
	color: #8A8D91;
	font-size: 14px;
	font-style: italic;
	text-align: center;
}

.wtd-next-trip__bar {
	/* background color is set inline per-trip */
}

.wtd-next-trip__body {
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* ─── Header row (eyebrow / title / meta + status pill) ─────── */
.wtd-next-trip__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.wtd-next-trip__title-group {
	min-width: 0;
}

.wtd-next-trip__eyebrow {
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8A8D91;
	margin: 0 0 4px;
}

.wtd-next-trip__title {
	font-family: 'Roboto Slab', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #222527;
	margin: 0 0 4px;
}

.wtd-next-trip__meta {
	font-size: 14px;
	color: #555;
	margin: 0;
}

.wtd-next-trip__status {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 14px;
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ─── Stop timeline ─────────────────────────────────────────── */
.wtd-next-trip__timeline {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 0 4px;
	border-top: 1px solid #EFEFEF;
	flex-wrap: wrap;
}

.wtd-next-trip__stop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.wtd-next-trip__stop-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #F6F6F6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
}

.wtd-next-trip__stop-name {
	font-size: 10px;
	color: #555;
	margin: 0;
	font-weight: 500;
	text-align: center;
	max-width: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wtd-next-trip__stop-nights {
	font-size: 9px;
	color: #2AA6A0;
	margin: 0;
	font-weight: 700;
	text-align: center;
}

.wtd-next-trip__stop-connector {
	height: 1px;
	background: #D0D0D0;
	flex: 1 1 8px;
	min-width: 8px;
	margin-top: 14px; /* visually aligned with the centre of the 28px icon */
	align-self: flex-start;
}

/* ─── Outlook callout ───────────────────────────────────────── */
.wtd-next-trip__outlook {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #F6F6F6;
	border-radius: 8px;
	color: #555;
}

.wtd-next-trip__outlook-icon {
	flex-shrink: 0;
	color: #555;
}

.wtd-next-trip__outlook-text {
	font-size: 13px;
	margin: 0;
	font-weight: 500;
	line-height: 1.4;
}

/* ─── Mobile adjustments ────────────────────────────────────── */
@media (max-width: 600px) {
	.wtd-next-trip__body {
		padding: 16px 18px;
	}
	.wtd-next-trip__title {
		font-size: 19px;
	}
	.wtd-next-trip__stop-name {
		font-size: 11px;
		max-width: 70px;
	}
}
