/**
 * DACH Geo Autocomplete Styles
 *
 * Bewusst minimal und ohne Theme-spezifische Annahmen.
 * Anpassungen sollten im Theme oder Child-Theme erfolgen.
 *
 * Das JS setzt die Klasse `dach-geo-field-wrapper` auf das
 * Elternelement des Eingabefelds, damit das absolut positionierte
 * Dropdown sauber sitzt (auch bei Elementor-.elementor-field-group).
 */

.dach-geo-field-wrapper {
	position: relative;
}

.dach-geo-suggestions {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #ddd;
	background: #fff;
	max-height: 240px;
	overflow-y: auto;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 1000;
	font-size: 0.95em;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.08 );
}

.dach-geo-suggestions[hidden] {
	display: none;
}

.dach-geo-suggestion {
	padding: 0.5em 0.75em;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
}

.dach-geo-suggestion:last-child {
	border-bottom: none;
}

.dach-geo-suggestion:hover,
.dach-geo-suggestion.is-active {
	background-color: #f5f5f5;
}
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #ddd;
	background: #fff;
	max-height: 240px;
	overflow-y: auto;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 1000;
	font-size: 0.95em;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.08 );
}

.dach-geo-suggestions[hidden] {
	display: none;
}

.dach-geo-suggestion {
	padding: 0.5em 0.75em;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
}

.dach-geo-suggestion:last-child {
	border-bottom: none;
}

.dach-geo-suggestion:hover,
.dach-geo-suggestion.is-active {
	background-color: #f5f5f5;
}
