{% extends 'base.html' %}
{% load i18n %}

{% block title %}{% trans "Password Reset Complete" %} | masarX{% endblock %}

{% block content %}
<section class="py-5 bg-light" style="min-height: 80vh; display: flex; align-items: center;">
    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-6 col-lg-5">
                <div class="card shadow-sm border-0 rounded-4">
                    <div class="card-body p-4 p-md-5 text-center">
                        <div class="mb-4 text-success">
                            <i class="bi bi-check-circle-fill display-1"></i>
                        </div>
                        <h3 class="fw-bold mb-3">{% trans "Password Changed!" %}</h3>
                        <p class="text-muted mb-4">
                            {% trans "Your password has been set. You may go ahead and log in now." %}
                        </p>
                        <a href="{% url 'login' %}" class="btn btn-masarx-primary w-100 py-2 fw-bold">
                            {% trans "Log In" %}
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<style>
    .btn-masarx-primary {
        background-color: var(--accent-orange);
        border-color: var(--accent-orange);
        color: white;
        border-radius: 8px;
        transition: all 0.3s;
    }
    .btn-masarx-primary:hover {
        background-color: #e66a00;
        border-color: #e66a00;
        color: white;
    }
</style>
{% endblock %}
