.elmc-popup-wrap {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.elmc-popup-wrap.elmc-popup--open {
	opacity: 1;
	visibility: visible;
}

.elmc-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.elmc-popup-box {
	position: relative;
	z-index: 1;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
	transform: translateY(24px) scale(0.97);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	max-height: 90vh;
	overflow-y: auto;
}

.elmc-popup-wrap.elmc-popup--open .elmc-popup-box {
	transform: translateY(0) scale(1);
}

.elmc-popup-close {
	position: absolute;
	top: 12px;
	right: 14px;
	z-index: 10;
	width: 32px;
	height: 32px;
	background: rgba(0, 0, 0, 0.08);
	border: none;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #374151;
	transition: background 0.2s;
}

.elmc-popup-close:hover {
	background: rgba(0, 0, 0, 0.15);
}

.elmc-popup-content .elementor {
	margin: 0;
}

/* Scrollbar */
.elmc-popup-box::-webkit-scrollbar { width: 4px; }
.elmc-popup-box::-webkit-scrollbar-track { background: transparent; }
.elmc-popup-box::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }
