idx ? "bg-[#5559CE]" : "bg-[#F6F6F6]"}`}
+ className={`flex items-center bg-[#F6F6F6] justify-center p-[18px] w-[75px] h-[75px] rounded-full
+ relative overflow-hidden before:delay-500 before:transition-all before:duration-500
+ before:absolute before:w-full before:h-full before:bg-[#5559CE]
+ ${value >= idx ? "before:right-0" : "before:-right-full"}`}
>
- {item.icon}
+
{item.icon}
idx
+ value >= idx
? "font-bold text-[#5559CE]"
: "font-normal text-[#616161]"
}`}
@@ -33,9 +35,11 @@ function Step({ value }) {
{list.length > idx + 1 && (