/* Shared booking steps; input color overrides the plugin global field rule. */

.trip-details-wrapper select.chauffeur-count-native,
.trip-details-wrapper .chauffeur-count-control,
.full-booking-wrapper select.chauffeur-count-native,
.full-booking-wrapper .chauffeur-count-control {
    border: 1px solid rgba(35, 76, 143, 0.14);
}

.trip-details-wrapper,
.trip-details-wrapper p,
.trip-details-wrapper .trip-details-wrapper-1 span,
.trip-details-wrapper .trip-details-wrapper-2 span,
.full-booking-wrapper p,
.full-booking-wrapper span,
.full-booking-wrapper li,
.full-booking-wrapper td,
.full-booking-wrapper address {
    color: var(--tm24-neutral-text-strong, #242424);
}

.trip-details-wrapper h1,
.trip-details-wrapper h2,
.trip-details-wrapper h3,
.trip-details-wrapper h4,
.trip-details-wrapper h5,
.trip-details-wrapper h6,
.full-booking-wrapper h1,
.full-booking-wrapper h2,
.full-booking-wrapper h3,
.full-booking-wrapper h4,
.full-booking-wrapper h5,
.full-booking-wrapper h6,
.full-booking-wrapper .total-price strong,
.full-booking-wrapper .total-price span,
.full-booking-wrapper .total-price-wrapper strong,
.full-booking-wrapper .total-price-wrapper span,
.full-booking-wrapper .booking-total strong,
.full-booking-wrapper .booking-total span,
.full-booking-wrapper .booking-total-wrapper strong,
.full-booking-wrapper .booking-total-wrapper span {
    color: #173f78;
}

.trip-details-wrapper strong,
.trip-details-wrapper label,
.trip-details-wrapper .trip-details-wrapper-1 p strong,
.trip-details-wrapper .trip-details-wrapper-2 p strong,
.trip-details-wrapper .select-wrapper i,
.trip-details-wrapper .icon-input-wrapper i,
.full-booking-wrapper strong,
.full-booking-wrapper b,
.full-booking-wrapper label,
.full-booking-wrapper th,
.full-booking-wrapper .clearfix .qns-one-half p strong,
.full-booking-wrapper .passenger-details-wrapper .clearfix p strong,
.full-booking-wrapper .additional-information-wrapper p strong {
    color: var(--tm24-neutral-text-heading, #333333);
}

.trip-details-wrapper .trip-details-wrapper-2 {
    border: 1px solid rgba(35,76,143,0.18);
    border-radius: 12px;
    overflow: hidden;
}

body .trip-details-wrapper input[type="text"],
body .trip-details-wrapper input[type="email"],
body .trip-details-wrapper input[type="tel"],
body .trip-details-wrapper input[type="number"],
body .trip-details-wrapper select,
body .trip-details-wrapper textarea,
.full-booking-wrapper input[type="text"],
.full-booking-wrapper input[type="email"],
.full-booking-wrapper input[type="tel"],
.full-booking-wrapper input[type="number"],
.full-booking-wrapper select,
.full-booking-wrapper textarea {
    color: var(--tm24-neutral-text-strong, #242424);
    background: #ffffff;
    border: 1px solid rgba(35,76,143,0.14);
}

.trip-details-wrapper input::placeholder,
.trip-details-wrapper textarea::placeholder,
.full-booking-wrapper input::placeholder,
.full-booking-wrapper textarea::placeholder {
    color: #858b92;
    opacity: 1;
}

.trip-details-wrapper button,
.trip-details-wrapper .view-map-button,
.trip-details-wrapper .payment-button,
.trip-details-wrapper a.view-map-button,
.trip-details-wrapper button span,
.trip-details-wrapper button i,
.trip-details-wrapper .view-map-button span,
.trip-details-wrapper .view-map-button i,
.trip-details-wrapper .payment-button span,
.trip-details-wrapper .payment-button i,
.trip-details-wrapper a.view-map-button span,
.trip-details-wrapper a.view-map-button i,
.full-booking-wrapper button,
.full-booking-wrapper input[type="submit"],
.full-booking-wrapper .button,
.full-booking-wrapper a.button,
.full-booking-wrapper [class*="button"],
.full-booking-wrapper button i,
.full-booking-wrapper button span,
.full-booking-wrapper .button i,
.full-booking-wrapper .button span,
.full-booking-wrapper a.button i,
.full-booking-wrapper a.button span,
.full-booking-wrapper [class*="button"] i,
.full-booking-wrapper [class*="button"] span {
    color: #ffffff;
}

body .trip-details-wrapper label span,
body .trip-details-wrapper .required {
    color: #c94f5d;
}

.trip-details-wrapper .trip-details-wrapper-1 p,
.trip-details-wrapper .trip-details-wrapper-2 p,
.full-booking-wrapper .clearfix .qns-one-half p {
    border-bottom: 1px solid rgba(35,76,143,0.13);
}

.trip-details-wrapper hr {
    border-color: rgba(35,76,143,0.13);
}

.full-booking-wrapper {
    color: var(--tm24-neutral-text-strong, #242424);
    border: 1px solid rgba(35,76,143,0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(35,76,143,0.06);
}

.full-booking-wrapper a:not(.button):not([class*="button"]) {
    color: #173f78;
    text-decoration: none;
}

.full-booking-wrapper hr {
    border: 0;
    border-top: 1px solid rgba(35,76,143,0.13);
}

.full-booking-wrapper hr.space2 {
    display: none;
}

.full-booking-wrapper .passenger-details-wrapper,
.full-booking-wrapper .passenger-details,
.full-booking-wrapper .passengers-details-wrapper,
.full-booking-wrapper .additional-information-wrapper,
.full-booking-wrapper .additional-information,
.full-booking-wrapper .total-price-display {
    border: 1px solid rgba(35,76,143,0.13);
    border-radius: 12px;
    overflow: hidden;
}

.full-booking-wrapper .total-price-inner {
    border-bottom: 0;
}

.full-booking-wrapper .total-price,
.full-booking-wrapper .total-price-wrapper,
.full-booking-wrapper .booking-total,
.full-booking-wrapper .booking-total-wrapper {
    color: #173f78;
    border-color: #234c8f;
}

.full-booking-wrapper table {
    border-collapse: collapse;
    border-spacing: 0;
}

.full-booking-wrapper th,
.full-booking-wrapper td,
.main-content .full-booking-wrapper table.shop_table th,
.main-content .full-booking-wrapper table.shop_table td {
    border: 1px solid rgba(35,76,143,0.13);
}

.main-content .full-booking-wrapper table.shop_table strong {
    color: inherit;
}

.full-booking-wrapper table tr,
.full-booking-wrapper table thead,
.full-booking-wrapper table tbody,
.full-booking-wrapper table tfoot {
    border: 0;
}

.full-booking-wrapper table tr:first-child th,
.full-booking-wrapper table tr:first-child td {
    border-top-width: 1px;
}

.full-booking-wrapper.full-booking-wrapper-3.clearfix .qns-one-half .clearfix span span {
    width: 100%;
}

.booking-form-1 .clearfix:has(textarea) {
    display: none;
}

.GooglePayButton {
    max-width: 152px;
    width: 100%;
    margin: 0 auto;
}

.booking-form-1 .iti {
    margin-bottom: 25px;
}

textarea[name="additional-info"] {
    color: #000;
}

.vehicle-section {
    border: 2px solid #dfe7ee;
    outline: 0;
    background: #fff;
    border-radius: 14px;
    transition: border-color 0.2s ease,background-color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;
}

.vehicle-section:hover {
    border-color: #1e73be;
    background: #f7fbff;
    box-shadow: 0 8px 22px rgba(20,60,90,0.12);
    transform: translateY(-2px);
}

.vehicle-section.vehicle-selected,
.vehicle-section.selected,
.vehicle-section.active,
.vehicle-section.ui-state-active,
.vehicle-section[aria-selected="true"],
.vehicle-section:has(input[type="radio"]:checked),
.vehicle-section:has(input[type="checkbox"]:checked) {
    border-color: #27ae60;
    background: #f2fbf6;
    box-shadow: 0 0 0 3px rgba(39,174,96,0.14),0 8px 22px rgba(20,90,55,0.12);
    transform: none;
}

.trip-details-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(20,45,70,0.14);
}

.trip-details-wrapper input,
body .trip-details-wrapper select,
body .trip-details-wrapper textarea,
.trip-details-wrapper .select-wrapper {
    border-radius: 10px;
}

/* Booking progress: shared by initial and AJAX-rendered steps. */
/* ==========================================
   Transfer Me — Booking progress
   ========================================== */

.tm24-booking-progress {
	width: 100%;
	margin: 0 0 34px;
	padding: 22px 24px 20px;

	box-sizing: border-box;

	border: 1px solid #dce8f4;
	border-radius: 18px;

	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#f7fbff 58%,
			#eef6fd 100%
		);

	box-shadow:
		0 10px 30px rgba(28, 69, 112, 0.07);
}

.tm24-booking-progress__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;

	margin-bottom: 20px;
}

.tm24-booking-progress__eyebrow {
	display: flex;
	align-items: center;
	gap: 7px;

	margin-bottom: 5px;

	color: #347ac5;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.25;
	text-transform: uppercase;
}

.tm24-booking-progress__eyebrow svg {
	flex: 0 0 auto;

	width: 16px;
	height: 16px;
}

.tm24-booking-progress__title {
	margin: 0;

	color: #071025;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.tm24-booking-progress__counter {
	flex: 0 0 auto;

	padding: 7px 11px;

	border: 1px solid #cfe0f2;
	border-radius: 999px;

	background: rgba(255, 255, 255, 0.88);

	color: #2f6fb3;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.tm24-booking-progress__steps {
	position: relative;

	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));

	margin: 0;
	padding: 0;

	list-style: none;
}

/*
 * Серая фоновая линия.
 */
.tm24-booking-progress__steps::before {
	content: "";

	position: absolute;
	top: 20px;
	left: 12.5%;
	right: 12.5%;
	z-index: 0;

	height: 3px;

	border-radius: 999px;
	background: #dce7f2;
}

/*
 * Заполненная синяя линия.
 */
.tm24-booking-progress__steps::after {
	content: "";

	position: absolute;
	top: 20px;
	left: 12.5%;
	z-index: 1;

	width: calc(
		(75% * var(--tm24-progress)) / 100
	);
	height: 3px;

	border-radius: 999px;

	background:
		linear-gradient(
			90deg,
			#4d92da 0%,
			#2f77c4 100%
		);

	transition: width 0.35s ease;
}

.tm24-booking-progress__step {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;
	align-items: center;

	min-width: 0;

	text-align: center;
}

.tm24-booking-progress .tm24-step-navigation {
    margin: 0;
    width: 100%;
}

body .tm24-booking-progress button.tm24-booking-progress__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    text-transform: none;
    cursor: pointer;
}

body .tm24-booking-progress button.tm24-booking-progress__back:hover .tm24-booking-progress__circle {
    border-color: var(--tm24-action-hover, #155a96);
    transform: translateY(-2px);
}

body .tm24-booking-progress button.tm24-booking-progress__back:focus-visible {
    outline: 2px solid var(--tm24-action-hover, #155a96);
    outline-offset: 4px;
}

.tm24-booking-progress__circle {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	height: 42px;

	box-sizing: border-box;

	border: 2px solid #cfdeed;
	border-radius: 50%;

	background: #ffffff;

	box-shadow: 0 4px 12px rgba(31, 75, 119, 0.07);

	color: #7d8c9e;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;

	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.tm24-booking-progress__step.is-complete
.tm24-booking-progress__circle {
	border-color: #4b90d7;

	background: #eaf4ff;
	color: #347ac5;
}

.tm24-booking-progress__step.is-current
.tm24-booking-progress__circle {
	border-color: #347ac5;

	background:
		linear-gradient(
			135deg,
			#4d92da 0%,
			#2f77c4 100%
		);

	box-shadow:
		0 7px 18px rgba(47, 119, 196, 0.27);

	color: #ffffff;

	transform: scale(1.08);
}

.tm24-booking-progress__check {
	display: block;

	width: 18px;
	height: 18px;
}

.tm24-booking-progress__label {
	display: block;

	max-width: 135px;
	margin-top: 10px;

	color: #7b8798;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
}

.tm24-booking-progress__step.is-complete
.tm24-booking-progress__label {
	color: #4d6782;
}

.tm24-booking-progress__step.is-current
.tm24-booking-progress__label {
	color: #174f89;
	font-weight: 800;
}

/* ==========================================
   Mobile
   ========================================== */

@media (max-width: 640px) {
	.tm24-booking-progress {
		margin: 0 0 28px;
		padding: 17px 16px 16px;

		border-radius: 16px;

		box-shadow:
			0 8px 24px rgba(28, 69, 112, 0.065);
	}

	.tm24-booking-progress__header {
		align-items: center;
		gap: 12px;

		margin-bottom: 17px;
	}

	.tm24-booking-progress__eyebrow {
		margin-bottom: 3px;

		font-size: 10px;
		letter-spacing: 0.065em;
	}

	.tm24-booking-progress__eyebrow svg {
		width: 14px;
		height: 14px;
	}

	.tm24-booking-progress__title {
		font-size: 19px;
	}

	.tm24-booking-progress__counter {
		padding: 6px 9px;

		font-size: 11px;
	}

	.tm24-booking-progress__steps::before {
		top: 18px;
	}

	.tm24-booking-progress__steps::after {
		top: 18px;
	}

	.tm24-booking-progress__circle {
		width: 38px;
		height: 38px;

		font-size: 13px;
	}

	.tm24-booking-progress__check {
		width: 17px;
		height: 17px;
	}

	/*
	 * На мобильном подписи под каждым шагом скрываем,
	 * чтобы ничего не слипалось.
	 */
	.tm24-booking-progress__label {
		display: none;
	}
}

@media (max-width: 390px) {
	.tm24-booking-progress {
		padding-right: 13px;
		padding-left: 13px;
	}

	.tm24-booking-progress__title {
		font-size: 18px;
	}

	.tm24-booking-progress__counter {
		font-size: 10px;
	}
}
