{% extends 'base.html' %}
{% load static %}
{% block title %}{{ student.get_full_name }} — Reports{% endblock %}
{% block content %}
<div class="container-fluid">
    <div class="d-flex justify-content-between align-items-center mb-4">
        <div><h1 class="h3 mb-0">Student Reports</h1><p class="text-muted">{{ student.get_full_name }}</p></div>
        <a href="{% url 'parents:parent_student_detail' student.pk %}" class="btn btn-outline-secondary"><i class="fas fa-arrow-left me-2"></i>Back</a>
    </div>
    <div class="row">
        {% for report in report_types %}
        <div class="col-md-4 mb-4">
            <div class="card shadow h-100">
                <div class="card-body text-center py-4">
                    <i class="fas fa-file-alt fa-3x text-primary mb-3"></i>
                    <h5>{{ report.name }}</h5>
                    <a href="{{ report.url }}" class="btn btn-outline-primary mt-2"><i class="fas fa-download me-2"></i>Download</a>
                </div>
            </div>
        </div>
        {% endfor %}
    </div>
</div>
{% endblock %}
