.ml-popup-wrapper {
	display: inline-block;
}

.ml-trigger-button {
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ml-trigger-button:hover {
	background-color: #005177;
}

.ml-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 99999;
}

body.admin-bar .ml-modal-overlay {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .ml-modal-overlay {
		top: 46px;
	}
}

.ml-modal-overlay.is-active {
	opacity: 1;
	pointer-events: auto;
}

.ml-modal-container {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	position: relative;
	transform: scale(0.9);
	transition: transform 0.25s ease;
}

.ml-modal-overlay.is-active .ml-modal-container {
	transform: scale(1);
}

.ml-modal-close {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

.ml-modal-close:hover {
	color: #000;
}

.ml-modal-content {
	margin-top: 10px;
}
