.mkb-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
}
.mkb-modal.is-open { display: flex; }
body.mkb-modal-open { overflow: hidden; }

.mkb-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.mkb-modal__dialog {
	position: relative;
	background: #fff;
	color: #222;
	max-width: 560px;
	width: calc(100% - 32px);
	max-height: calc(100vh - 64px);
	overflow: auto;
	border-radius: 8px;
	padding: 32px 28px 28px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	font-family: inherit;
	line-height: 1.5;
	animation: mkbFadeIn 0.18s ease-out;
}

@keyframes mkbFadeIn {
	from { transform: translateY(10px); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.mkb-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: transparent;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 4px 8px;
}
.mkb-modal__close:hover { color: #000; }

.mkb-modal__title {
	margin: 0 0 12px;
	font-size: 1.4em;
	line-height: 1.25;
	padding-right: 30px;
}

.mkb-modal__body {
	margin-bottom: 20px;
	font-size: 1em;
}
.mkb-modal__body p:last-child { margin-bottom: 0; }
.mkb-modal__body a { text-decoration: underline; }

.mkb-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.mkb-modal__cta {
	display: inline-block;
	text-decoration: none;
}

@media (max-width: 480px) {
	.mkb-modal__dialog { padding: 28px 20px 20px; border-radius: 6px; }
	.mkb-modal__title { font-size: 1.2em; }
}
