
.mbp-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 35, 87, 0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.mbp-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.mbp-dialog {
	position: relative;
	width: min(560px, 100%);
	padding: 48px 48px 42px;
	border: 1px solid rgba(14, 62, 145, 0.1);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(8, 35, 87, 0.28);
	text-align: center;
	transform: translateY(18px) scale(.98);
	transition: transform .25s ease;
	outline: none;
}

.mbp-overlay.is-visible .mbp-dialog {
	transform: translateY(0) scale(1);
}

.mbp-close {
	position: absolute;
	top: 16px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f6fd;
	color: #123f92;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.mbp-close:hover {
	background: #e5eefb;
	transform: rotate(5deg);
}

.mbp-brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 22px;
	border-radius: 22px;
	background: #eef6fd;
}

.mbp-brand-mark svg {
	width: 45px;
	height: 45px;
	fill: none;
	stroke: #0a74b9;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mbp-title {
	margin: 0 0 18px;
	color: #123f92;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.mbp-content {
	margin: 0 auto 28px;
	color: #3c4960;
	font-size: 17px;
	line-height: 1.7;
}

.mbp-content p {
	margin: 0 0 12px;
}

.mbp-content p:last-child {
	margin-bottom: 0;
}

.mbp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 30px;
	border-radius: 999px;
	background: #123f92;
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 12px 26px rgba(18, 63, 146, 0.22);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.mbp-button:hover {
	background: #0b73b6;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(18, 63, 146, 0.28);
}

body.mbp-lock {
	overflow: hidden;
}

@media (max-width: 640px) {
	.mbp-overlay {
		padding: 16px;
	}

	.mbp-dialog {
		padding: 42px 24px 30px;
		border-radius: 22px;
	}

	.mbp-title {
		font-size: 28px;
	}

	.mbp-content {
		font-size: 16px;
		line-height: 1.6;
	}

	.mbp-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbp-overlay,
	.mbp-dialog,
	.mbp-close,
	.mbp-button {
		transition: none;
	}
}
