/*
 * FYN directory: the location box (Esd_Location_Box). Extra Small Design.
 * Layout only; fonts, colours and the fields' look come from the page's
 * theme, except the theme's primary blue for the "Use my location" link.
 *
 *   label
 *   [ place ............ ] [ Within 25 miles ] [ Search ]
 *   Use my location
 *   status / choices
 */
.esd-fyn-location {
	--esd-fyn-accent: #0089bb;
}
.esd-fyn-location__label {
	display: block;
	margin: 0 0 0.5rem;
}
.esd-fyn-location__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1.25rem;
}
.esd-fyn-location__input {
	flex: 1 1 14rem;
	min-width: 0;
	width: auto;
	margin: 0;
}
.esd-fyn-location__within {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 0 auto;
}
.esd-fyn-location__within-label {
	margin: 0;
}
.esd-fyn-location__radius {
	width: auto;
	margin: 0;
}
.esd-fyn-location__go {
	flex: 0 0 auto;
}
.esd-fyn-location__locate {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.6rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--esd-fyn-accent);
	font: inherit;
	font-size: 0.875em;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	white-space: nowrap;
}
.esd-fyn-location__locate[hidden] {
	display: none;
}
.esd-fyn-location__locate:disabled {
	opacity: 0.6;
	cursor: progress;
}
.esd-fyn-location__locate:focus-visible {
	outline: 2px solid var(--esd-fyn-accent);
	outline-offset: 2px;
}
.esd-fyn-location__note:empty {
	display: none;
}
.esd-fyn-location__note,
.esd-fyn-location__status {
	margin: 0.6rem 0 0;
	font-size: 0.875em;
}
.esd-fyn-location__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
}
