<?php $__env->startSection('title', 'Customer Dashboard — Divine Drops'); ?>

<?php $__env->startSection('content'); ?>

    <?php if (isset($component)) { $__componentOriginale19f62b34dfe0bfdf95075badcb45bc2 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale19f62b34dfe0bfdf95075badcb45bc2 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.breadcrumb','data' => ['items' => [['label' => 'Customer Account Portal']]]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('breadcrumb'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['items' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute([['label' => 'Customer Account Portal']])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale19f62b34dfe0bfdf95075badcb45bc2)): ?>
<?php $attributes = $__attributesOriginale19f62b34dfe0bfdf95075badcb45bc2; ?>
<?php unset($__attributesOriginale19f62b34dfe0bfdf95075badcb45bc2); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale19f62b34dfe0bfdf95075badcb45bc2)): ?>
<?php $component = $__componentOriginale19f62b34dfe0bfdf95075badcb45bc2; ?>
<?php unset($__componentOriginale19f62b34dfe0bfdf95075badcb45bc2); ?>
<?php endif; ?>

    <style>
        .account-grid-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 32px;
            align-items: start;
        }
        @media (max-width: 991px) {
            .account-grid-layout {
                grid-template-columns: 1fr;
            }
            .account-sidebar-sticky {
                position: static !important;
            }
        }
        .nav-tab-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.2s ease;
        }
        .nav-tab-item:hover, .nav-tab-item.active {
            background-color: #e0eff9;
            color: #186297;
        }
    </style>

    <section class="py-10 lg:py-14 bg-cream-50 min-h-[70vh]">
        <div class="container-shop">
            
            
            <div class="bg-white border border-cream-200 rounded-2xl p-6 sm:p-8 shadow-xs mb-8">
                <div class="flex flex-wrap items-center justify-between gap-6">
                    <div style="display: flex; align-items: center; gap: 16px;">
                        <div style="width: 56px; height: 56px; border-radius: 50%; background: #186297; color: white; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; text-transform: uppercase; flex-shrink: 0;">
                            <?php echo e(substr($user->name, 0, 1)); ?>

                        </div>
                        <div>
                            <h1 class="font-serif text-2xl sm:text-3xl font-medium text-ink-900" style="margin: 0; color: #0f172a;">Welcome, <?php echo e($user->name); ?></h1>
                            <div class="flex flex-wrap items-center gap-3 mt-1.5 text-xs text-ink-500">
                                <span><?php echo e($user->email); ?></span>
                                <span>&middot;</span>
                                <span>Member since <?php echo e($user->created_at ? $user->created_at->format('M Y') : '2026'); ?></span>
                                <span style="background: #e0eff9; color: #186297; border: 1px solid #b9dff3; font-weight: 700; padding: 2px 8px; border-radius: 4px; font-size: 10px; text-transform: uppercase;">Verified Customer</span>
                            </div>
                        </div>
                    </div>

                    <form action="<?php echo e(route('logout')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <button type="submit" class="btn-outline !py-2 !px-4 text-xs font-semibold text-terra-600 hover:border-terra-600 hover:bg-terra-50 cursor-pointer">
                            Sign Out Account
                        </button>
                    </form>
                </div>
            </div>

            
            <div class="account-grid-layout">
                
                
                <aside class="account-sidebar-sticky" style="position: sticky; top: 100px; z-index: 10;">
                    <div class="bg-white border border-cream-200 rounded-xl p-3 shadow-xs" style="display: flex; flex-direction: column; gap: 4px;">
                        <a href="#orders" class="nav-tab-item active">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'bag','class' => 'h-4 w-4 text-moss-700']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'bag','class' => 'h-4 w-4 text-moss-700']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                            <span>My Orders History</span>
                        </a>
                        <a href="#profile" class="nav-tab-item">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'user','class' => 'h-4 w-4 text-moss-700']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'user','class' => 'h-4 w-4 text-moss-700']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                            <span>Personal Profile</span>
                        </a>
                        <a href="#address" class="nav-tab-item">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'truck','class' => 'h-4 w-4 text-moss-700']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'truck','class' => 'h-4 w-4 text-moss-700']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                            <span>Manage Address</span>
                        </a>
                        <a href="#password" class="nav-tab-item">
                            <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'lock','class' => 'h-4 w-4 text-moss-700']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'lock','class' => 'h-4 w-4 text-moss-700']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                            <span>Change Password</span>
                        </a>
                    </div>
                </aside>

                
                <div style="display: flex; flex-direction: column; gap: 32px;">
                    
                    
                    <div id="orders" class="bg-white border border-cream-200 rounded-2xl p-6 sm:p-8 shadow-xs scroll-mt-28">
                        <div class="flex items-center justify-between border-b border-cream-200 pb-4 mb-6">
                            <div>
                                <h2 class="font-serif text-xl font-medium text-ink-900" style="margin: 0; color: #0f172a;">My Orders History</h2>
                                <p class="text-xs text-ink-500 mt-1">Track status and view tax invoices for past purchases.</p>
                            </div>
                            <span style="background: #f1f5f9; color: #334155; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 20px; border: 1px solid #cbd5e1;">
                                <?php echo e($orders->count()); ?> <?php echo e(Str::plural('Order', $orders->count())); ?>

                            </span>
                        </div>

                        <?php if($orders->isEmpty()): ?>
                            <div class="text-center py-10">
                                <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'bag','class' => 'h-12 w-12 text-ink-300 mx-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'bag','class' => 'h-12 w-12 text-ink-300 mx-auto']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                                <h3 class="font-serif text-lg font-medium text-ink-900 mt-3">No orders placed yet</h3>
                                <p class="text-xs text-ink-500 mt-1">Explore our luxury Indian botanical skincare formulations.</p>
                                <a href="<?php echo e(route('shop')); ?>" class="btn-primary mt-4 !py-2 !px-5 text-xs">Explore Catalog</a>
                            </div>
                        <?php else: ?>
                            <div style="display: flex; flex-direction: column; gap: 20px;">
                                <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ord): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="border border-cream-200 rounded-xl overflow-hidden shadow-xs hover:border-moss-300 transition-colors">
                                        
                                        <div class="bg-cream-50 px-6 py-4 border-b border-cream-200 flex flex-wrap justify-between items-center gap-3">
                                            <div>
                                                <span style="font-family: monospace; font-size: 14px; font-weight: 700; color: #186297;">Order #<?php echo e($ord->order_number); ?></span>
                                                <span class="text-xs text-ink-500 ml-3">Placed on <?php echo e($ord->created_at ? $ord->created_at->format('M d, Y') : 'Recent'); ?></span>
                                            </div>
                                            <div class="flex items-center gap-3">
                                                <span class="px-3 py-1 text-[11px] font-bold rounded-full uppercase tracking-wider
                                                    <?php if($ord->order_status === 'delivered'): ?> bg-green-100 text-green-800 border border-green-300
                                                    <?php elseif($ord->order_status === 'shipped'): ?> bg-purple-100 text-purple-800 border border-purple-300
                                                    <?php elseif($ord->order_status === 'processing'): ?> bg-blue-100 text-blue-800 border border-blue-300
                                                    <?php elseif($ord->order_status === 'cancelled'): ?> bg-red-100 text-red-800 border border-red-300
                                                    <?php else: ?> bg-amber-100 text-amber-800 border border-amber-300 <?php endif; ?>">
                                                    <?php echo e($ord->order_status); ?>

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

                                        
                                        <div class="p-6 divide-y divide-cream-100">
                                            <?php $__currentLoopData = $ord->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <div class="py-3.5 flex items-center justify-between text-sm first:pt-0 last:pb-0">
                                                    <div>
                                                        <span class="font-medium text-ink-900"><?php echo e($item->product_name); ?></span>
                                                        <div class="text-xs text-ink-500 mt-0.5">Size: <span class="font-semibold text-ink-700"><?php echo e($item->size ?? 'Standard'); ?></span> &middot; Qty: <?php echo e($item->quantity); ?></div>
                                                    </div>
                                                    <span class="font-semibold text-ink-900">₹<?php echo e(number_format($item->subtotal, 2)); ?></span>
                                                </div>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </div>

                                        
                                        <div class="bg-white px-6 py-4 border-t border-cream-200 flex flex-wrap items-center justify-between gap-4">
                                            <div class="text-xs text-ink-500">
                                                Payment: <strong class="text-ink-900 uppercase"><?php echo e($ord->payment_method); ?></strong> 
                                                (<?php echo e(ucfirst($ord->payment_status)); ?>)
                                            </div>
                                            <div class="flex items-center gap-4">
                                                <a href="<?php echo e(route('order.track', ['order_number' => $ord->order_number])); ?>" style="display: inline-flex; align-items: center; gap: 6px; background-color: #186297; color: #ffffff; padding: 8px 16px; font-size: 12px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: background 0.15s ease;" onmouseover="this.style.backgroundColor='#145380';" onmouseout="this.style.backgroundColor='#186297';">
                                                    <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'truck','style' => 'width: 14px; height: 14px; color: #ffffff;']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'truck','style' => 'width: 14px; height: 14px; color: #ffffff;']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $attributes = $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__attributesOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc)): ?>
<?php $component = $__componentOriginalce262628e3a8d44dc38fd1f3965181bc; ?>
<?php unset($__componentOriginalce262628e3a8d44dc38fd1f3965181bc); ?>
<?php endif; ?>
                                                    <span>Track Package</span>
                                                </a>
                                                <div class="text-right">
                                                    <span class="text-[11px] text-ink-400 block uppercase font-bold tracking-wider">Total Paid</span>
                                                    <strong class="font-serif text-lg text-moss-900">₹<?php echo e(number_format($ord->total_amount, 2)); ?></strong>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        <?php endif; ?>
                    </div>

                    
                    <div id="profile" class="bg-white border border-cream-200 rounded-2xl p-6 sm:p-8 shadow-xs scroll-mt-28">
                        <div class="border-b border-cream-200 pb-4 mb-6">
                            <h2 class="font-serif text-xl font-medium text-ink-900" style="margin: 0; color: #0f172a;">Personal Profile</h2>
                            <p class="text-xs text-ink-500 mt-1">Update your basic account credentials and phone number.</p>
                        </div>

                        <form action="<?php echo e(route('account.profile.update')); ?>" method="POST" class="space-y-5 max-w-xl">
                            <?php echo csrf_field(); ?>
                            <div>
                                <label for="name" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Full Name *</label>
                                <input id="name" type="text" name="name" value="<?php echo e(old('name', $user->name)); ?>" required class="field-input w-full">
                            </div>

                            <div>
                                <label for="email" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Email Address *</label>
                                <input id="email" type="email" name="email" value="<?php echo e(old('email', $user->email)); ?>" required class="field-input w-full">
                            </div>

                            <div>
                                <label for="phone" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Mobile Phone Number</label>
                                <input id="phone" type="text" name="phone" value="<?php echo e(old('phone', $user->phone)); ?>" placeholder="+91 98765 43210" class="field-input w-full">
                            </div>

                            <button type="submit" class="btn-primary !py-2.5 !px-6 cursor-pointer">Save Profile Details</button>
                        </form>
                    </div>

                    
                    <div id="address" class="bg-white border border-cream-200 rounded-2xl p-6 sm:p-8 shadow-xs scroll-mt-28">
                        <div class="border-b border-cream-200 pb-4 mb-6">
                            <h2 class="font-serif text-xl font-medium text-ink-900" style="margin: 0; color: #0f172a;">Manage Shipping Address</h2>
                            <p class="text-xs text-ink-500 mt-1">Default address used for 1-click checkout delivery.</p>
                        </div>

                        <form action="<?php echo e(route('account.address.update')); ?>" method="POST" class="space-y-5 max-w-xl">
                            <?php echo csrf_field(); ?>
                            <div>
                                <label for="address_input" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Street Address *</label>
                                <textarea id="address_input" name="address" rows="3" required placeholder="House/Flat No., Building Name, Street Name" class="field-input w-full"><?php echo e(old('address', $user->address)); ?></textarea>
                            </div>

                            <div class="grid grid-cols-1 sm:grid-cols-3 gap-4">
                                <div>
                                    <label for="city" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">City *</label>
                                    <input id="city" type="text" name="city" value="<?php echo e(old('city', $user->city)); ?>" required class="field-input w-full">
                                </div>
                                <div>
                                    <label for="state" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">State *</label>
                                    <input id="state" type="text" name="state" value="<?php echo e(old('state', $user->state)); ?>" required class="field-input w-full">
                                </div>
                                <div>
                                    <label for="pincode" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Pincode *</label>
                                    <input id="pincode" type="text" name="pincode" value="<?php echo e(old('pincode', $user->pincode)); ?>" required class="field-input w-full">
                                </div>
                            </div>

                            <button type="submit" class="btn-primary !py-2.5 !px-6 cursor-pointer">Save Shipping Address</button>
                        </form>
                    </div>

                    
                    <div id="password" class="bg-white border border-cream-200 rounded-2xl p-6 sm:p-8 shadow-xs scroll-mt-28">
                        <div class="border-b border-cream-200 pb-4 mb-6">
                            <h2 class="font-serif text-xl font-medium text-ink-900" style="margin: 0; color: #0f172a;">Security & Change Password</h2>
                            <p class="text-xs text-ink-500 mt-1">Ensure your account uses a strong, unique password.</p>
                        </div>

                        <form action="<?php echo e(route('account.password.update')); ?>" method="POST" class="space-y-5 max-w-xl">
                            <?php echo csrf_field(); ?>
                            <div>
                                <label for="current_password" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Current Password *</label>
                                <input id="current_password" type="password" name="current_password" required class="field-input w-full">
                            </div>

                            <div>
                                <label for="new_password" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">New Password (Min 8 characters) *</label>
                                <input id="new_password" type="password" name="password" required class="field-input w-full">
                            </div>

                            <div>
                                <label for="password_confirmation" class="block text-xs font-semibold uppercase tracking-wider text-ink-700 mb-1">Confirm New Password *</label>
                                <input id="password_confirmation" type="password" name="password_confirmation" required class="field-input w-full">
                            </div>

                            <button type="submit" class="btn-primary !py-2.5 !px-6 cursor-pointer">Update Password</button>
                        </form>
                    </div>

                </div>

            </div>

        </div>
    </section>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/koushikkona/Documents/Projects/divne/resources/views/pages/account.blade.php ENDPATH**/ ?>