/* CF7 custom selectors — migrated from WPCode snippet 1212. */
.custom-select-container {
	position: relative;
	width: 100%;
	max-width: 480px;
	font-family: inherit;
	margin-bottom: 20px;
}

.selected-option {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 10px 15px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background-color: #fff;
	cursor: pointer;
	transition: all 0.2s;
	min-height: 45px;
}

.selected-option-text p {
	margin: 0;
	font-size: 16px;
}

.selected-option.active {
	border-color: #3182ce;
	box-shadow: 0 0 0 1px #3182ce;
}

.dropdown-icon-container {
	display: flex;
	align-items: center;
}

.dropdown-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}

.selected-option.active .dropdown-icon {
	transform: rotate(180deg);
}

.options-list {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 300px;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	list-style: none;
	padding: 0;
	margin: 5px 0 0 0;
}

.option-item {
	padding: 10px 15px;
	cursor: pointer;
	transition: background-color 0.2s;
	min-height: 44px;
	display: flex;
	align-items: center;
}

.option-content {
	width: 100%;
}

.option-text {
	margin: 0;
	font-size: 16px;
}

.option-item:hover {
	background-color: #f7fafc;
}

.option-item.selected {
	background-color: #edf2f7;
	font-weight: 500;
	color: #2b6cb0;
}

.option-item.selected .option-text {
	color: #2b6cb0;
}

.selected-option:focus {
	outline: 2px solid #3182ce;
	outline-offset: 2px;
}

.option-item:focus {
	outline: 2px solid #3182ce;
	outline-offset: -2px;
	background-color: #f7fafc;
}
