.cp-location-toast {
	--cp-location-toast-duration: 5s;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000001;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	column-gap: 16px;
	padding: 16px 18px 20px;
	border: 2px solid #476550;
	border-radius: 4px;
	background-color: #F7F5E1;
	box-shadow: 2px 5px 10px rgba(71, 101, 80, 0.15);
	color: #476550;
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (min-width: 992px) {
	.cp-location-toast {
		left: 32px;
		right: auto;
		bottom: 32px;
		max-width: 420px;
	}
}

.cp-location-toast.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.cp-location-toast-message p {
	margin: 0;
	color: #476550;
	font-family: "Plus Jakarta Sans", sans-serif;
	letter-spacing: 0.15px;
	line-height: 1.45;
	text-transform: none;
}

.cp-location-toast-message p.cp-location-toast-title {
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 700;
}

.cp-location-toast-message p.cp-location-toast-detail {
	font-size: 13px;
	font-weight: 400;
	opacity: 0.75;
}

.cp-location-toast-close {
	display: inline-flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-shrink: 0;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: -4px -8px -20px 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #476550;
	cursor: pointer;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	appearance: none;
}

.cp-location-toast-close:hover,
.cp-location-toast-close:focus {
	color: #3D5745;
	opacity: 0.75;
}

.cp-location-toast-progress {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background-color: #476550;
	transform: scaleX(1);
	transform-origin: left center;
}

.cp-location-toast.is-visible .cp-location-toast-progress {
	animation: cp-location-toast-progress var(--cp-location-toast-duration) linear forwards;
}

@keyframes cp-location-toast-progress {
	from {
		transform: scaleX(1);
	}

	to {
		transform: scaleX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cp-location-toast.is-visible .cp-location-toast-progress {
		animation: none;
	}
}
