{% extends 'base.html' %}

{% block title %}Masuk - Marketplace UMKM Pemagarsari{% endblock %}

{% block content %}
<div class="container py-5">
    <div class="row justify-content-center py-5">
        <div class="col-md-5">
            <div class="card border-0 rounded-4 shadow-sm p-4 p-md-5">
                <div class="text-center mb-4">
                    <h2 class="fw-bold">Selamat Datang</h2>
                    <p class="text-muted">Masuk untuk mengelola toko Anda</p>
                </div>

                <form method="POST">
                    {% csrf_token %}
                    <div class="mb-3">
                        <label class="form-label fw-bold">Username</label>
                        <input type="text" name="username" class="form-control rounded-3 shadow-none py-2" required>
                    </div>
                    <div class="mb-4">
                        <label class="form-label fw-bold">Password</label>
                        <input type="password" name="password" class="form-control rounded-3 shadow-none py-2" required>
                    </div>
                    <button type="submit" class="btn btn-orange w-100 rounded-pill py-3 mb-3">
                        Masuk Sekarang
                    </button>
                </form>

                <div class="text-center mt-4">
                    <p class="small text-muted mb-0">Belum punya akun? <br>Silakan hubungi Admin Desa untuk pendaftaran akun Penjual.</p>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
