body.ssd-fdl-modal-open {
	overflow: hidden;
}

.ssd-fdl-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ssd-fdl-modal.ssd-fdl-is-open {
	display: flex;
}

.ssd-fdl-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 17, 24, 0.68);
	backdrop-filter: blur(4px);
}

.ssd-fdl-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	padding: 38px 34px 32px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(30, 16, 24, 0.3);
	text-align: center;
	animation: ssd-fdl-pop 180ms ease-out;
}

.ssd-fdl-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: #f7f2f4;
	color: #554b52;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ssd-fdl-modal__icon {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #fff0f4;
	color: #c7345a;
	font-size: 34px;
	font-weight: 700;
}

.ssd-fdl-modal__dialog h2 {
	margin: 0 0 13px;
	color: #241c22;
	font-size: clamp(24px, 4vw, 30px);
	line-height: 1.2;
}

.ssd-fdl-modal__message {
	margin: 0 auto 24px;
	color: #625860;
	font-size: 16px;
	line-height: 1.65;
}

.ssd-fdl-modal__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 9px;
	background: #c7345a;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 150ms ease, transform 150ms ease;
}

.ssd-fdl-modal__button:hover,
.ssd-fdl-modal__button:focus {
	background: #a92749;
	transform: translateY(-1px);
}

.ssd-fdl-modal__dialog small {
	display: block;
	margin-top: 16px;
	color: #8b8188;
	font-size: 13px;
}

@keyframes ssd-fdl-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 520px) {
	.ssd-fdl-modal__dialog {
		padding: 34px 22px 28px;
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssd-fdl-modal__dialog {
		animation: none;
	}
}
