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

{% block title %}System Maintenance - HAVEN GRAZURI ADVANCE{% endblock %}

{% block content %}
<div class="min-h-screen flex items-center justify-center bg-gray-50 py-12 px-4 sm:px-6 lg:px-8">
    <div class="max-w-md w-full space-y-8">
        <div>
            <div class="mx-auto h-12 w-12 flex items-center justify-center rounded-full bg-yellow-100">
                <span>🔧</span>
            </div>
            <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">
                System Maintenance
            </h2>
            <p class="mt-2 text-center text-sm text-gray-600">
                We're currently performing system maintenance to improve your experience.
            </p>
        </div>
        
        <div class="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
            <div class="text-center">
                <span>🛠️</span>
                <h3 class="text-lg font-medium text-gray-900 mb-2">
                    System Under Maintenance
                </h3>
                <p class="text-sm text-gray-500 mb-6">
                    {{ maintenance_message }}
                </p>
                
                <div class="border-t border-gray-200 pt-4">
                    <p class="text-xs text-gray-400">
                        Expected completion time will be posted here when available.
                    </p>
                </div>
                
                <div class="mt-6">
                    <a href="{% url 'users:login' %}" 
                       class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-primary hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary">
                        <i class="fas fa-refresh mr-2"></i>
                        Try Again
                    </a>
                </div>
            </div>
        </div>
        
        <div class="text-center">
            <p class="text-xs text-gray-400">
                If you need immediate assistance, please contact support.
            </p>
        </div>
    </div>
</div>
{% endblock %} 