/* Keep feedback inside the existing location control so flex rows never reflow. */
.dokan-geolocation-location-filters .location-address {
	position: relative;
}

.dokan-geolocation-location-filters .location-address .realmeats-location-feedback {
	position: absolute;
	top: 50%;
	right: 34px;
	transform: translateY(-50%);
	z-index: 5;
	max-width: calc(100% - 45px);
	pointer-events: none;
}

.dokan-geolocation-location-filters .realmeats-location-feedback-visual {
	display: block;
	max-width: 100%;
	padding: 3px 5px;
	border-radius: 3px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dokan-geolocation-location-filters .realmeats-location-feedback-visual:empty {
	display: none;
}

.dokan-geolocation-location-filters .realmeats-location-feedback-spoken {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dokan-geolocation-location-filters .location-address.rm-location-pending .realmeats-location-feedback-visual {
	color: #42545b;
}

.dokan-geolocation-location-filters .location-address.rm-location-success .realmeats-location-feedback-visual {
	color: #176b37;
}

.dokan-geolocation-location-filters .location-address.rm-location-error .realmeats-location-feedback-visual {
	color: #a51f2c;
}

.dokan-geolocation-location-filters .location-address.rm-location-success input[type="text"] {
	border-color: #176b37;
}

.dokan-geolocation-location-filters .location-address.rm-location-pending input[type="text"] {
	border-color: #42545b;
}

.dokan-geolocation-location-filters .location-address.rm-location-error input[type="text"] {
	border-color: #a51f2c;
}

.dokan-geolocation-location-filters .location-address.rm-location-pending input[type="text"]::placeholder,
.dokan-geolocation-location-filters .location-address.rm-location-success input[type="text"]::placeholder,
.dokan-geolocation-location-filters .location-address.rm-location-error input[type="text"]::placeholder {
	color: transparent;
}

.dokan-geolocation-location-filters .location-address .locate-icon[role="button"] {
	cursor: pointer;
}

.dokan-geolocation-location-filters .location-address .locate-icon[role="button"]:focus-visible {
	outline: 2px solid #a51f2c;
	outline-offset: 3px;
}
