<style>
    .text_number {
        font-size: 2.0rem;
        color: #192d4b;
        font-weight: bold;
    }

    .text_patient {
        font-size: 1.6rem;
        color: #245788;
    }

    .hospital-list-scroll {
        max-height: 456px;
        overflow-y: auto;
        padding: 10px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .hospital-list-scroll::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
</style>



<div class="col-lg-12 mt-2">
    <div class="card" style="height: 513px;">
        <div class="card-body p-0">
            <div class="border-bottom border-2 border-gray-300 mb-2 mt-2">
                <span class="text_patient fw-bold">&ensp; Hospital list</span> <br>
            </div>
            <div class="hospital-list-scroll">
                @foreach ($hospital_case as $key => $value)
                    @php

                        $key = str_replace('โรงพยาบาล', '', $key);
                    @endphp
                    <div class="d-flex justify-content-between mt-2">
                        <div class="">{{ $key }}</div>
                        <div class="">{{ $value }}</div>
                    </div>
                @endforeach
            </div>

        </div>
    </div>
</div>



{{-- <div class="col-lg-12 mt-2">
    <div class="card" style="height: 668px;">
        <div class="card-body text-center"><br>
            <span class="text_patient">จำนวนคนไข้ที่นัดมา</span> <br>
            <span class="text_number">{{@$all_patient}}</span> <br> <br> <br>
            <span class="text_patient">คนไข้ที่มา</span> <br>
            <span class="text_number">{{@$case_all['total_all_cases']}}</span> <br> <br> <br>
            <span class="text_patient">คนไข้รอส่อง</span> <br>
            <span class="text_number">{{@$case_all['total_holding_cases']}}</span> <br> <br> <br>
            <span class="text_patient">กำลังส่อง</span> <br>
            <span class="text_number">{{@$case_all['total_operation_cases']}}</span> <br> <br> <br>
            <span class="text_patient">เสร็จสิ้น</span> <br>
            <span class="text_number">{{@$case_all['total_finish_cases']}}</span>
        </div>
    </div>
</div> --}}
