<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - PCR Health</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
</head>
<body class="bg-slate-50 text-slate-900 font-sans">

    <main class="max-w-md mx-auto px-4 py-20">
        <div class="text-center mb-8">
            <div class="inline-block bg-blue-600 p-3 rounded-2xl text-white mb-4 shadow-lg">
                <i class="fas fa-utensils text-2xl"></i>
            </div>
            <h1 class="text-3xl font-black text-slate-800">PCR<span class="text-blue-600">Health</span></h1>
            <p class="text-slate-500 mt-2">Masuk untuk menganalisis pola makan Anda</p>
        </div>

        <div class="bg-white rounded-3xl shadow-2xl shadow-slate-200 border border-slate-100 overflow-hidden">
            <div class="p-8">
                <?php if(session('success')): ?>
                    <div class="mb-4 p-4 bg-green-50 text-green-700 rounded-xl border-l-4 border-green-500 text-sm">
                        <?php echo e(session('success')); ?>

                    </div>
                <?php endif; ?>

                <form action="<?php echo e(route('login')); ?>" method="POST" class="space-y-6">
                    <?php echo csrf_field(); ?>
                    <div>
                        <label class="block text-sm font-bold text-slate-700 mb-2">Username</label>
                        <input type="text" name="username" required 
                            class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-500 focus:ring-4 focus:ring-blue-100 transition outline-none"
                            placeholder="Username Anda">
                        <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-500 text-xs mt-1"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                    </div>

                    <div>
                        <label class="block text-sm font-bold text-slate-700 mb-2">Password</label>
                        <input type="password" name="password" required 
                            class="w-full px-4 py-3 rounded-xl border border-slate-200 focus:border-blue-500 focus:ring-4 focus:ring-blue-100 transition outline-none"
                            placeholder="••••••••">
                    </div>

                    <button type="submit" class="w-full py-4 bg-blue-600 hover:bg-blue-700 text-white font-bold rounded-2xl shadow-lg shadow-blue-200 transition-all flex items-center justify-center gap-2">
                        Masuk <i class="fas fa-arrow-right"></i>
                    </button>
                </form>

                <div class="mt-8 pt-6 border-t border-slate-100 text-center">
                    <p class="text-sm text-slate-600">
                        Belum punya akun? <a href="<?php echo e(route('register')); ?>" class="text-blue-600 font-bold hover:underline">Daftar di sini</a>
                    </p>
                </div>
            </div>
        </div>
    </main>

</body>
</html><?php /**PATH D:\Aplikasi\Laragon\laragon-6.0-minimal\www\ai-apps\resources\views/login.blade.php ENDPATH**/ ?>