<div class="col-12">
    <div class="row row-cards">
        @foreach($statistics as $statistic)
            <div class="col-sm-6 col-lg-3">
                <div class="card card-sm">
                    <div class="card-body">
                        <div class="row align-items-center">
                            <div class="col-auto">
                                <span class="bg-{{ $statistic['color'] }} text-white avatar">
                                     <x-icon :name="$statistic['icon']" class="icon" width="24" height="24" />
                                </span>
                            </div>
                            <div class="col">
                                <div class="font-weight-medium">
                                    {{ $statistic['title'] }}
                                </div>
                                <div class="text-secondary">
                                    {{ $statistic['value'] }}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        @endforeach
    </div>
</div>
