<?php $__template->layout('Layout.auth'); ?>
<?php $__template->section('title'); ?>تسجيل الدخول<?php $__template->endSection(); ?>
<?php $__template->section('content'); ?>
<form method="POST" action="/login" autocomplete="off">
    <?= csrf_field() ?>
    <div class="form-group" style="margin-bottom:20px;">
        <label for="username" class="form-label" style="display:block;margin-bottom:6px;font-weight:600;color:#1A1A2E;">اسم المستخدم</label>
        <input type="text" id="username" name="username" value="<?= e(old('username')) ?>" class="form-input" style="width:100%;padding:10px 14px;border:1px solid #E5E7EB;border-radius:6px;font-size:14px;" required autofocus>
    </div>
    <div class="form-group" style="margin-bottom:20px;">
        <label for="password" class="form-label" style="display:block;margin-bottom:6px;font-weight:600;color:#1A1A2E;">كلمة المرور</label>
        <input type="password" id="password" name="password" class="form-input" style="width:100%;padding:10px 14px;border:1px solid #E5E7EB;border-radius:6px;font-size:14px;" required>
    </div>
    <button type="submit" class="btn btn-primary" style="width:100%;padding:12px;background:#0D7377;color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;">
        تسجيل الدخول
    </button>
</form>
<?php $__template->endSection(); ?>