<?php
// Désactiver menu + header UNIQUEMENT pour cette page
$menu = "null";
$header = "null";

$this->setVar('menu', $menu);
$this->setVar('header', $header);
?>

<?= $this->extend('layouts/default', ['menu' => $menu, 'header' => $header]) ?>

<?= $this->section('content') ?>

<div class="w-full max-w-sm bg-white shadow p-6 rounded mx-auto mt-20">
    <h2 class="text-center text-xl font-bold mb-6">Reader Info</h2>

    <form action="<?= site_url('/login/submit'); ?>" method="post">
        <div class="mb-4">
            <label class="block text-sm mb-1">Utilisateur</label>
            <input type="text" class="w-full border px-3 py-2 rounded" placeholder="User">
        </div>

        <div class="mb-4">
            <label class="block text-sm mb-1">Mot de passe</label>
            <input type="password" class="w-full border px-3 py-2 rounded" placeholder="Password">
        </div>

        <button class="btn bg-primary text-white w-full py-2 rounded-lg">
            Entrer
        </button>
    </form>
</div>

<?= $this->endSection() ?>
