/*
 * Second-stage quote form: collapsed journey summary.
 * Per Kevin Geronimo's UI illustration "Form 2nd Stage Test.png"
 * (thread "2nd Stage UI Illustration Buscharter", 13-15 Nov 2026).
 *
 * Stage 2 opens with the start/destination inputs and the pickup date & time
 * row folded into a read-only strip under the map; EDIT brings the original
 * second stage back. Every selector below is new, so nothing the plugin or the
 * timepicker A/B build styles is touched.
 */

.bc-s2-hidden {
	display: none !important;
}

.bc-s2-summary {
	display: flex;
	align-items: stretch;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #d5d5d5;
	border-top: 0;
	padding: 8px 10px;
	gap: 10px;
	font-size: 14px;
	line-height: 1.35;
}

.bc-s2-summary[hidden] {
	display: none;
}

.bc-s2-summary__places {
	flex: 1 1 auto;
	min-width: 0;
}

.bc-s2-summary__place {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 6px;
	overflow-wrap: anywhere;
}

.bc-s2-summary__place + .bc-s2-summary__place {
	margin-top: 2px;
}

.bc-s2-summary__dot {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	/* baseline-aligned flex items ignore height on an empty span */
	align-self: center;
}

.bc-s2-summary__place--pickup .bc-s2-summary__dot {
	background: #ef5350;
}

.bc-s2-summary__place--dest .bc-s2-summary__dot {
	background: #43a047;
}

.bc-s2-summary__when {
	flex: 0 0 auto;
	border-left: 1px solid #c9c9c9;
	padding-left: 10px;
	white-space: nowrap;
}

.bc-s2-summary__when p {
	margin: 0;
}

.bc-s2-summary__when p + p {
	margin-top: 2px;
}

/* Scoped through the strip so the theme's own button styling - on WordPress
   pages Elementor's ".elementor-kit-6 button" - cannot turn this back into a
   padded, rounded, filled button. The resets below are the properties that
   rule sets. */
.bc-s2-summary .bc-s2-summary__edit {
	flex: 0 0 auto;
	align-self: center;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0 2px;
	min-width: 0;
	min-height: 0;
	color: #1155cc;
	font: inherit;
	font-weight: 700;
	line-height: inherit;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
}

.bc-s2-summary .bc-s2-summary__edit:hover,
.bc-s2-summary .bc-s2-summary__edit:focus {
	background: none;
	color: #0b3d91;
}

@media (max-width: 400px) {
	.bc-s2-summary {
		font-size: 13px;
		padding: 7px 8px;
		gap: 8px;
	}

	.bc-s2-summary__when {
		padding-left: 8px;
	}
}
