<?php include 'views/layout/header.php'; ?>
<div class="row justify-content-center">
    <div class="col-md-6">
        <div class="card">
            <div class="card-header bg-white">
                <h4>User Login</h4>
            </div>
            <div class="card-body">
                <form action="<?php echo BASE_URL; ?>?page=auth&action=login" method="POST">
                    <div class="mb-3">
                        <label>Email Address</label>
                        <input type="email" name="email" class="form-control" required>
                    </div>
                    <div class="mb-3">
                        <label>Password</label>
                        <input type="password" name="password" class="form-control" required>
                    </div>
                    <button type="submit" class="btn btn-primary w-100">Login</button>
                </form>
                <div class="mt-3 text-center">
                    <a href="<?php echo BASE_URL; ?>?page=auth&action=register">Register New Account</a> |
                    <a href="<?php echo BASE_URL; ?>?page=auth&action=admin_login">Admin Login</a>
                </div>
            </div>
        </div>
    </div>
</div>
<?php include 'views/layout/footer.php'; ?>
