/* Vehicle controls keep the site's presentation regardless of vendor CSS order. */
.jardim-application-select.select2-container {
	display: block;
	min-width: 0;
	max-width: 100%;
	font: inherit;
}

.jardim-av-search__field:has(> .jardim-application-select)::after { content: none; }

.jardim-application-select.select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #d5d9df;
	border-radius: 4px;
	background: #fff;
	color: #00386d;
	font-size: var(--jardim-font-body, 13px);
	font-weight: 400;
}

.jardim-av-search__field .jardim-application-select.select2-container .select2-selection--single { font-size: var(--jardim-font-body, 14px); }

.jardim-application-select.select2-container .select2-selection--single .select2-selection__rendered {
	width: 100%;
	padding: 0 36px 0 14px;
	line-height: 1.4;
	color: inherit;
}

.jardim-application-select.select2-container .select2-selection--single .select2-selection__placeholder { color: inherit; }

.jardim-application-select.select2-container .select2-selection--single .select2-selection__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	right: 8px;
	width: 20px;
	height: 100%;
	background: none;
	color: #7d8997;
}

.jardim-application-select.select2-container .select2-selection--single .select2-selection__arrow b { display: none; }

.jardim-application-select.select2-container .select2-selection__arrow::after {
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.jardim-application-select.select2-container.select2-container--open .select2-selection__arrow::after {
	margin-top: 3px;
	color: #00386d;
	transform: rotate(225deg);
}

.jardim-application-select.select2-container .select2-selection--single:focus-visible {
	outline: 2px solid #00386d;
	outline-offset: 2px;
}

.jardim-application-select.select2-container.select2-container--disabled .select2-selection--single {
	background: #f8f8f8;
	color: #737373;
	cursor: not-allowed;
}

.jardim-garage-dialog .jardim-application-select--garage .select2-selection--single {
	height: 46px;
	border: 0;
	background: transparent;
	font-size: var(--jardim-font-body, 14px);
}

.jardim-garage-dialog .jardim-application-select--garage .select2-selection--single .select2-selection__rendered {
	padding: 0 36px 0 46px;
	line-height: 1.4;
}

.jardim-garage-dialog .jardim-application-select--garage.select2-container--disabled .select2-selection--single {
	background: transparent;
	opacity: .6;
}

.select2-container--default .select2-dropdown.jardim-application-dropdown {
	border: 1px solid #cbd3df;
	border-radius: 4px;
	background: #fff;
	color: #00386d;
	box-shadow: 0 5px 16px #0002;
	font-size: var(--jardim-font-body, 14px);
	font-weight: 400;
}

.select2-container--default .jardim-application-dropdown .select2-search--dropdown { padding: 8px; }

.select2-container--default .jardim-application-dropdown .select2-search--dropdown::before,
.select2-container--default .jardim-application-dropdown .select2-search--dropdown::after { content: none; }

.select2-container--default .jardim-application-dropdown .select2-search--dropdown .select2-search__field {
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #cbd3df;
	border-radius: 4px;
	background: #fff;
	color: #00386d;
	font: inherit;
}

.select2-container--default .jardim-application-dropdown .select2-search__field:focus-visible {
	outline: 2px solid #00386d;
	outline-offset: -1px;
}

.select2-container--default .jardim-application-dropdown .select2-results__options {
	max-height: 240px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.select2-container--default .jardim-application-dropdown .select2-results__option {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 10px 12px;
	line-height: 1.4;
}

.select2-container--default .jardim-application-dropdown .select2-results__option:is([aria-selected="true"], [data-selected="true"]) {
	background: #edf2f7;
	color: #00386d;
}

.select2-container--default .jardim-application-dropdown .select2-results__option.select2-results__option--highlighted {
	background: #e5edf6;
	color: #00386d;
}

#jardim-garage-dialog :is(.jardim-garage-primary, .jardim-garage-cancel, .jardim-garage-change) {
	display: flex;
	width: 100%;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border: 1px solid #00386d;
	border-radius: 4px;
	box-shadow: none;
	font-family: inherit;
	font-size: var(--jardim-font-ui, 14px);
	font-weight: var(--jardim-medium-weight, 600);
	line-height: var(--jardim-leading-text, 1.4);
	text-transform: none;
}

#jardim-garage-dialog .jardim-garage-primary { background: #00386d; color: #fff; }
#jardim-garage-dialog .jardim-garage-primary:is(:hover, :focus-visible) { background: #00284f; color: #fff; }
#jardim-garage-dialog .jardim-garage-primary:disabled { opacity: .5; cursor: not-allowed; }
#jardim-garage-dialog :is(.jardim-garage-cancel, .jardim-garage-change) { margin-top: 16px; background: #f6f7f8; color: #00386d; }
#jardim-garage-dialog :is(.jardim-garage-cancel, .jardim-garage-change):is(:hover, :focus-visible) { background: #edf2f7; color: #00386d; }

@media (max-width: 767px) {
	.select2-container--default .jardim-application-dropdown .select2-search--dropdown .select2-search__field { font-size: var(--jardim-font-body, 16px); }
}
