@foreach ($state as $color => $icons)
                @php
                    $color = json_decode($color);
                @endphp
                @foreach ($icons as $icon => $count)
                    @if (filled($icon))
                        
                            
                                {{ $count }}
                            
                             'text-gray-400 dark:text-gray-500',
                                        default => 'fi-color-custom text-custom-500 dark:text-custom-400',
                                    },
                                    is_string($color) ? 'fi-color-' . $color : null,
                                ])
                                @style([
                                    \Filament\Support\get_color_css_variables(
                                        $color,
                                        shades: [400, 500],
                                        alias: 'tables::columns.summaries.icon-count.icon',
                                    ) => $color !== 'gray',
                                ])
                            />
                        
                    @endif
                @endforeach
            @endforeach