<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - Print Shop Booking Management</title>
    
    <!-- Google Fonts: Poppins -->
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">

    <style>
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f4f6f9;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .login-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            width: 100%;
            max-width: 900px;
        }
        .bg-login-image {
            background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            padding: 40px;
            text-align: center;
        }
        .form-floating > label {
            color: #6c757d;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="row justify-content-center">
        <div class="col-xl-10 col-lg-12 col-md-9">
            <div class="card login-card">
                <div class="row g-0">
                    <div class="col-lg-6 d-none d-lg-flex bg-login-image">
                        <div>
                            <i class="fas fa-print fa-5x mb-4 shadow-sm" style="border-radius: 20px; padding: 20px; background: rgba(255,255,255,0.1);"></i>
                            <h2 class="fw-bold">PrintShop ERP</h2>
                            <p class="lead mt-3 mb-0">Professional Booking Management System</p>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="p-5">
                            <div class="text-center mb-4">
                                <h1 class="h3 text-gray-900 fw-bold mb-1">Welcome Back!</h1>
                                <p class="text-muted">Please login to your account.</p>
                            </div>
                            
                            <?php if($errors->any()): ?>
                                <div class="alert alert-danger shadow-sm border-0">
                                    <ul class="mb-0 ps-3">
                                        <?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(); ?>
                                    </ul>
                                </div>
                            <?php endif; ?>

                            <form action="<?php echo e(route('login.post')); ?>" method="POST">
                                <?php echo csrf_field(); ?>
                                <div class="form-floating mb-3">
                                    <input type="email" class="form-control rounded-pill px-4" id="email" name="email" value="<?php echo e(old('email')); ?>" placeholder="name@example.com" required autofocus>
                                    <label for="email" class="ms-2">Email Address</label>
                                </div>
                                
                                <div class="form-floating mb-4">
                                    <input type="password" class="form-control rounded-pill px-4" id="password" name="password" placeholder="Password" required>
                                    <label for="password" class="ms-2">Password</label>
                                </div>
                                
                                <button type="submit" class="btn btn-primary btn-user w-100 rounded-pill py-3 fw-bold shadow-sm">
                                    Login
                                </button>
                            </form>
                            
                            <hr class="mt-5">
                            <div class="text-center">
                                <small class="text-muted">&copy; <?php echo e(date('Y')); ?> PrintShop ERP. All Rights Reserved.</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
<?php /**PATH E:\xampp\htdocs\saai-cards\resources\views/auth/login.blade.php ENDPATH**/ ?>