{% extends "@AutoAdminAdmin/security_layout.html.twig" %}

{% block body %}
  <body class="bg-gradient-success">
  <div class="container">
    <!-- Outer Row -->
    <div class="row justify-content-center">
      <div class="col-xl-6 col-lg-8 col-md-10">
        <div class="card o-hidden border-0 shadow-lg mt-5 mb-2">
          <div class="card-body p-0">
            <!-- Nested Row within Card Body -->
            <div class="row">
              <div class="col-12">
                <div class="p-5 text-center">
                  <img
                    src="{{ asset('/bundles/autoadminadmin/images/GDA-logo--full.png')|webp() }}"
                    alt="Logo"
                    loading="lazy"
                  >
                  {{ form_start(form, { attr: { class: 'user' } }) }}
                  <div class="form-group">
                    {{ form_widget(form.password.first, {attr: {class: "form-control"}}) }}
                  </div>
                  <div class="form-group">
                    {{ form_widget(form.password.second, {attr: {class: "form-control"}}) }}
                  </div>
                  <button type="submit" class="btn btn-primary btn-block">Réinitialiser mon mot de passe</button>
                  {{ form_end(form) }}
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </body>
{% endblock %}
