@extends('layouts.layout')
@section('content')


<main class="flex-1
                 min-w-0">


        <!-- TOPBAR -->

        <header class="h-20
                       bg-white
                       border-b
                       border-gray-200
                       px-5
                       lg:px-8
                       flex
                       items-center
                       justify-between">


            <div class="flex
                        items-center
                        gap-4">


                <!-- Mobile Menu -->

                <button onclick="toggleSidebar()"
                        class="lg:hidden
                               p-2
                               rounded-lg
                               bg-gray-100">


                    <svg class="w-6
                                h-6"
                         fill="none"
                         stroke="currentColor"
                         viewBox="0 0 24 24">


                        <path stroke-linecap="round"
                              stroke-linejoin="round"
                              stroke-width="2"
                              d="M4 6h16M4 12h16M4 18h16"/>

                    </svg>

                </button>


                <div>

                    <h2 class="text-xl
                               sm:text-2xl
                               font-bold
                               text-gray-900">

                        <span class="capitalize">{{$users->role}}</span> Dashboard

                    </h2>


                    <p class="text-sm
                              text-gray-500
                              hidden sm:block">

                        Welcome back,
   

                    </p>

                </div>

            </div>


            <!-- System Status -->

            <div class="flex
                        items-center
                        gap-2
                        text-sm
                        text-gray-600">


                <span class="w-2
                             h-2
                             bg-green-500
                             rounded-full
                             animate-pulse">

                </span>


                <span class="hidden sm:block">

                    System Online

                </span>

            </div>

        </header>


        <!-- CONTENT -->

        <div class="p-5
                    lg:p-8">


            <!-- Welcome Banner -->

            <div class="relative
                        overflow-hidden
                        rounded-2xl
                        bg-gradient-to-r
                        from-indigo-600
                        via-purple-600
                        to-pink-600
                        p-6
                        lg:p-8
                        text-white
                        mb-8">


                <div class="relative
                            z-10">


                    <p class="text-indigo-100
                              text-sm
                              mb-2">

                        Admin Control Center

                    </p>


                    <h1 class="text-2xl
                               lg:text-3xl
                               font-extrabold">

                        Manage Verification Requests

                    </h1>


                    <p class="mt-2
                              text-indigo-100
                              max-w-xl">

                        Monitor payments, review requests
                        and manage verification status from
                        one place.

                    </p>

                </div>


                <div class="absolute
                            -right-10
                            -top-20
                            w-64
                            h-64
                            rounded-full
                            bg-white/10">

                </div>


                <div class="absolute
                            -right-5
                            -bottom-32
                            w-72
                            h-72
                            rounded-full
                            bg-white/10">

                </div>

            </div>


            <!-- STAT CARDS -->

            <div class="grid
                        sm:grid-cols-2
                        xl:grid-cols-5
                        gap-5
                        mb-8">


                <!-- Total -->

                <div class="bg-white
                            rounded-2xl
                            p-5
                            shadow-sm
                            border
                            border-gray-100">


                    <div class="flex
                                items-center
                                justify-between">


                        <div class="w-12
                                    h-12
                                    rounded-xl
                                    bg-indigo-100
                                    text-indigo-600
                                    flex
                                    items-center
                                    justify-center">


                            <svg class="w-6
                                        h-6"
                                 fill="none"
                                 stroke="currentColor"
                                 viewBox="0 0 24 24">


                                <path stroke-linecap="round"
                                      stroke-linejoin="round"
                                      stroke-width="2"
                                      d="M9 12h6m-6 4h6m2 5H7a2
                                      2 0 01-2-2V5a2
                                      2 0 012-2h5.586a1 1
                                      0 01.707.293l5.414
                                      5.414a1 1
                                      0 01.293.707V19a2
                                      2 0 01-2 2z"/>

                            </svg>

                        </div>

                    </div>


                    <p class="text-sm
                              text-gray-500
                              mt-4">

                        Total Requests

                    </p>


                    <h3 class="text-3xl
                               font-extrabold
                               text-gray-900
                               mt-1">

                  

                    </h3>

                </div>


                <!-- Today -->

                <div class="bg-white
                            rounded-2xl
                            p-5
                            shadow-sm
                            border
                            border-gray-100">


                    <div class="w-12
                                h-12
                                rounded-xl
                                bg-blue-100
                                text-blue-600
                                flex
                                items-center
                                justify-center">


                        <svg class="w-6
                                    h-6"
                             fill="none"
                             stroke="currentColor"
                             viewBox="0 0 24 24">


                            <path stroke-linecap="round"
                                  stroke-linejoin="round"
                                  stroke-width="2"
                                  d="M8 7V3m8 4V3m-9 8h10M5
                                  21h14a2 2 0 002-2V7a2
                                  2 0 00-2-2H5a2 2
                                  0 00-2 2v12a2 2
                                  0 002 2z"/>

                        </svg>

                    </div>


                    <p class="text-sm
                              text-gray-500
                              mt-4">

                        Today's Requests

                    </p>


                    <h3 class="text-3xl
                               font-extrabold
                               text-gray-900
                               mt-1">


                    </h3>

                </div>


                <!-- Pending -->

                <div class="bg-white
                            rounded-2xl
                            p-5
                            shadow-sm
                            border
                            border-gray-100">


                    <div class="w-12
                                h-12
                                rounded-xl
                                bg-yellow-100
                                text-yellow-600
                                flex
                                items-center
                                justify-center">


                        <svg class="w-6
                                    h-6"
                             fill="none"
                             stroke="currentColor"
                             viewBox="0 0 24 24">


                            <path stroke-linecap="round"
                                  stroke-linejoin="round"
                                  stroke-width="2"
                                  d="M12 8v4l3 3m6-3a9 9
                                  0 11-18 0 9 9
                                  0 0118 0z"/>

                        </svg>

                    </div>


                    <p class="text-sm
                              text-gray-500
                              mt-4">

                        Pending Payment

                    </p>


                    <h3 class="text-3xl
                               font-extrabold
                               text-gray-900
                               mt-1">

                 

                    </h3>

                </div>


                <!-- Paid -->

                <div class="bg-white
                            rounded-2xl
                            p-5
                            shadow-sm
                            border
                            border-gray-100">


                    <div class="w-12
                                h-12
                                rounded-xl
                                bg-green-100
                                text-green-600
                                flex
                                items-center
                                justify-center">


                        <svg class="w-6
                                    h-6"
                             fill="none"
                             stroke="currentColor"
                             viewBox="0 0 24 24">


                            <path stroke-linecap="round"
                                  stroke-linejoin="round"
                                  stroke-width="2"
                                  d="M5 13l4 4L19 7"/>

                        </svg>

                    </div>


                    <p class="text-sm
                              text-gray-500
                              mt-4">

                        Paid Requests

                    </p>


                    <h3 class="text-3xl
                               font-extrabold
                               text-gray-900
                               mt-1">

                 

                    </h3>

                </div>


                <!-- Approved -->

                <div class="bg-white
                            rounded-2xl
                            p-5
                            shadow-sm
                            border
                            border-gray-100">


                    <div class="w-12
                                h-12
                                rounded-xl
                                bg-purple-100
                                text-purple-600
                                flex
                                items-center
                                justify-center">


                        <svg class="w-6
                                    h-6"
                             fill="none"
                             stroke="currentColor"
                             viewBox="0 0 24 24">


                            <path stroke-linecap="round"
                                  stroke-linejoin="round"
                                  stroke-width="2"
                                  d="M9 12l2 2 4-4m5.618-4.016A11.955
                                  11.955 0 0112 2.944a11.955
                                  11.955 0 01-8.618 3.04A12.02
                                  12.02 0 003 9c0 5.591
                                  3.824 10.29 9 11.622C17.176
                                  19.29 21 14.591 21 9c0-1.042
                                 -.133-2.052-.382-3.016z"/>

                        </svg>

                    </div>


                    <p class="text-sm
                              text-gray-500
                              mt-4">

                        Approved

                    </p>


                    <h3 class="text-3xl
                               font-extrabold
                               text-gray-900
                               mt-1">

                 

                    </h3>

                </div>

            </div>


            <!-- RECENT REQUESTS -->

            <div class="bg-white
                        rounded-2xl
                        shadow-sm
                        border
                        border-gray-100
                        overflow-hidden">


                <!-- Header -->

                <div class="p-5
                            lg:p-6
                            border-b
                            border-gray-100
                            flex
                            items-center
                            justify-between">


                    <div>

                        <h2 class="text-lg
                                   font-bold
                                   text-gray-900">

                            Recent Verification Requests

                        </h2>


                        <p class="text-sm
                                  text-gray-500
                                  mt-1">

                            Latest submitted requests

                        </p>

                    </div>


                    <a href="requests.php"
                       class="text-sm
                              font-semibold
                              text-indigo-600
                              hover:text-indigo-800">

                        View All

                    </a>

                </div>


                <!-- Table -->

                <div class="overflow-x-auto">


                    <table class="w-full
                                  min-w-[800px]">


                        <thead class="bg-gray-50">


                            <tr>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    ID

                                </th>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    NID Number

                                </th>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    WhatsApp

                                </th>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    Payment

                                </th>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    Verification

                                </th>


                                <th class="text-left
                                           px-6
                                           py-4
                                           text-xs
                                           font-semibold
                                           text-gray-500
                                           uppercase">

                                    Date

                                </th>

                            </tr>

                        </thead>


                        <tbody class="divide-y
                                     divide-gray-100">


                       


                                <tr>

                                    <td colspan="6"
                                        class="px-6
                                               py-12
                                               text-center
                                               text-gray-500">


                                        No verification requests found.

                                    </td>

                                </tr>


           


                                    <tr class="hover:bg-gray-50">


                                        <td class="px-6
                                                   py-4
                                                   text-sm
                                                   font-semibold
                                                   text-gray-900">


                  

                                        </td>


                                        <td class="px-6
                                                   py-4
                                                   text-sm
                                                   text-gray-700">


                            
                                       

                                        </td>


                                        <td class="px-6
                                                   py-4
                                                   text-sm
                                                   text-gray-700">


                         
                                        </td>


                                        <td class="px-6
                                                   py-4">


            


                                                <span class="inline-flex
                                                             px-3
                                                             py-1
                                                             rounded-full
                                                             text-xs
                                                             font-semibold
                                                             bg-green-100
                                                             text-green-700">


                                                    Paid

                                                </span>


                                   


                                                <span class="inline-flex
                                                             px-3
                                                             py-1
                                                             rounded-full
                                                             text-xs
                                                             font-semibold
                                                             bg-yellow-100
                                                             text-yellow-700">


                                                    Pending

                                                </span>


                                 


                                        </td>


                                        <td class="px-6
                                                   py-4">


       

                                                <span class="inline-flex
                                                             px-3
                                                             py-1
                                                             rounded-full
                                                             text-xs
                                                             font-semibold
                                                             bg-green-100
                                                             text-green-700">

                                                    Approved

                                                </span>


                           

                                                <span class="inline-flex
                                                             px-3
                                                             py-1
                                                             rounded-full
                                                             text-xs
                                                             font-semibold
                                                             bg-red-100
                                                             text-red-700">

                                                    Rejected

                                                </span>


                                 


                                                <span class="inline-flex
                                                             px-3
                                                             py-1
                                                             rounded-full
                                                             text-xs
                                                             font-semibold
                                                             bg-gray-100
                                                             text-gray-700">

                                                    Pending

                                                </span>


                               


                                        </td>


                                        <td class="px-6
                                                   py-4
                                                   text-sm
                                                   text-gray-500">


                  

                                        </td>

                                    </tr>


             


                        </tbody>

                    </table>

                </div>

            </div>


        </div>

    </main>
    @endsection