/**
 * LimoExpress Fare Calculation - "Calculate Fare" button + result panel.
 */

.limoexpress-calculate-wrap {
	margin: 8px 0 4px;
	/* flex + justify-content, not text-align: Elementor's own centering
	   only applies via justify-content on elements carrying its specific
	   e-form__buttons/elementor-field-type-submit classes, which this
	   wrapper intentionally doesn't have. !important since load order
	   relative to Elementor's own frontend.css isn't guaranteed. */
	display: flex !important;
	justify-content: center !important;
}

.limoexpress-calculate-btn {
	cursor: pointer;
	/* Elementor's .elementor-button carries width:auto/100% rules across
	   several responsive breakpoints (from the widget's own settings) that
	   this button also matches via the shared class - force auto-sizing
	   regardless of which one is currently active. */
	width: auto !important;
	flex: 0 0 auto !important;
}

.limoexpress-calculate-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.limoexpress-fare-panel {
	margin-top: 15px;
	/* Belt-and-suspenders alongside the elementor-col-100 class (see
	   ensurePanel() in fare-calculator.js): the form fields wrapper is a
	   flex container, so without an explicit full-row size this shrinks to
	   fit its content instead of spanning the row. */
	width: 100% !important;
	flex-basis: 100% !important;
}

/* Extra breathing room above "Get a Quote" once it's revealed after the
   results panel - scoped to only when it directly follows our panel, so
   it doesn't affect the submit button's normal (hidden) position or any
   other form on the site. */
.limoexpress-fare-panel+.e-form__buttons {
	margin-top: 20px;
}

.limoexpress-fare-card {
	border: 1px solid #e4e4e4;
	border-radius: 14px;
	/* No horizontal padding here - it's applied per inner block instead so
	   the map can span the card edge-to-edge (full width). */
	padding: 20px 0;
	background: #ffffff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.limoexpress-fare-rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
	padding: 0 20px;
}

.limoexpress-fare-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: #4a4a4a;
	padding-bottom: 6px;
	border-bottom: 1px dashed #eaeaea;
}

.limoexpress-fare-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	padding: 12px 20px 0;
	margin-bottom: 16px;
	border-top: 2px solid #1a1a1a;
}

.limoexpress-fare-map {
	width: 100%;
	height: 320px;
	background: #f2f2f2;
	/* Flush against the card's left/right/bottom edges - the card's own
	   border-radius + overflow:hidden clip its corners, so no radius of
	   its own is needed (and would look wrong doubled up). */
}

.limoexpress-fare-loading,
.limoexpress-fare-error {
	padding: 16px 18px;
	border-radius: 10px;
	font-size: 14px;
}

.limoexpress-fare-loading {
	background: #f4f4f5;
	color: #555555;
}

.limoexpress-fare-error {
	background: #fdecea;
	color: #b3261e;
}

@media (max-width: 600px) {
	.limoexpress-fare-map {
		height: 220px;
	}

	.limoexpress-fare-total {
		font-size: 18px;
	}
}