<div class="row layout-top-spacing">
    <div class="col-xl-3 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Total Pinjaman Karyawan</h4>
                <h3 class="card-text">
                    <?= number_format($total_pinjaman['saldo_pokok'], 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
    <div class="col-xl-3 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Total Pinjaman <br> Sudah Kembali</h4>
                <h2 class="card-text">
                    <?= number_format($total_kembali['saldo'], 0, ',', '.') ?>,-
                </h2>
            </div>
        </div>
    </div>
    <div class="col-xl-3 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Total Pinjaman <br> Belum Kembali</h4>
                <h2 class="card-text">
                    <?= number_format($total_pinjaman['saldo_pokok'] - $total_kembali['saldo'], 0, ',', '.') ?>,-
                </h2>
            </div>
        </div>
    </div>
    <div class="col-xl-3 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
        <div class="card component-card_7" style="width: auto;">
            <div class="card-body">
                <h4 class="card-text">Total Pendapatan Pinjaman</h4>
                <h3 class="card-text">
                    <?= number_format($total_pinjaman['saldo_admin'] + $total_pinjaman['saldo_rk'] + $pendapatan_jasa['saldo'], 0, ',', '.') ?>,-
                </h3>
            </div>
        </div>
    </div>
</div>