{% load i18n %}
{% load static %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:'en' }}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% trans "Response Submitted" %} - PX360</title>
    <link rel="stylesheet" href="{% static 'dist/css/tailwind.css' %}">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        body { font-family: 'Inter', sans-serif; }
    </style>
</head>
<body class="bg-gray-50 min-h-screen flex items-center py-8 px-4">
    <div class="w-full max-w-xl mx-auto">
        <div class="bg-white rounded-2xl shadow-lg border border-gray-200 p-8 text-center">
            <div class="w-20 h-20 mx-auto bg-green-100 rounded-full flex items-center justify-center mb-6">
                <svg class="w-10 h-10 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
                </svg>
            </div>
            <h1 class="text-2xl font-bold text-gray-800 mb-2">{% trans "Answers Submitted Successfully" %}</h1>
            <p class="text-gray-500 mb-6">{% trans "Your responses have been sent to the department champion for review." %}</p>

            {% if complaint %}
            <div class="text-left bg-gray-50 rounded-xl p-4 mb-6">
                <p class="text-sm text-gray-500">{% trans "Complaint Reference" %}</p>
                <p class="font-bold text-gray-800">#{{ complaint.reference_number }}</p>
            </div>
            {% endif %}

            <div class="bg-blue-50 border border-blue-200 rounded-xl p-4 text-left">
                <p class="text-sm text-blue-700">
                    <strong>{% trans "What happens next?" %}</strong> {% trans "The department champion will review your answers and write a final response. You may be contacted if further clarification is needed." %}
                </p>
            </div>
        </div>
        <p class="text-center text-gray-400 text-xs mt-6">{% trans "PX360 Complaint Management System" %}</p>
    </div>
</body>
</html>
