import { useTranslation } from "react-i18next";

export const CompletedStep = () => {
	const { t } = useTranslation("translation");

	return (
		<div className="flex flex-col items-center justify-center h-full text-center p-8">
			<div className="w-20 h-20 rounded-full bg-green-100 flex items-center justify-center mb-4">
				<div className="text-5xl text-green-600">✓</div>
			</div>
			<h2 className="text-2xl font-bold text-gray-800 mb-2">
				{t("completed")}
			</h2>
			<p className="text-gray-600">
				{t("alarmsProcessedSuccessfully")}
				<br />
				{t("youCanCloseThisWindow")}
			</p>
		</div>
	);
};
