.koshelev-sbp-modal-open {
	overflow: hidden;
}

.koshelev-sbp-elementor-modal[hidden] {
	display: none;
}

.koshelev-sbp-elementor-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	padding: 24px;
	box-sizing: border-box;
	place-items: center;
	background: rgba(17, 24, 39, 0.62);
}

.koshelev-sbp-elementor-dialog {
	position: relative;
	width: min(100%, 560px);
	height: min(760px, calc(100vh - 48px));
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
	overflow: hidden;
}

.koshelev-sbp-elementor-frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.koshelev-sbp-elementor-close {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	display: grid;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #d7dde5;
	border-radius: 999px;
	place-items: center;
	background: #fff;
	color: #111827;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
}

.koshelev-sbp-elementor-close:hover,
.koshelev-sbp-elementor-close:focus {
	background: #f3f5f8;
}

@media (max-width: 640px) {
	.koshelev-sbp-elementor-modal {
		padding: 0;
	}

	.koshelev-sbp-elementor-dialog {
		width: 100%;
		height: 100vh;
		border-radius: 0;
	}
}
