<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Password Changed - Haven Grazuri Investment Limited</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        :root {
            --primary: #0A3D62;
            --secondary: #3C9EBD;
            --background: #FFFFFF;
            --success: #2ECC71;
            --error: #E74C3C;
        }
        
        .bg-primary { background-color: var(--primary); }
        .bg-secondary { background-color: var(--secondary); }
        .bg-success { background-color: var(--success); }
        .bg-error { background-color: var(--error); }
        
        .text-primary { color: var(--primary); }
        .text-secondary { color: var(--secondary); }
        .text-success { color: var(--success); }
        .text-error { color: var(--error); }
        
        .border-primary { border-color: var(--primary); }
        .border-secondary { border-color: var(--secondary); }
    </style>
</head>
<body class="bg-gray-50 min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
    <div class="max-w-md w-full space-y-8">
        <!-- Success Message -->
        <div class="text-center">
            <div class="mx-auto h-16 w-16 bg-success rounded-full flex items-center justify-center mb-4">
                <svg class="h-8 w-8 text-white" 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>
            <h2 class="text-3xl font-bold text-gray-900">Password Changed!</h2>
            <p class="mt-2 text-sm text-gray-600">Your password has been successfully updated.</p>
        </div>

        <!-- Success Card -->
        <div class="bg-white py-8 px-6 shadow-lg rounded-lg text-center">
            <div class="mb-6">
                <p class="text-sm text-gray-600">
                    Your password has been changed successfully. You can now use your new password to sign in.
                </p>
            </div>

            <!-- Action Buttons -->
            <div class="space-y-4">
                <a href="{% url 'dashboard' %}" 
                   class="w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-primary hover:bg-opacity-90 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors">
                    Go to Dashboard
                </a>
                
                <a href="{% url 'users:login' %}" 
                   class="w-full flex justify-center py-2 px-4 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition-colors">
                    Sign In Again
                </a>
            </div>
        </div>

        <!-- Footer -->
        <div class="text-center">
            <p class="text-xs text-gray-500">
                © 2025 Haven Grazuri Investment Limited. All rights reserved.
            </p>
        </div>
    </div>
</body>
</html> 