<?php ?>
<div style="max-width: 400px; margin: 4rem auto;">
    <div class="card">
        <h2 style="text-align: center; margin-bottom: 2rem;"><?= \App\Helpers\Lang::t('login_title') ?></h2>
        
        <form action="/login" method="POST">
            <?= \App\Core\CSRF::field() ?>
            
            <div class="form-group">
                <label><?= \App\Helpers\Lang::t('email') ?></label>
                <input type="email" name="email" class="form-control" required>
            </div>
            
            <div class="form-group">
                <label><?= \App\Helpers\Lang::t('password') ?></label>
                <input type="password" name="password" class="form-control" required>
            </div>
            
            <button type="submit" class="btn btn-primary" style="width: 100%;"><?= \App\Helpers\Lang::t('login') ?></button>
        </form>
        
        <p style="text-align: center; margin-top: 1.5rem; font-size: 0.9rem;">
            <?= \App\Helpers\Lang::t('no_account') ?> <a href="/register"><?= \App\Helpers\Lang::t('register_here') ?></a>
        </p>
    </div>
</div>
