<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Verification Failed</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CFC9',
                        accent: '#FF7D00',
                        dark: '#303052',
                        light: '#F2F3F5',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .control-card {
                @apply bg-white rounded-2xl shadow-lg p-6 transition-all duration-300 hover:shadow-xl;
            }
        }
    </style>
    <style>
        .shake { animation: shake 0.5s ease-in-out; }
        @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
    </style>
</head>
<body class="bg-gray-50 font-inter min-h-screen">
    <div class="container mx-auto px-4 py-8 max-w-md">
        <header class="flex flex-col items-center mb-8 gap-4">
            <img src="/static/images/USX.png" alt="USX Logo" class="max-h-20">
            <div class="text-center">
                <h1 class="text-[clamp(1.5rem,5vw,2.5rem)] font-bold text-dark mb-2">Smart Hotel</h1>
            </div>
        </header>

        <hr class="border-t border-gray-200 my-6">

        <main class="space-y-6">
            <section class="control-card">
                <div class="text-center mb-6">
                    <div class="w-14 h-14 bg-red-50 rounded-full flex items-center justify-center mx-auto mb-4 shake">
                        <i class="fa fa-times text-2xl text-red-500"></i>
                    </div>
                    <h2 class="text-lg font-bold text-dark mb-1">Verification Failed</h2>
                    <p class="text-gray-400 text-sm">Please contact hotel staff for assistance.</p>
                </div>

                <div class="bg-gray-50 rounded-xl p-4 mb-4">
                    <p class="text-xs text-gray-500 uppercase tracking-wider mb-1">Failure reason</p>
                    <p class="text-sm text-gray-700">The requested resource does not exist.</p>
                </div>

                <div class="bg-gray-50 rounded-xl p-4 mb-6">
                    <p class="text-xs text-gray-500 uppercase tracking-wider mb-1">Hotel Service</p>
                    <p class="text-sm text-primary font-medium"></p>
                </div>

                <div class="flex flex-col gap-3">
                    <button onclick="location.reload()"
                        class="w-full py-4 bg-dark text-white rounded-xl font-medium text-center hover:bg-opacity-90 transition-colors flex items-center justify-center gap-2">
                        <i class="fa fa-refresh"></i>
                        <span>Refresh Page</span>
                    </button>
                    <a href="/"
                        class="w-full py-4 bg-white text-dark rounded-xl font-medium text-center border border-gray-200 hover:bg-gray-50 transition-colors no-underline flex items-center justify-center gap-2">
                        <i class="fa fa-home"></i>
                        <span>Back to Hotel Home</span>
                    </a>
                </div>
            </section>
        </main>
    </div>
</body>
</html>
