/**
 * Shared modal styles — enqueued alongside modal.js via LicenseJsonI18n::enqueueFrontend().
 * Prefixed classes avoid collisions with magix-ab-testing admin modal styles.
 */
body > .magix-license-modal-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	box-sizing: border-box;
	margin: 0;
	padding: 24px;
	background: rgba(15, 23, 42, 0.45);
}

body > .magix-license-modal-overlay .magix-license-modal-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 100001;
	box-sizing: border-box;
	max-width: 420px;
	width: calc(100% - 48px);
	margin: 0;
	padding: 24px 28px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
	transform: translate(-50%, -50%);
}

.magix-license-modal-title {
	margin: 0 0 12px 0;
	font-size: 1.15rem;
	font-weight: 700;
}

.magix-license-modal-body {
	margin: 0 0 20px 0;
	line-height: 1.5;
	color: #334155;
}

.magix-license-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.magix-license-modal-close {
	cursor: pointer;
	padding: 8px 18px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-weight: 600;
}

.magix-license-modal-close:hover {
	background: #e2e8f0;
}

body.magix-license-modal-open {
	overflow: hidden;
}
