.best-cf7-alert-js .wpcf7-response-output {
	display: none !important;
}

.best-cf7-alert[hidden] {
	display: none !important;
}

.best-cf7-alert {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.best-cf7-alert__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.best-cf7-alert__dialog {
	position: relative;
	width: min(100%, 520px);
	background: #fff;
	color: #111;
	border-radius: 18px;
	padding: 34px 30px 28px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	text-align: center;
	animation: bestCf7AlertIn 0.22s ease-out;
}

.best-cf7-alert__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #f2f2f2;
	color: #111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.best-cf7-alert__close:hover,
.best-cf7-alert__close:focus-visible {
	background: #e5e5e5;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.best-cf7-alert__icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.best-cf7-alert__icon::before {
	font-size: 34px;
	line-height: 1;
	font-weight: 700;
}

.best-cf7-alert--success .best-cf7-alert__icon {
	background: #18a957;
	color: #fff;
}

.best-cf7-alert--success .best-cf7-alert__icon::before {
	content: "✓";
}

.best-cf7-alert--error .best-cf7-alert__icon {
	background: #d63638;
	color: #fff;
}

.best-cf7-alert--error .best-cf7-alert__icon::before {
	content: "!";
}

.best-cf7-alert--info .best-cf7-alert__icon {
	background: #2271b1;
	color: #fff;
}

.best-cf7-alert--info .best-cf7-alert__icon::before {
	content: "i";
}

.best-cf7-alert__title {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.best-cf7-alert__message {
	margin: 0 auto 24px;
	max-width: 420px;
	font-size: 1rem;
	line-height: 1.55;
}

.best-cf7-alert__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--theme-palette-color-1, #f2848b);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}

.best-cf7-alert__button:hover,
.best-cf7-alert__button:focus-visible {
	filter: brightness(0.95);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@keyframes bestCf7AlertIn {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.best-cf7-alert__dialog {
		animation: none;
	}
}

@media (max-width: 480px) {
	.best-cf7-alert {
		padding: 16px;
	}

	.best-cf7-alert__dialog {
		padding: 32px 22px 24px;
		border-radius: 14px;
	}

	.best-cf7-alert__message {
		font-size: 0.95rem;
	}
}
