html.ssg-sfs-popup-open,
html.ssg-sfs-popup-open body {
	overflow: hidden;
}

.ssg-sfs-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999998;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.18s ease;
}

.ssg-sfs-overlay[hidden] {
	display: none !important;
}

.ssg-sfs-overlay.is-open {
	opacity: 1;
}

.ssg-sfs-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 999999;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 450px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 30px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	text-align: center;
	font-family: inherit;
	color: #333;
	opacity: 0;
	transform: translate(-50%, -46%);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.ssg-sfs-popup[hidden] {
	display: none !important;
}

.ssg-sfs-popup.is-open {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.ssg-sfs-popup__icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 15px;
	border-radius: 50%;
	background: #e7f6ec;
	color: #28a745;
	font-size: 32px;
	font-weight: 700;
	line-height: 54px;
	text-align: center;
}

.ssg-sfs-popup__text {
	padding: 0 5px;
	font-size: 15px;
	line-height: 1.55;
	color: #333;
	overflow-wrap: break-word;
}

.ssg-sfs-popup__text strong {
	font-weight: 700;
}

.ssg-sfs-popup__errors {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.ssg-sfs-popup__errors li {
	position: relative;
	margin: 0 0 8px;
	padding: 8px 10px 8px 26px;
	border-radius: 4px;
	background: #fdf2f2;
	color: #7a1f1f;
	font-size: 14px;
	line-height: 1.45;
}

.ssg-sfs-popup__errors li::before {
	position: absolute;
	top: 8px;
	left: 10px;
	content: "!";
	font-weight: 700;
}

.ssg-sfs-popup__errors li strong {
	color: #5c1717;
}

.ssg-sfs-popup__hint {
	margin: 14px 0 0;
	color: #646970;
	font-size: 13px;
	line-height: 1.45;
}

.ssg-sfs-popup__ok {
	display: inline-block;
	min-width: 120px;
	margin-top: 22px;
	padding: 10px 25px;
	border: 0;
	border-radius: 4px;
	background: #28a745;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.ssg-sfs-popup__ok:hover,
.ssg-sfs-popup__ok:focus {
	background: #218838;
	color: #fff;
}

.ssg-sfs-popup__ok:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.ssg-sfs-popup--error .ssg-sfs-popup__icon {
	background: #fdecea;
	color: #dc3545;
}

.ssg-sfs-popup--error .ssg-sfs-popup__ok {
	background: #dc3545;
}

.ssg-sfs-popup--error .ssg-sfs-popup__ok:hover,
.ssg-sfs-popup--error .ssg-sfs-popup__ok:focus {
	background: #c82333;
}

@media (max-width: 480px) {
	.ssg-sfs-popup {
		padding: 24px 18px;
	}

	.ssg-sfs-popup__text {
		font-size: 14px;
	}
}
