/* Thông báo gửi form CF7 thành công giữa màn hình (assets/js/contact-form-toast.js) */

/* Đã có toast -> ẩn dòng thông báo thành công ở cuối form. Lỗi vẫn hiện như cũ. */
.wpcf7 form.sent .wpcf7-response-output {
	display: none !important;
}

.lilac-cf7-toast {
	position: fixed;
	inset: 0;
	z-index: 1000000; /* trên cả popup Elementor */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lilac-cf7-toast.is-visible {
	opacity: 1;
	visibility: visible;
}

.lilac-cf7-toast__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 380px;
	width: 100%;
	padding: 28px 24px;
	box-sizing: border-box;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	text-align: center;
	pointer-events: auto;
	cursor: pointer;
	transform: translateY(12px) scale(0.96);
	transition: transform 0.25s ease;
}

.lilac-cf7-toast.is-visible .lilac-cf7-toast__box {
	transform: none;
}

.lilac-cf7-toast__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #b08d57;
}

.lilac-cf7-toast__icon svg {
	width: 28px;
	height: 28px;
}

/* Theme đặt fill thẳng lên path của SVG -> tô ở path. */
.lilac-cf7-toast__icon svg path {
	fill: #fff;
}

.lilac-cf7-toast__message {
	margin: 0;
	color: #222;
	font-size: 15px;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.lilac-cf7-toast,
	.lilac-cf7-toast__box {
		transition: none;
	}
}
