.edr-popup {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: #004c3f;
}

.edr-popup.is-hidden {
	display: none;
}

.edr-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.edr-popup__panel {
	position: relative;
	width: min(100%, 560px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 36px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.edr-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #004c3f;
	border-radius: 50%;
	background: #f1f5f3;
	color: #004c3f;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
	padding: 0 !important;
	transition: all .2s ease-in-out;
}

.edr-popup__close::before,
.edr-popup__close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: translate(-50%, -50%) rotate(45deg);
}

.edr-popup__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.edr-popup__close:hover,
.edr-popup__close:focus {
	background: #e1ebe7;
	border-color: #004c3f;
}

.edr-popup__close:focus-visible,
.edr-popup__button:focus-visible {
	outline: 2px solid #004c3f;
	outline-offset: 3px;
}

.edr-popup__title {
	margin: 0 44px 16px 0;
	color: #004c3f;
	font-size: 32px;
	line-height: 1.15;
}

.edr-popup__content {
	color: #1f332d;
	font-size: 17px;
	line-height: 1.6;
}

.edr-popup__content > :first-child {
	margin-top: 0;
}

.edr-popup__content > :last-child {
	margin-bottom: 0;
}

.edr-popup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #004c3f;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all .2s ease-in-out;
}

.edr-popup__button:hover,
.edr-popup__button:focus {
	background: transparent;
	color: #004c3f !important;
	border: 1px solid #004c3f;
}

.edr-popup__dismiss-note {
	margin: 18px 0 0;
	color: #66756f;
	font-size: 13px;
	line-height: 1.4;
}

body.edr-popup-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.edr-popup {
		align-items: flex-end;
		padding: 16px;
	}

	.edr-popup__panel {
		max-height: calc(100vh - 32px);
		padding: 28px 22px;
	}

	.edr-popup__title {
		font-size: 26px;
	}
}
