{% extends "base.html" %}
{% load static %}

{% block content %}
<div class="container content-section">
    <div class="row justify-content-center">
        <div class="col-lg-8">
            <div class="analysis-container">
                <h2 class="text-center mb-4">Analysis Result</h2>

                <div class="card mb-4">
                    <div class="card-header">
                        <strong>Your Submission</strong>
                    </div>
                    <div class="card-body">
                        <p class="card-text">{{ report.description }}</p>
                        {% if report.source %}
                        <footer class="blockquote-footer">Source: <cite title="Source">{{ report.source }}</cite></footer>
                        {% endif %}
                    </div>
                </div>

                <div class="card border-primary">
                    <div class="card-header bg-primary text-white">
                        <strong>AI Risk Assessment</strong>
                    </div>
                    <div class="card-body">
                        <h4 class="card-title">Analysis In Progress...</h4>
                        <p class="card-text">Our AI is currently analyzing your submission. This feature is under development and will be available soon.</p>
                        <p class="card-text">For now, we have recorded this item for future analysis. Thank you for helping us build a safer digital environment.</p>
                    </div>
                </div>

                <div class="text-center mt-4">
                    <a href="{% url 'index' %}" class="btn btn-secondary">Analyze Another Item</a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
