.wmp-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 1em;
}

.wmp-modal-overlay[hidden] {
	display: none;
}

.wmp-modal {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 1.5em;
	max-width: 420px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: wmp-modal-in 0.15s ease-out;
}

@keyframes wmp-modal-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.wmp-modal__close {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	border: none;
	background: none;
	font-size: 1.3em;
	line-height: 1;
	cursor: pointer;
	padding: 0.3em;
	color: #666;
}

.wmp-modal__title {
	margin: 0 1.5em 0.5em 0;
	font-size: 1.1em;
}

.wmp-modal__body {
	margin-bottom: 1em;
	font-size: 0.95em;
	line-height: 1.5;
}

.wmp-modal__actions {
	display: flex;
	gap: 0.5em;
	flex-wrap: wrap;
}

.wmp-modal__actions .button {
	flex: 1;
	text-align: center;
}
