/**
 * Car Price Dropdown Styles - Card Style
 */

/* Single price display */
.car-price-label {
	margin: 0;
	padding: 12px 0;
	font-size: 16px;
	color: #ffffff;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.car-price-label strong {
	font-weight: 700;
	color: #ffffff;
}

/* Card-style dropdown container */
.car-price-selector-card {
	position: relative;
	width: 100%;
}

/* Hidden select element - positioned behind label */
.price-dropdown-card {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 10;
}

/* Price label display */
.car-price-label-card {
	margin: 0;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
	color: #cccccc;
	font-weight: 500;
	background: rgba( 255, 255, 255, 0.05 );
	border: 1px solid rgba( 255, 255, 255, 0.1 );
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	z-index: 5;
}

.car-price-label-card:hover {
	background: rgba( 255, 255, 255, 0.08 );
	border-color: rgba( 255, 255, 255, 0.2 );
}

.price-value-card {
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.5px;
	margin-right: 8px;
}

.price-chevron {
	font-size: 12px;
	color: #888888;
	transition: transform 0.3s ease;
}

/* When dropdown is focused, rotate chevron */
.price-dropdown-card:focus ~ .car-price-label-card .price-chevron {
	transform: rotate( 180deg );
	color: #aaaaaa;
}

/* Dropdown option styling */
.price-dropdown-card option {
	padding: 12px;
	color: #333333;
	background-color: #f5f5f5;
	font-size: 14px;
}

.price-dropdown-card option:checked {
	background: linear-gradient( #007bff, #007bff );
	background-color: #007bff;
	color: white;
}

/* Mobile responsive */
@media ( max-width: 768px ) {
	.car-price-label {
		font-size: 14px;
	}

	.car-price-label-card {
		padding: 12px 14px;
		font-size: 14px;
	}

	.price-value-card {
		font-size: 14px;
	}

	.price-chevron {
		font-size: 11px;
	}
}
