<?php include 'header.php'; ?>

<div class="px-0 py-3 md:p-2 lg:p-6">

    <!-- Page Title -->
    <div class="flex justify-start mb-4">
        <h1 class="font-semibold text-2xl">View Order</h1>
    </div>

    <!-- Back Button -->
    <div class="flex justify-end mb-4">
        <a href="lockora_order_list.php"
            class="inline-flex items-center gap-2 bg-white px-4 py-2.5 rounded-xl border border-gray-200 shadow-sm hover:shadow-md transition-all duration-300">
            <i class="ri-arrow-left-line"></i>
            Back
        </a>
    </div>

    <!-- Main Card -->
    <div class="bg-white rounded-2xl border border-slate-200 overflow-hidden">

        <!-- Header -->
        <div class="px-5 py-4 border-b border-slate-200">
            <h1 class="text-xl font-bold text-slate-900">
                Order Details
            </h1>
        </div>

        <!-- Content -->
        <div class="p-5 space-y-8">

            <!-- User Details -->
            <div>
                <h3 class="text-sm font-semibold text-blue-600 uppercase tracking-wider mb-4">
                    User Details
                </h3>

                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">

                    <div>
                        <p class="text-xs text-slate-500">Customer / Dealer / Partner Name</p>
                        <p class="font-medium text-slate-900">Rajesh Patel</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Contact Number</p>
                        <p class="font-medium text-slate-900">9876543210</p>
                    </div>

                </div>
            </div>

            <!-- Order Details -->
            <div class="pt-6 border-t border-slate-200">
                <h3 class="text-sm font-semibold text-green-600 uppercase tracking-wider mb-4">
                    Order Details
                </h3>

                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">

                    <div>
                        <p class="text-xs text-slate-500">Product</p>
                        <p class="font-medium text-slate-900">LockOra L1 Core</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Serial Number</p>
                        <p class="font-medium text-slate-900">LO-001</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Order Type</p>
                        <p class="font-medium text-slate-900">Dealer</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Amount</p>
                        <p class="font-semibold text-green-600">₹20,000</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Quantity</p>
                        <p class="font-medium text-slate-900">1</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Order Date</p>
                        <p class="font-medium text-slate-900">25-08-2026</p>
                    </div>

                </div>
            </div>

            <!-- Billing Address -->
            <div class="pt-6 border-t border-slate-200">
                <h3 class="text-sm font-semibold text-red-600 uppercase tracking-wider mb-4">
                    Billing Address
                </h3>

                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">

                    <div>
                        <p class="text-xs text-slate-500">Landmark</p>
                        <p class="font-medium text-slate-900">Near City Mall</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">City</p>
                        <p class="font-medium text-slate-900">Surat</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">State</p>
                        <p class="font-medium text-slate-900">Gujarat</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Pincode</p>
                        <p class="font-medium text-slate-900">395009</p>
                    </div>

                    <div class="md:col-span-2 lg:col-span-4">
                        <p class="text-xs text-slate-500">Full Address</p>
                        <p class="font-medium text-slate-900">
                            F-204, Elite Complex, Near City Mall, Adajan, Surat, Gujarat - 395009
                        </p>
                    </div>

                </div>
            </div>

            <!-- Shipping Address -->
            <div class="pt-6 border-t border-slate-200">
                <h3 class="text-sm font-semibold text-purple-600 uppercase tracking-wider mb-4">
                    Shipping Address
                </h3>

                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">

                    <div>
                        <p class="text-xs text-slate-500">Landmark</p>
                        <p class="font-medium text-slate-900">Near Lake View</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">City</p>
                        <p class="font-medium text-slate-900">Ahmedabad</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">State</p>
                        <p class="font-medium text-slate-900">Gujarat</p>
                    </div>

                    <div>
                        <p class="text-xs text-slate-500">Pincode</p>
                        <p class="font-medium text-slate-900">380015</p>
                    </div>

                    <div class="md:col-span-2 lg:col-span-4">
                        <p class="text-xs text-slate-500">Full Address</p>
                        <p class="font-medium text-slate-900">
                            A-101, Shivalik Plaza, Satellite, Ahmedabad, Gujarat - 380015
                        </p>
                    </div>

                </div>
            </div>

        </div>

    </div>

</div>

<?php include 'footer.php'; ?>