/* Mobile-Friendly Select Picker Styling */

/* Custom Select Trigger Button */
.custom-select-trigger {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	/* font-size: 1.1rem; */
	font-size: 16px !important;
	padding: 5px 10px;
	width: 100%;
	background: white;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	cursor: pointer;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-select-trigger:hover {
	border-color: #adb5bd;
}

.custom-select-trigger:focus {
	border-color: #007bff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Make/Model List Container */
.make-list-container {
	padding: 0.25rem 0;
	width: 100%;
}

.make-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.make-list li {
	display: block;
	border-bottom: 1px solid #eee;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Make Option Buttons */
.make-option {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	padding: 16px 12px !important;
	font-size: 1.15rem !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
	font-family: inherit !important;
	line-height: 1.5 !important;
	color: inherit !important;
	transition: background-color 0.15s ease-in-out;
}

.make-option:hover {
	background: #f1f3f5 !important;
}

.make-option:focus {
	outline: none !important;
	background: #f8f9fa !important;
}

.make-option:active {
	background: #e9ecef !important;
}

/* Search Input for Make Modal */
.make-search {
	padding: 0.5rem;
	margin-bottom: 0.5rem;
	width: 100%;
}

/* Make Option Buttons */
.model-option {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	padding: 16px 12px !important;
	font-size: 1.15rem !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
	font-family: inherit !important;
	line-height: 1.5 !important;
	color: inherit !important;
	transition: background-color 0.15s ease-in-out;
}

.model-option:hover {
	background: #f1f3f5 !important;
}

.model-option:focus {
	outline: none !important;
	background: #f8f9fa !important;
}

.model-option:active {
	background: #e9ecef !important;
}

.search-input {
	width: 100%;
	padding: 0.75rem;
	font-size: 1rem;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	box-sizing: border-box;
}

.search-input:focus {
	outline: 0;
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Modal Overrides for Pickers */
.modal .modal-body {
	padding: 0;
}

.modal .make-search {
	padding: 1rem;
	border-bottom: 1px solid #eee;
}

/* Visually Hidden Class (for hidden selects) */
.visually-hidden {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {

	/* Keep consistent styling on mobile - don't change trigger appearance */
	.custom-select-trigger {
		display: flex !important;
		font-size: 1.1rem;
		padding: 0.6rem 0.8rem;
		background: white;
		border: 1px solid #ced4da;
		border-radius: 0.375rem;
	}

	/* Keep buttons full-width with consistent padding on mobile */
	/* .make-list .make-option,
	.make-option {
		padding: 18px 16px !important;
		font-size: 1.15rem !important;
	} */
}

/* force clean list look for make/model modals */
/* #makeModal .make-list li,
#modelModal .make-list li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #eee;
	text-align: left;
}

#makeModal .make-option,
#modelModal .make-option {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 16px 12px !important;
	font-size: 1.05rem !important;
	cursor: pointer !important;
	color: inherit !important;
}

#makeModal .make-option:hover,
#modelModal .make-option:hover {
	background: #f1f3f5 !important;
} */

/* fix model picker layout */
#modelModal .modal-body {
	text-align: left !important;
	padding: 0 !important;
	/* matches your nice makeModal look */
}

#modelModal .make-list {
	width: 100%;
}

#modelModal .make-list li {
	display: block;
	width: 100%;
}

#modelModal .make-option {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	background: transparent !important;
	border: none !important;
	padding: 16px 12px !important;
	border-bottom: 1px solid #eee;
}