{% extends 'base.html.twig' %}
{% block title %}Forgot Password
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
.password-reset-container {
max-width: 500px;
margin: 40px auto;
padding: 30px;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.password-reset-title {
color: var(--primary_color);
;
font-size: 24px;
margin-bottom: 24px;
text-align: center;
font-weight: 600;
}
.password-reset-btn {
background: var(--primary_color);
;
color: white;
width: 100%;
padding: 12px;
border-radius: 8px;
font-weight: 500;
transition: all 0.3s;
}
.password-reset-btn:hover {
background: var(--primary_dark_color);
;
transform: translateY(-2px);
}
.password-reset-footer {
text-align: center;
margin-top: 20px;
color: #6c757d;
}
</style>
{% endblock %}
{% block body %}
<div class="password-reset-container">
<h1 class="password-reset-title">Reset Your Password</h1>
{{ form_start(form, {'attr': {'class': 'password-reset-form'}}) }}
<div class="form-group">
{{ form_row(form.email, {
'attr': {
'class': 'form-control',
'placeholder': 'Enter your email'
}
}) }}
</div>
<button type="submit" class="password-reset-btn">
Send Reset Link
</button>
{{ form_end(form) }}
<div class="password-reset-footer">
Remember your password?
<a href="{{ path('app_login') }}">Sign in</a>
</div>
</div>
{% endblock %}