<?php $__env->startSection('title', 'Sign In'); ?>

<?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' => 'Sign In']]]] + (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' => 'Sign In']])]); ?>
<?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; ?>

    <section class="bg-cream-50 py-16 lg:py-24">
        <div class="container-shop">
            <div class="mx-auto max-w-md border border-cream-200 bg-white p-8 shadow-soft sm:p-10 rounded-2xl">
                <div class="text-center">
                    <?php if (isset($component)) { $__componentOriginalce262628e3a8d44dc38fd1f3965181bc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalce262628e3a8d44dc38fd1f3965181bc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icon','data' => ['name' => 'leaf','class' => 'mx-auto h-7 w-7 text-moss-600']] + (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' => 'leaf','class' => 'mx-auto h-7 w-7 text-moss-600']); ?>
<?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; ?>
                    <h1 class="mt-3 font-serif text-3xl font-medium">Welcome Back</h1>
                    <p class="mt-2 text-sm text-ink-500">Sign in to track orders, save shipping info and check out faster.</p>
                </div>

                <?php if($errors->any()): ?>
                    <div class="mt-4 bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded text-xs">
                        <?php echo e($errors->first()); ?>

                    </div>
                <?php endif; ?>

                <form class="mt-8 space-y-5" action="<?php echo e(route('login.post')); ?>" method="POST">
                    <?php echo csrf_field(); ?>
                    <div>
                        <label for="login-email" class="field-label">Email Address <span class="text-terra-500">*</span></label>
                        <input id="login-email" name="email" type="email" value="<?php echo e(old('email', 'user@divne.com')); ?>" autocomplete="email" placeholder="you@example.com" class="field-input" required autofocus>
                    </div>
                    <div>
                        <label for="login-password" class="field-label">Password <span class="text-terra-500">*</span></label>
                        <input id="login-password" name="password" type="password" value="password123" autocomplete="current-password" placeholder="••••••••" class="field-input" required>
                    </div>
                    <div class="flex items-center justify-between text-sm">
                        <label class="flex cursor-pointer items-center gap-2 text-ink-700">
                            <input type="checkbox" name="remember" class="h-4 w-4 cursor-pointer border-sand-300 text-moss-600 focus:ring-moss-600" checked>
                            Remember me
                        </label>
                    </div>
                    <button type="submit" class="btn-primary w-full justify-center">Sign In</button>
                </form>

                <div class="my-6 border-t border-cream-200 pt-6 text-center text-xs text-ink-500">
                    Default Customer: <strong>user@divne.com</strong> / <strong>password123</strong>
                </div>

                <p class="mt-4 text-center text-sm text-ink-500">
                    New to <?php echo e(config('shop.name')); ?>?
                    <a href="<?php echo e(route('register')); ?>" class="font-semibold text-moss-600 transition-colors hover:text-moss-800">Create an account</a>
                </p>

                <div class="mt-6 text-center text-xs text-ink-400">
                    Are you a store manager? <a href="<?php echo e(route('admin.login.form')); ?>" class="underline text-moss-700">Go to Admin Panel Sign In</a>
                </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/login.blade.php ENDPATH**/ ?>