html.elfp-popup-open,
html.elfp-popup-open body {
	overflow: hidden;
}

.elfp-root[hidden] {
	display: none !important;
}

.elfp-root {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.elfp-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.elfp-dialog {
	position: relative;
	z-index: 1;
	max-width: min(960px, 100%);
	max-height: min(90vh, 100%);
	width: 100%;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
	overflow: auto;
	outline: none;
}

.elfp-inner {
	padding: 0;
}

.elfp-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.06);
	color: #111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.elfp-close:hover {
	background: rgba(0, 0, 0, 0.12);
}

.elfp-popup-trigger {
	cursor: pointer;
}
