"use client";

import { FiClock } from "react-icons/fi";

interface ComingSoonProps {
    title?: string;
    description?: string;
}

const ComingSoon = ({
    title = "قريباً",
    description = "هذه الخاصية قيد التطوير وستكون متاحة قريباً"
}: ComingSoonProps) => {
    return (
        <div className="flex-1 flex flex-col items-center justify-center py-20 text-center">
            <div className="w-24 h-24 rounded-full bg-gradient-to-br from-[#0092B8]/10 to-[#4F39F6]/10 flex items-center justify-center mb-6">
                <FiClock className="w-12 h-12 text-[#0092B8]" />
            </div>
            <h3 className="text-[#1D293D] font-bold text-2xl mb-2">{title}</h3>
            <p className="text-[#90A1B9] text-base max-w-md">{description}</p>
            <div className="mt-6 flex gap-1">
                <span className="w-2 h-2 rounded-full bg-[#0092B8] animate-pulse" />
                <span className="w-2 h-2 rounded-full bg-[#0092B8] animate-pulse" style={{ animationDelay: '0.2s' }} />
                <span className="w-2 h-2 rounded-full bg-[#0092B8] animate-pulse" style={{ animationDelay: '0.4s' }} />
            </div>
        </div>
    );
};

export default ComingSoon;
