.mpb-psg-modal {
	display: none;
	inset: 0;
	position: fixed;
	z-index: 2147483000;
}

.mpb-psg-modal[aria-hidden="false"] {
	display: block;
}

.mpb-psg-modal__backdrop {
	background: rgba(0, 0, 0, 0.6);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

.mpb-psg-modal__dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
	box-sizing: border-box;
	left: 50%;
	max-width: min(520px, calc(100vw - 32px));
	padding: 28px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 1;
}

.mpb-psg-modal__dialog h3 {
	margin: 0 0 12px;
}

.mpb-psg-modal__dialog p {
	margin: 0 0 18px;
}

.mpb-psg-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 12px;
	top: 10px;
	width: 36px;
}

.mpb-psg-checkbox {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	margin: 12px 0;
}

.mpb-psg-checkbox input {
	margin-top: 4px;
}

.mpb-psg-error {
	background: #f8d7da;
	border-left: 4px solid #cc1818;
	color: #5c1111;
	margin: 16px 0 0;
	padding: 10px 12px;
}

.mpb-psg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 22px;
}

.mpb-psg-is-loading {
	cursor: wait;
	opacity: 0.72;
}

.mpb-psg-modal-open {
	overflow: hidden;
}

@media (max-width: 560px) {
	.mpb-psg-modal__dialog {
		padding: 22px;
	}

	.mpb-psg-actions {
		justify-content: stretch;
	}

	.mpb-psg-actions .button {
		text-align: center;
		width: 100%;
	}
}
