#mdh-location-return {
	--mdh-location-return-navy: #013656;
	--mdh-location-return-blue: #83c8f3;

	position: fixed;
	right: calc(20px + env(safe-area-inset-right, 0px));
	bottom: calc(var(--mdh-location-return-bottom-offset, 20px) + env(safe-area-inset-bottom, 0px));
	z-index: 99979;
	display: flex;
	max-width: calc(100vw - 40px);
	overflow: hidden;
	color: var(--mdh-location-return-navy);
	background: var(--mdh-location-return-blue);
	border: 1px solid rgba(1, 54, 86, 0.18);
	border-radius: 999px;
	box-shadow: 0 8px 28px rgba(1, 54, 86, 0.32), 0 2px 8px rgba(0, 0, 0, 0.22);
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	box-sizing: border-box;
	transition: background-color 160ms ease;
	animation: mdh-location-return-enter 180ms ease-out both;
}

#mdh-location-return[hidden] {
	display: none;
}

#mdh-location-return,
#mdh-location-return * {
	box-sizing: border-box;
}

.mdh-location-return__link,
.mdh-location-return__dismiss {
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

.mdh-location-return__link {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	min-height: 48px;
	padding: 10px 12px 10px 16px;
	color: var(--mdh-location-return-navy);
	text-decoration: none;
}

.mdh-location-return__label {
	min-width: 0;
	overflow-wrap: anywhere;
}

#mdh-location-return .mdh-location-return__dismiss {
	appearance: none;
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	min-width: 44px;
	min-height: 44px;
	margin: 2px 2px 2px 0;
	padding: 0;
	color: var(--mdh-location-return-navy);
	background: transparent;
	background-color: transparent;
	border: 0;
	border-radius: 0 999px 999px 0;
	font: inherit;
	cursor: pointer;
}

#mdh-location-return:hover {
	background: #a8d9f7;
}

#mdh-location-return .mdh-location-return__link:hover,
#mdh-location-return .mdh-location-return__dismiss:hover {
	background: transparent;
}

#mdh-location-return .mdh-location-return__link:focus-visible,
#mdh-location-return .mdh-location-return__dismiss:focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid #ffffff;
	outline-offset: -4px;
}

.mdh-location-return__pin,
.mdh-location-return__close {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

@keyframes mdh-location-return-enter {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	#mdh-location-return {
		right: calc(12px + env(safe-area-inset-right, 0px));
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
		font-size: 13px;
	}

	.mdh-location-return__link {
		padding-left: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#mdh-location-return {
		animation: none;
		transition: none;
	}
}
