.txcf {
	--txcf-bg: #ffffff;
	--txcf-panel: #f4f6ff;
	--txcf-panel-hover: #eaf0ff;
	--txcf-border: #181e76;
	--txcf-text: #181e76;
	--txcf-muted: #596194;
	--txcf-orange: #357ff7;
	--txcf-orange-dark: #181e76;
	position: relative;
	z-index: 10;
	container-type: inline-size;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	color: var(--txcf-text);
	font-family: inherit;
	letter-spacing: 0;
}

.txcf,
.txcf * {
	box-sizing: border-box;
}

.txcf button,
.txcf input {
	font: inherit;
	letter-spacing: 0;
}

.txcf button {
	border: 0;
}

.txcf__form {
	position: relative;
	margin: 0;
	border: 1px solid var(--txcf-border);
	border-top-color: var(--txcf-orange-dark);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(24, 30, 118, 0.16);
	overflow: visible;
}

.txcf__main {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.7fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
	min-height: 108px;
	padding: 10px;
}

.txcf__field,
.txcf__dates {
	position: relative;
	min-width: 0;
	border-right: 1px solid var(--txcf-border);
}

.txcf__trigger,
.txcf__date {
	appearance: none;
	-webkit-appearance: none;
	color: inherit;
	background: transparent;
	cursor: pointer;
}

.txcf__trigger {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 86px;
	padding: 14px 20px;
	text-align: left;
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.txcf__trigger:hover,
.txcf__trigger:focus-visible,
.txcf__field.is-open .txcf__trigger {
	background: var(--txcf-panel);
	box-shadow: inset 0 -2px 0 var(--txcf-orange);
	outline: none;
}

.txcf__trigger:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.txcf__icon {
	display: grid;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	margin-right: 14px;
	place-items: center;
	border: 1px solid #181e76;
	border-radius: 50%;
	background: #ffffff;
	color: #181e76;
}

.txcf__field.is-open .txcf__icon,
.txcf__trigger:hover .txcf__icon {
	border-color: #357ff7;
	color: var(--txcf-orange);
}

.txcf-svg,
.txcf-svg svg {
	display: block;
	width: 20px;
	height: 20px;
}

.txcf-svg svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.txcf__field-copy {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
}

.txcf__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--txcf-muted);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

.txcf__field-copy strong,
.txcf__date strong {
	display: block;
	min-width: 0;
	color: var(--txcf-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.txcf__chevron {
	flex: 0 0 auto;
	margin-left: 10px;
	color: #181e76;
	transition: color 160ms ease, transform 160ms ease;
}

.txcf__chevron .txcf-svg,
.txcf__chevron .txcf-svg svg {
	width: 17px;
	height: 17px;
}

.txcf__field.is-open .txcf__chevron {
	color: var(--txcf-orange);
	transform: rotate(180deg);
}

.txcf__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 10010;
	width: max(100%, 330px);
	max-height: 330px;
	padding: 7px;
	border: 1px solid #181e76;
	border-radius: 8px;
	background: var(--txcf-panel);
	box-shadow: 0 18px 48px rgba(24, 30, 118, 0.22);
	overflow-y: auto;
}

.txcf__field--rental .txcf__menu {
	right: 0;
	left: auto;
	width: max(100%, 250px);
}

.txcf__menu[hidden] {
	display: none;
}

.txcf__option {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) 20px;
	align-items: center;
	width: 100%;
	min-height: 43px;
	padding: 8px 11px;
	border-radius: 6px;
	color: #181e76;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.txcf__option:hover,
.txcf__option:focus-visible,
.txcf__option.is-selected {
	color: #ffffff;
	background: #357ff7;
	outline: none;
}

.txcf__option .txcf-svg,
.txcf__option .txcf-svg svg {
	width: 16px;
	height: 16px;
}

.txcf__option span:nth-child(2) {
	padding: 0 8px;
	overflow-wrap: anywhere;
}

.txcf__option-check {
	display: none;
	justify-self: end;
}

.txcf__option.is-selected .txcf__option-check {
	display: block;
}

.txcf__dates {
	display: grid;
	grid-template-columns: minmax(118px, 1fr) 24px minmax(118px, 1fr) 38px;
	align-items: center;
	padding: 0 10px;
	transition: background-color 160ms ease, box-shadow 160ms ease;
}

.txcf__dates:hover,
.txcf__dates.is-active {
	background: #eaf0ff;
	box-shadow: inset 0 -2px 0 var(--txcf-orange);
}

.txcf__date {
	min-width: 0;
	height: 100%;
	padding: 15px 8px;
	text-align: left;
}

.txcf__date:focus-visible {
	outline: 2px solid var(--txcf-orange);
	outline-offset: -3px;
}

.txcf__date strong {
	font-size: 15px;
}

.txcf__date-arrow,
.txcf__calendar-icon {
	display: grid;
	place-items: center;
	color: #181e76;
}

.txcf__date-arrow .txcf-svg,
.txcf__date-arrow .txcf-svg svg {
	width: 16px;
	height: 16px;
}

.txcf__calendar-icon {
	color: #181e76;
}

.txcf__calendar-input {
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.txcf__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	width: calc(100% - 10px);
	max-width: calc(100% - 10px);
	margin-left: 10px;
	border-radius: 8px;
	color: #ffffff;
	background: #357ff7;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

.txcf__submit:hover,
.txcf__submit:focus-visible {
	color: #ffffff;
	background: #246de5;
	outline: 2px solid #a9c8ff;
	outline-offset: -4px;
}

.txcf__submit:active {
	transform: translateY(1px);
}

.txcf__submit .txcf-svg,
.txcf__submit .txcf-svg svg {
	width: 19px;
	height: 19px;
}

.txcf__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	min-height: 58px;
	margin: 0 10px;
	border-top: 1px solid #181e76;
	color: #181e76;
	font-size: 16px;
	text-align: center;
}

.txcf__features span {
	padding: 10px;
}

.txcf__error {
	position: absolute;
	top: calc(100% + 8px);
	left: 10px;
	z-index: 10020;
	margin: 0;
	padding: 0;
	border-radius: 5px;
	color: #fff;
	background: #b73737;
	font-size: 13px;
	line-height: 1.4;
}

.txcf__error:not(:empty) {
	padding: 8px 12px;
}

/* Flatpickr theme */
.flatpickr-calendar.txcf-calendar {
	z-index: 100000;
	width: 650px;
	padding: 14px 14px 12px;
	border: 1px solid #181e76;
	border-radius: 8px;
	background: var(--txcf-panel, #f4f6ff);
	box-shadow: 0 24px 64px rgba(24, 30, 118, 0.26);
}

.flatpickr-calendar.txcf-calendar::before,
.flatpickr-calendar.txcf-calendar::after {
	display: none;
}

.txcf-calendar .flatpickr-months,
.txcf-calendar .flatpickr-month,
.txcf-calendar .flatpickr-weekdays,
.txcf-calendar span.flatpickr-weekday {
	color: #181e76;
	background: transparent;
}

.txcf-calendar .flatpickr-months {
	padding-bottom: 8px;
	border-bottom: 1px solid #181e76;
}

.txcf-calendar .flatpickr-current-month {
	font-size: 15px;
	font-weight: 700;
}

.txcf-calendar .flatpickr-current-month input.cur-year,
.txcf-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.txcf-calendar .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
	color: #181e76;
	background: var(--txcf-panel, #f4f6ff);
}

.txcf-calendar .flatpickr-prev-month,
.txcf-calendar .flatpickr-next-month {
	top: 10px;
	color: #181e76;
	fill: #181e76;
}

.txcf-calendar .flatpickr-prev-month:hover svg,
.txcf-calendar .flatpickr-next-month:hover svg {
	fill: var(--txcf-orange, #ff8a2a);
}

.txcf-calendar .flatpickr-innerContainer,
.txcf-calendar .flatpickr-rContainer,
.txcf-calendar .flatpickr-days {
	width: 100%;
}

.txcf-calendar .flatpickr-weekdays,
.txcf-calendar .flatpickr-days {
	display: flex;
}

.txcf-calendar .flatpickr-weekdaycontainer,
.txcf-calendar .dayContainer {
	width: 50%;
	min-width: 50%;
	max-width: 50%;
}

.txcf-calendar .flatpickr-weekday {
	color: #596194;
	font-size: 11px;
	font-weight: 500;
}

.txcf-calendar .flatpickr-day {
	max-width: none;
	color: #181e76;
	border-color: transparent;
	border-radius: 50%;
}

.txcf-calendar .flatpickr-day:hover,
.txcf-calendar .flatpickr-day:focus {
	color: #181e76;
	border-color: #357ff7;
	background: #dbe7ff;
}

.txcf-calendar .flatpickr-day.today {
	border-color: var(--txcf-orange, #ff8a2a);
}

.txcf-calendar .flatpickr-day.selected,
.txcf-calendar .flatpickr-day.startRange,
.txcf-calendar .flatpickr-day.endRange,
.txcf-calendar .flatpickr-day.selected:hover,
.txcf-calendar .flatpickr-day.startRange:hover,
.txcf-calendar .flatpickr-day.endRange:hover {
	color: #ffffff;
	border-color: var(--txcf-orange, #ff8a2a);
	background: var(--txcf-orange, #ff8a2a);
	font-weight: 700;
}

.txcf-calendar .flatpickr-day.inRange {
	border-color: transparent;
	background: #dbe7ff;
	box-shadow: -5px 0 0 #dbe7ff, 5px 0 0 #dbe7ff;
}

.txcf-calendar .flatpickr-day.flatpickr-disabled,
.txcf-calendar .flatpickr-day.prevMonthDay,
.txcf-calendar .flatpickr-day.nextMonthDay {
	color: #9498b8;
}

@media (max-width: 1100px) {
	.txcf__main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 1px;
		background: var(--txcf-border);
	}

	.txcf__field,
	.txcf__dates {
		border-right: 0;
		background: var(--txcf-bg);
	}

	.txcf__submit {
		width: 100%;
		max-width: 100%;
		min-height: 74px;
		margin: 0;
	}
}

@container (max-width: 1100px) {
	.txcf__main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 1px;
		background: var(--txcf-border);
	}

	.txcf__field,
	.txcf__dates {
		border-right: 0;
		background: var(--txcf-bg);
	}

	.txcf__submit {
		width: 100%;
		max-width: 100%;
		min-height: 74px;
		margin: 0;
	}
}

@media (max-width: 720px) {
	.txcf__main {
		grid-template-columns: minmax(0, 1fr);
		padding: 8px;
	}

	.txcf__trigger {
		min-height: 76px;
		padding: 10px 14px;
	}

	.txcf__icon {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.txcf__field-copy strong,
	.txcf__date strong {
		font-size: 15px;
	}

	.txcf__dates {
		grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 30px;
		min-height: 76px;
		padding: 0 7px;
	}

	.txcf__date {
		padding: 10px 5px;
	}

	.txcf__eyebrow {
		font-size: 10px;
	}

	.txcf__submit {
		min-height: 58px;
	}

	.txcf__features {
		grid-template-columns: 1fr;
		padding: 8px 0;
	}

	.txcf__features span {
		padding: 5px 10px;
	}

	.txcf__menu,
	.txcf__field--rental .txcf__menu {
		right: 0;
		left: 0;
		width: 100%;
		max-height: 245px;
	}

	.flatpickr-calendar.txcf-calendar {
		width: calc(100vw - 24px);
		max-width: 360px;
		padding: 10px;
	}

	.txcf-calendar .flatpickr-weekdaycontainer,
	.txcf-calendar .dayContainer {
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 720px) {


	.txcf .txcf__main {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 0;
		background: #fff;
	}

	.txcf .txcf__field,
	.txcf .txcf__dates {
		border-right: 0;
		border-bottom: 1px solid #181e76;
		background: #fff;
	}

	.txcf .txcf__field--rental {
		border-bottom: 0;
	}

	.txcf .txcf__submit {
		width: calc(100% - 20px);
		max-width: calc(100% - 20px);
		min-height: 58px;
		margin: 10px;
		color: #fff;
		background: #357ff7;
	}

	.txcf .txcf__features {
		grid-template-columns: 1fr;
		min-height: 0;
		margin: 0;
		padding: 8px 0 10px;
		line-height: 1.35;
	}
	
		.txcf .txcf__form {
		border: 1px solid #181e76 !important;
		border-radius: 8px;
	}
	
		.txcf .txcf__form {
		position: relative;
		border-color: transparent !important;
	}

	.txcf .txcf__form::after {
		content: "";
		position: absolute;
		inset: -1px;
		z-index: 10025;
		border: 1px solid #181e76;
		border-radius: inherit;
		pointer-events: none;
	}
}
}


@media (prefers-reduced-motion: reduce) {
	.txcf *,
	.txcf *::before,
	.txcf *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
