<!DOCTYPE html>
<html lang="{{ get_admin_language() }}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ t('forgot_password.title') }} - AliothPress</title>
    <link rel="stylesheet" href="/static/css/admin.css">
</head>
<body class="auth-page">
    <div class="auth-card">
        <h1><img src="{{ url_for('static', filename='img/admin-star.png') }}" alt="" width="32" height="32" class="sidebar-brand-icon"> AliothPress</h1>
        <p class="auth-subtitle">{{ t('forgot_password.title') }}</p>
        
        {% with messages = get_flashed_messages(with_categories=true) %}
            {% if messages %}
                {% for category, message in messages %}
                    <div class="alert alert-{{ category }}">{{ message }}</div>
                {% endfor %}
            {% endif %}
        {% endwith %}
        
        <form method="POST">
            <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
            <div class="form-group">
                <label for="email">{{ t('forgot_password.email_label') }}</label>
                <input type="email" id="email" name="email" required autocomplete="email"
                       placeholder="{{ t('forgot_password.email_placeholder') }}">
                <div class="help-text">{{ t('forgot_password.email_help') }}</div>
            </div>
            
            <button type="submit">{{ t('forgot_password.send_btn') }}</button>
        </form>
        
        <div class="auth-link">
            <a href="{{ url_for('admin_login') }}">{{ t('forgot_password.back_to_login') }}</a>
        </div>
    </div>
</body>
</html>
