.ma24-ais-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: rgba( 10, 15, 25, 0.72 );
	display: none;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 40px 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ma24-ais-popup-overlay.is-open {
	display: flex;
	opacity: 1;
}

body.ma24-ais-popup-locked {
	overflow: hidden;
}

.ma24-ais-popup-box {
	position: relative;
	background: #ffffff;
	border-radius: 22px;
	max-width: 640px;
	width: 100%;
	max-height: calc( 100vh - 80px );
	overflow-y: auto;
	padding: 54px 42px 46px !important;
	box-shadow: 0 24px 70px rgba( 0, 0, 0, 0.32 );
	transform: translateY( -12px );
	transition: transform 0.2s ease;
	box-sizing: border-box;
}

.ma24-ais-popup-overlay.is-open .ma24-ais-popup-box {
	transform: translateY( 0 );
}

.ma24-ais-popup-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	line-height: 1;
	border: none;
	border-radius: 50%;
	background: #f3f4f8;
	color: #333333;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ma24-ais-popup-close:hover {
	background: #e2e2e8;
}

.ma24-ais-popup-box .ma24-ais-widget {
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	max-width: none !important;
}

@media ( max-width: 600px ) {
	.ma24-ais-popup-overlay {
		padding: 24px 12px;
	}
	.ma24-ais-popup-box {
		padding: 40px 24px 32px !important;
	}
}
