// CompletedBanner - Full-width banner for completed projects in detail view

const CompletedBanner = () => {
    return (
        <div className="bg-green-50 border-l-4 border-green-500 p-4 mb-4 rounded-r-lg">
            <div className="flex items-center gap-3">
                <div className="flex-shrink-0">
                    <svg className="w-6 h-6 text-green-500" fill="currentColor" viewBox="0 0 20 20">
                        <path fillRule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clipRule="evenodd" />
                    </svg>
                </div>
                <div>
                    <h3 className="text-green-800 font-semibold">Pratica Completata</h3>
                    <p className="text-green-600 text-xs mt-1">
                        Il workflow di questa pratica è bloccato. Non è possibile modificare gli stati degli step.
                    </p>
                </div>
            </div>
        </div>
    );
};

window.CompletedBanner = CompletedBanner;
