{% extends "base.html" %}
{% block body %}
<div class="auth-card">
    <h1>Fasting Tracker</h1>
    <p class="subtitle">Sign in to access your tracker.</p>
    {% if error %}
    <div class="alert">{{ error }}</div>
    {% endif %}
    <form method="post" class="auth-form">
        <label>
            <span>Username</span>
            <input type="text" name="username" required autofocus>
        </label>
        <label>
            <span>Password</span>
            <input type="password" name="password" required>
        </label>
        <button type="submit" class="primary full">Sign In</button>
    </form>
</div>
{% endblock %}
