<?php $__env->startSection('title', 'Login - Beautez Telehealth'); ?>

<?php $__env->startSection('content'); ?>
<div class="min-h-screen flex items-center justify-center" style="background: linear-gradient(135deg, #fbbf24 0%, #ec4899 50%, #000000 100%);">
    <div class="max-w-md w-full bg-white rounded-lg shadow-xl p-8">
        <div class="text-center mb-8">
            <div class="flex items-center justify-center gap-3 mb-2">
                <img src="<?php echo e(asset('logo.jpg')); ?>" alt="Beautez Logo" class="h-10 w-auto object-contain">
                <h1 class="text-3xl font-bold text-gray-800">Beautez Telehealth</h1>
            </div>
            <p class="text-gray-600 mt-2">Sign in to your account</p>
        </div>

        <form method="POST" action="<?php echo e(route('login')); ?>">
            <?php echo csrf_field(); ?>

            <div class="mb-4">
                <label for="email" class="block text-gray-700 text-sm font-bold mb-2">
                    Email Address
                </label>
                <input type="email" 
                       id="email" 
                       name="email" 
                       value="<?php echo e(old('email')); ?>"
                       required 
                       autofocus
                       class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#ec4899]">
            </div>

            <div class="mb-6">
                <label for="password" class="block text-gray-700 text-sm font-bold mb-2">
                    Password
                </label>
                <input type="password" 
                       id="password" 
                       name="password" 
                       required
                       class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#ec4899]">
            </div>

            <button type="submit" 
                    class="w-full bg-[#ec4899] hover:bg-[#db2777] text-white font-bold py-2 px-4 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#ec4899] transition-colors duration-200">
                Sign In
            </button>
        </form>

        <div class="mt-6 text-center">
            <p class="text-sm text-gray-600 mb-4">
                Don't have an account? 
                <a href="<?php echo e(route('doctor.register')); ?>" class="text-[#ec4899] hover:text-[#db2777] font-semibold transition-colors duration-200">
                    Register as Doctor
                </a>
                <?php if(\App\Models\Setting::get('patient_registration_enabled', false)): ?>
                    <span class="mx-2">|</span>
                    <a href="<?php echo e(route('patient.register')); ?>" class="text-[#ec4899] hover:text-[#db2777] font-semibold transition-colors duration-200">
                        Register as Patient
                    </a>
                <?php endif; ?>
            </p>
            <div class="text-sm text-gray-600">
                <p>Default credentials:</p>
                <p class="mt-2">Admin: admin@beautez.com / password</p>
                <p>Doctor: doctor@beautez.com / password</p>
                <p>Pharmacist: pharmacist@beautez.com / password</p>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\BrainTech\Documents\BEAUTEZ SYSTEM\resources\views/auth/login.blade.php ENDPATH**/ ?>