<?php $__env->startSection('content'); ?>
<?php echo $__env->make('website.components.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<main class="pt-28">
    <section class="min-h-[calc(100vh-112px)] py-16 bg-cream relative overflow-hidden">
        <div class="absolute -top-20 right-0 w-72 h-72 bg-teal-deep/15 rounded-full blur-3xl"></div>

        <div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 lg:grid-cols-2 rounded-3xl overflow-hidden border border-teal-deep/10 shadow-xl bg-white">
                <div class="bg-gradient-to-br from-gray-900 to-black text-white p-10 lg:p-14 flex flex-col justify-between">
                    <div>
                        <p class="inline-flex items-center px-3 py-1 rounded-full bg-white/10 border border-white/20 text-sm font-semibold mb-6">Restricted Area</p>
                        <h1 class="text-4xl md:text-5xl font-heading font-bold mb-4">Admin Console</h1>
                        <p class="text-gray-300 leading-relaxed">Authorized administrators only. Session activity and access events are monitored.</p>
                    </div>
                    <p class="pt-8 text-sm text-gray-300">Tip: Use your organization credentials to continue.</p>
                </div>

                <div class="p-8 md:p-10 lg:p-14">
                    <h2 class="text-3xl font-heading font-bold text-teal-deep mb-2">Administrator Login</h2>
                    <p class="text-gray-500 mb-8">Secure sign-in for admin users.</p>

                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($errors->any()): ?>
                        <div class="mb-6 rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-700">
                            <ul class="list-disc pl-5 space-y-1">
                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li><?php echo e($error); ?></li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                            </ul>
                        </div>
                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                    <form action="<?php echo e(route('login.admin.submit')); ?>" method="post" class="space-y-5">
                        <?php echo csrf_field(); ?>
                        <div>
                            <label class="block text-sm font-semibold text-teal-deep">Email</label>
                            <input type="email" name="email" value="<?php echo e(old('email')); ?>" required class="w-full mt-2 px-4 py-3 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-teal-deep/30" placeholder="admin@example.com">
                        </div>

                        <div>
                            <label class="block text-sm font-semibold text-teal-deep">Password</label>
                            <input type="password" name="password" required class="w-full mt-2 px-4 py-3 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-teal-deep/30" placeholder="••••••••">
                        </div>

                        <div class="flex items-center justify-between text-sm">
                            <label class="flex items-center gap-2 text-gray-600"><input type="checkbox" name="remember" class="rounded border-gray-300"> Remember me</label>
                            <a href="<?php echo e(route('website.contact')); ?>" class="text-teal-deep hover:text-amber-dark">Need help?</a>
                        </div>

                        <button type="submit" class="w-full mt-1 bg-teal-deep hover:bg-teal-dark text-white py-3 rounded-xl font-bold transition-colors">Login</button>
                    </form>

                    <p class="text-sm text-gray-500 mt-6">Need a new account? <a href="<?php echo e(route('register')); ?>" class="text-teal-deep hover:text-amber-dark font-semibold">Register here</a></p>
                </div>
            </div>
        </div>
    </section>
</main>

<?php echo $__env->make('website.components.footer', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('website.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\New folder\resources\views/website/auth/admin-login.blade.php ENDPATH**/ ?>