/* EBZ Adress-Autocomplete */

.ebz-ac-holder {
	position: relative;
}

.ebz-ac-list {
	position: absolute;
	z-index: 9999;
	top: 100%; /* wird per JS exakt unter das Input gesetzt */
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	/* Genau 6 Zeilen à 36px — sonst wird die letzte Zeile halb abgeschnitten. */
	max-height: 216px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d5d8dc;
	border-radius: 4px;
	box-shadow: 0 6px 18px rgba( 0, 0, 0, 0.12 );
	text-align: left;
}

.ebz-ac-list[hidden] {
	display: none;
}

.ebz-ac-item {
	margin: 0;
	/* 8 + 20 + 8 = 36px pro Zeile, passend zur max-height der Liste */
	padding: 8px 12px;
	line-height: 20px;
	font-size: 15px;
	color: #26292c;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ebz-ac-item.is-active,
.ebz-ac-item:hover:not(.is-disabled) {
	background: #f0f4f8;
}

.ebz-ac-item.is-disabled {
	color: #8b9096;
	cursor: default;
	pointer-events: none;
	font-style: italic;
}

/* Ort wird nur über die PLZ-Auswahl gefüllt */
.ebz-readonly,
.ff-name-address-wrapper input[readonly] {
	background: #f4f5f6;
	cursor: default;
}
