@{
    ViewData["Title"] = "Dashboard";
    ViewData["Role"] = "sudin";
    ViewData["DashboardActive"] = "menu-active";
}

<div class="flex">
    <div class="prose">
        <span class="text-xl font-semibold text-black">Dashboard Administrator</span>
    </div>
</div>

<div class="h-6"></div>

<div class="card bg-white">
    <div class="card-body gap-0">
        <span class="text-gray-500">Selamat Datang</span>
        <span class="bg-gradient-to-r from-[#089A7B] to-[#46C881] bg-clip-text text-2xl font-semibold text-transparent">Sudin Kota M. Fransisco</span>
    </div>
</div>

<div class="h-6"></div>

<div class="grid grid-cols-1 gap-4 md:grid-cols-4">
    <div class="card bg-gradient-to-tl from-[#88C293] to-[#247332] text-white">
        <div class="card-body">
            <div class="card-title">
                <i class="ph ph-building-office text-2xl"></i>
            </div>
            <div class="flex">
                <div class="flex w-3/5 flex-col gap-0 self-end">
                    <span>Total BSI</span>
                    <span class="text-3xl">1203 Unit</span>
                </div>
                <div class="divider divider-horizontal before:bg-white after:bg-white"></div>
                <div class="grid w-2/5 grid-rows-3 gap-2 text-[12px]">
                    <div class="flex flex-col">
                        <span class="font-semibold">Sudah Verifikasi</span>
                        <span>145 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Belum Verifikasi</span>
                        <span>5432 Unit</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="card bg-gradient-to-tl from-indigo-200 to-blue-700 text-white">
        <div class="card-body">
            <div class="card-title">
                <i class="ph ph-building-office text-2xl"></i>
            </div>
            <div class="flex">
                <div class="flex w-3/5 flex-col gap-0 self-end">
                    <span>Total BSU</span>
                    <span class="text-3xl">1203 Unit</span>
                </div>
                <div class="divider divider-horizontal before:bg-white after:bg-white"></div>
                <div class="grid w-2/5 grid-rows-3 gap-2 text-[12px]">
                    <div class="flex flex-col">
                        <span class="font-semibold">Sudah Aktif</span>
                        <span>145 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Belum Aktif</span>
                        <span>5432 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Ditolak</span>
                        <span>5432 Unit</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="card bg-gradient-to-tl from-amber-200 to-amber-700 text-white">
        <div class="card-body">
            <div class="card-title">
                <i class="ph ph-factory text-2xl"></i>
            </div>
            <div class="flex">
                <div class="flex w-3/5 flex-col gap-0 self-end">
                    <span>Total Offtaker</span>
                    <span class="text-3xl">39 Unit</span>
                </div>
                <div class="divider divider-horizontal before:bg-white after:bg-white"></div>
                <div class="grid w-2/5 grid-rows-3 gap-2 text-[12px]">
                    <div class="flex flex-col">
                        <span class="font-semibold">Sudah Aktif</span>
                        <span>145 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Belum Aktif</span>
                        <span>5432 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Ditolak</span>
                        <span>5432 Unit</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="card bg-gradient-to-tl from-violet-200 to-violet-700 text-white">
        <div class="card-body">
            <div class="card-title">
                <i class="ph ph-users-three text-2xl"></i>
            </div>
            <div class="flex">
                <div class="flex w-3/5 flex-col gap-0 self-end">
                    <span>Total Nasabah</span>
                    <span class="text-3xl">2780 Unit</span>
                </div>
                <div class="divider divider-horizontal before:bg-white after:bg-white"></div>
                <div class="grid w-2/5 grid-rows-3 gap-2 text-[12px]">
                    <div class="flex flex-col">
                        <span class="font-semibold">Sudah Aktif</span>
                        <span>145 Unit</span>
                    </div>
                    <div class="flex flex-col">
                        <span class="font-semibold">Belum Aktif</span>
                        <span>5432 Unit</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="h-6"></div>

<div class="grid grid-cols-1 gap-4 md:grid-cols-3">
    <div class="stats bg-white">
        <div class="stat">
            <div class="stat-title">Total Sampah BSI</div>
            <div class="stat-value">5,812 Kg</div>
            <div class="stat-desc">
                <span class="text-green-600">
                    <i class="ph ph-arrow-up"></i>
                    40%
                </span>
                vs bulan kemarin
            </div>
        </div>
    </div>
    <div class="stats bg-white">
        <div class="stat">
            <div class="stat-title">Total Sampah BSU</div>
            <div class="stat-value">5,812 Kg</div>
            <div class="stat-desc">
                <span class="text-green-600">
                    <i class="ph ph-arrow-up"></i>
                    40%
                </span>
                vs bulan kemarin
            </div>
        </div>
    </div>
    <div class="stats bg-white">
        <div class="stat">
            <div class="stat-title">Total Sampah Offtaker</div>
            <div class="stat-value">89.4 Kg</div>
            <div class="stat-desc">
                <span class="text-green-600">
                    <i class="ph ph-arrow-up"></i>
                    40%
                </span>
                vs bulan kemarin
            </div>
        </div>
    </div>
</div>