/* iDrive Trip Planner — additive styling only, no theme rules touched.
   Deliberately plain/utility rather than matching every design-token nuance:
   this tray sits on a light section below the booking composer, never on the
   dark hero, so the site's default .button--ghost / .button--primary treatment
   (ink on light) already reads correctly here without an override. */

.trip-entry {
	display: block;
	width: 100%;
	margin-block-start: 12px;
	padding: 12px 16px;
	background: transparent;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
}
.trip-entry:hover,
.trip-entry:focus-visible {
	border-color: rgba(0, 0, 0, 0.45);
}

.trip-tray {
	margin-block-start: 12px;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.02);
}

.trip-tray__title {
	margin: 0 0 4px;
	font-weight: 700;
	font-size: 1.05em;
}
.trip-tray__hint {
	margin: 0 0 12px;
	opacity: 0.8;
	font-size: 0.92em;
}

.trip-legs {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.trip-leg {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: #fff;
	flex-wrap: wrap;
}
.trip-leg strong {
	font-weight: 600;
	font-size: 0.95em;
}
.trip-leg button {
	background: none;
	border: none;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	font-size: 0.85em;
	padding: 0;
}

.trip-options {
	margin-block: 12px;
}
.trip-options__label {
	margin: 0 0 8px;
	font-weight: 600;
}
.trip-options__none {
	margin: 8px 0;
	font-size: 0.9em;
	opacity: 0.8;
}
.trip-option {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	text-align: left;
	padding: 12px 14px;
	margin-block-end: 8px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font: inherit;
}
.trip-option:hover,
.trip-option:focus-visible {
	border-color: rgba(0, 0, 0, 0.4);
}
.trip-option strong {
	font-size: 1em;
}
.trip-option span {
	font-size: 0.88em;
	opacity: 0.8;
}

.trip-chosen {
	margin: 0 0 12px;
	font-weight: 600;
}

.trip-review {
	display: grid;
	gap: 10px;
	margin-block-end: 12px;
}
.trip-review label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.9em;
	font-weight: 600;
}
.trip-review input,
.trip-review textarea {
	font: inherit;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	min-height: 44px;
}
.trip-review textarea {
	min-height: 72px;
	resize: vertical;
}

.trip-status {
	min-height: 1.2em;
	margin-block: 4px 8px;
	font-size: 0.9em;
}
.trip-status[data-tone="error"] {
	color: #b3261e;
}
.trip-status[data-tone="success"] {
	color: #1c6b2e;
}

.trip-tray__actions,
.trip-add {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 480px) {
	.trip-tray {
		padding: 12px;
	}
	.trip-leg {
		flex-direction: column;
		align-items: flex-start;
	}
}
