.vb-popup-is-open {
	overflow: hidden;
}

.vb-popup-shell[hidden] {
	display: none !important;
}

.vb-popup-shell {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.vb-popup-backdrop {
	background: rgba(15, 23, 42, 0.62);
	inset: 0;
	position: absolute;
}

.vb-popup-dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
	color: #111827;
	max-height: min(760px, calc(100vh - 48px));
	overflow: auto;
	position: relative;
	width: min(var(--vb-popup-width, 720px), calc(100vw - 32px));
	z-index: 1;
}

.vb-popup-shell.is-open .vb-popup-dialog {
	animation: vb-popup-in 160ms ease-out;
}

.vb-popup-close {
	align-items: center;
	appearance: none;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 38px;
	z-index: 2;
}

.vb-popup-close:hover,
.vb-popup-close:focus-visible {
	background: #e5e7eb;
	outline: none;
}

.vb-popup-content {
	padding: 34px;
}

.vb-popup-title {
	color: #111827;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 46px 16px 0;
}

.vb-popup-body {
	color: #374151;
	font-size: 16px;
	line-height: 1.6;
}

.vb-popup-body > :first-child {
	margin-top: 0;
}

.vb-popup-body > :last-child {
	margin-bottom: 0;
}

.vb-popup-body a,
.vb-popup-button {
	cursor: pointer;
}

.vb-popup-button {
	background: #111827;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-weight: 700;
	line-height: 1.2;
	padding: 12px 18px;
	text-decoration: none;
}

.vb-popup-button:hover,
.vb-popup-button:focus-visible {
	background: #1f2937;
	color: #fff;
	text-decoration: none;
}

@keyframes vb-popup-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 600px) {
	.vb-popup-shell {
		align-items: flex-end;
		padding: 12px;
	}

	.vb-popup-dialog {
		border-radius: 8px;
		max-height: calc(100vh - 24px);
		width: calc(100vw - 24px);
	}

	.vb-popup-content {
		padding: 28px 22px;
	}

	.vb-popup-title {
		font-size: 23px;
		margin-right: 44px;
	}
}
