/* IBPH Local Selector Styles */

.ibph-local-selector-wrap {
	border: 2px solid #1a1a2e;
	background: #f9f9f9;
	padding: 20px;
	margin: 20px 0;
	border-radius: 4px;
}

.ibph-local-selector-title {
	margin: 0 0 6px 0;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ibph-local-selector-sub {
	margin: 0 0 16px 0;
	font-size: 13px;
	color: #555;
}

.ibph-local-field-group {
	margin-bottom: 14px;
}

.ibph-local-field-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #1a1a2e;
}

.ibph-local-field-group input[type="text"] {
	width: 100%;
	max-width: 320px;
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-sizing: border-box;
}

.ibph-local-field-group input[type="text"]:focus {
	outline: none;
	border-color: #1a1a2e;
	box-shadow: 0 0 0 2px rgba(26, 26, 46, 0.15);
}

.ibph-city-results {
	max-width: 320px;
	max-height: 240px;
	overflow-y: auto;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	margin-bottom: 14px;
}

#ibph-city-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ibph-city-item {
	padding: 10px 14px;
	cursor: pointer;
	font-size: 14px;
	border-bottom: 1px solid #eee;
	transition: background 0.15s ease;
}

.ibph-city-item:last-child {
	border-bottom: none;
}

.ibph-city-item:hover {
	background: #1a1a2e;
	color: #fff;
}

.ibph-no-results {
	padding: 14px;
	color: #888;
	font-style: italic;
	font-size: 13px;
}

.ibph-local-selected {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #1a1a2e;
	color: #fff;
	padding: 12px 16px;
	border-radius: 3px;
	flex-wrap: wrap;
}

.ibph-local-selected-label {
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ibph-local-selected-value {
	font-size: 15px;
	font-weight: 600;
	flex-grow: 1;
}

#ibph-local-change-btn {
	background: #fff;
	color: #1a1a2e;
	border: none;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 3px;
	cursor: pointer;
	letter-spacing: 0.5px;
}

#ibph-local-change-btn:hover {
	background: #eee;
}

.ibph-local-error {
	background: #fdecea;
	color: #b02a2a;
	border: 1px solid #f5c2c0;
	padding: 10px 14px;
	border-radius: 3px;
	font-size: 13px;
	margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
	.ibph-local-field-group input[type="text"],
	.ibph-city-results {
		max-width: 100%;
	}

	.ibph-local-selected {
		flex-direction: column;
		align-items: flex-start;
	}

	#ibph-local-change-btn {
		align-self: flex-end;
	}
}
