/* wmfx Popup – Styles nach Brand Guide */
.wmfx-popup {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
	/* Im Constrained-Layout (Block-Themes) bekommen Kinder max-width/margin auto – für das Overlay aufheben */
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box;
}
.wmfx-popup[hidden] { display: none; }
.wmfx-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(12, 24, 48, .55);
	backdrop-filter: blur(4px);
}
.wmfx-popup__dialog {
	position: relative;
	background: #fff;
	border: 1px solid #E3E3DC;
	border-radius: 6px;
	box-shadow: 0 16px 38px rgba(16, 30, 60, .14);
	max-width: 480px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 30px 32px;
	animation: wmfxPopIn .22s ease;
}
@keyframes wmfxPopIn {
	from { opacity: 0; transform: translateY(10px) scale(.98); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.wmfx-popup__dialog { animation: none; }
}
.wmfx-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: 1px solid #E3E3DC;
	border-radius: 999px;
	background: #F6F6F2;
	color: #5B6577;
	font-size: 13px;
	cursor: pointer;
	line-height: 1;
}
.wmfx-popup__close:hover { background: #E3E3DC; color: #0C1830; }
