.dp-full-screen-popup {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.dp-full-screen-popup[hidden],
.dp-full-screen-popup.dp-full-screen-popup--geo-hidden {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.dp-full-screen-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 8, 8, 0.72);
}

.dp-full-screen-popup__dialog {
	position: relative;
	z-index: 1;
	/* Pattern Layout contentSize / Dimensions width is promoted to --dp-fs-popup-width in PHP. */
	width: var(--dp-fs-popup-width, fit-content);
	max-width: min(96vw, 100%);
	max-height: min(90vh, 100%);
	overflow: visible;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.dp-full-screen-popup__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #2445ea;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(34, 86, 242, 0.2);
	outline: none;
	transform: translate(50%, -50%);
	transition: background 0.2s;
}

body.dp-app--aetnadentaloffers .dp-full-screen-popup__close {
	background: #7D3F98;
	box-shadow: 0 2px 8px rgba(125, 63, 152, 0.2);
}

.dp-full-screen-popup__close:focus,
.dp-full-screen-popup__close:focus-visible {
	outline: none;
}

.dp-full-screen-popup__content {
	padding: 0;
	width: 100%;
	max-width: min(96vw, 100%);
	max-height: min(90vh, 100%);
	overflow: auto;
	box-sizing: border-box;
}

.dp-full-screen-popup__content > * {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.dp-full-screen-popup-open {
	overflow: hidden;
}
