/* Orts-Vorschläge beim Tippen (seit 1.5.1) – Frontend-Formular und Backend "Eigene Termine". */
.hl-ev-suggest {
	position: relative;
}

.hl-ev-suggest__list {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	margin: 2px 0 0;
	padding: 4px 0;
	list-style: none;
	max-height: 14rem;
	overflow-y: auto;
	background: #fff;
	color: #1d2327;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hl-ev-suggest__option {
	margin: 0;
	padding: 0.6rem 0.8rem; /* großzügig, damit es auf dem Handy gut antippbar ist */
	cursor: pointer;
	line-height: 1.3;
}

.hl-ev-suggest__option:hover,
.hl-ev-suggest__option.is-active {
	background: #e8f0fe;
	outline: 0;
}

.hl-ev-suggest__option.is-active {
	box-shadow: inset 3px 0 0 #1a4fa3;
}

.hl-ev-suggest__hint {
	margin-top: 0.4rem;
	padding: 0.45rem 0.7rem;
	background: #f1f6ff;
	color: #1d2327;
	border-radius: 8px;
	font-size: 0.86rem;
}

.hl-ev-suggest__use {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: #1a4fa3;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.hl-ev-suggest__use:focus-visible {
	outline: 2px solid #1a4fa3;
	outline-offset: 2px;
}

/* Aufklapp-Pfeil "Alle Orte anzeigen" (seit 1.8.4, nur Backend: data-hl-ev-places-all) */
.hl-ev-suggest--all {
	display: block;
	width: 100%;
	max-width: 25em; /* wie .regular-text im WordPress-Backend */
}

.hl-ev-suggest--all > input {
	padding-right: 2.4rem;
	width: 100%;
	box-sizing: border-box;
}

.hl-ev-suggest__toggle {
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	width: 2.2rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid #dcdcde;
	border-radius: 0 3px 3px 0;
	background: #f6f7f7;
	color: #1d2327;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}

.hl-ev-suggest__toggle:hover {
	background: #e8f0fe;
}

.hl-ev-suggest__toggle:focus-visible {
	outline: 2px solid #1a4fa3;
	outline-offset: -2px;
}

.hl-ev-suggest--all > .hl-ev-suggest__list {
	min-width: 100%;
	box-sizing: border-box;
}
