<!DOCTYPE html>
<html lang="en" x-data x-init="$store.darkMode.init()" :class="{ 'dark': $store.darkMode.on }" class="bg-gray-100 dark:bg-gray-950">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="DRPIIVpdsZIbiRw9cn52CPcxbgPd1Qf2YrpIFCUV">
        <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex">
        <meta name="googlebot" content="noindex, nofollow">
        <meta name="bingbot" content="noindex, nofollow">

        <title>joeporter-me</title>

        <!-- Prevent flash of wrong theme -->
        <script>
            (function() {
                const mode = localStorage.getItem('colorMode') || 'system';
                const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
                const isDark = mode === 'dark' || (mode === 'system' && prefersDark);
                if (isDark) {
                    document.documentElement.classList.add('dark');
                }
            })();
        </script>

        <!-- Fonts -->
        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=inter:300,400,500,600,700&display=swap" rel="stylesheet" />

        <!-- Scripts -->
        <link rel="preload" as="style" href="https://joeporter.me/build/assets/app-mQKi42d-.css" /><link rel="modulepreload" as="script" href="https://joeporter.me/build/assets/app-tQebsHvS.js" /><link rel="stylesheet" href="https://joeporter.me/build/assets/app-mQKi42d-.css" /><script type="module" src="https://joeporter.me/build/assets/app-tQebsHvS.js"></script>    </head>
    <body class="font-sans antialiased bg-gray-100 dark:bg-dark-950">
        <div class="min-h-screen flex flex-col justify-center items-center px-4 py-12">
            <!-- Background gradient -->
            <div class="absolute inset-0 bg-gradient-to-br from-primary-100 via-gray-100 to-gray-100 dark:from-primary-900/20 dark:via-dark-950 dark:to-dark-950"></div>

            <!-- Content -->
            <div class="relative z-10 w-full max-w-md">
                <!-- Logo -->
                <div class="text-center mb-8">
                    <a href="/" class="inline-flex items-center space-x-3">
                        <div class="w-12 h-12 rounded-xl bg-gradient-to-br from-primary-500 to-primary-700 flex items-center justify-center shadow-lg shadow-primary-500/25">
                            <svg class="w-7 h-7 text-white" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">
                                <path stroke-linecap="round" stroke-linejoin="round" d="m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25" />
                            </svg>
                        </div>
                        <span class="text-2xl font-bold text-gray-900 dark:text-white">joeporter-me</span>
                    </a>
                    <p class="mt-3 text-gray-500 dark:text-dark-400">Your home, your life, your control.</p>
                </div>

                <!-- Card -->
                <div class="bg-white dark:bg-dark-800/80 rounded-2xl shadow-2xl shadow-black/10 dark:shadow-black/20 p-8 border border-gray-200 dark:border-transparent">
                    <!-- Session Status -->
    
    <h2 class="text-2xl font-bold text-white mb-6">Welcome back</h2>

    <form method="POST" action="https://joeporter.me/login">
        <input type="hidden" name="_token" value="DRPIIVpdsZIbiRw9cn52CPcxbgPd1Qf2YrpIFCUV" autocomplete="off">
        <!-- Email Address -->
        <div>
            <label for="email" class="block text-sm font-medium text-dark-300 mb-2">Email</label>
            <input
                id="email"
                type="email"
                name="email"
                value=""
                required
                autofocus
                autocomplete="username"
                class="w-full px-4 py-3 bg-dark-700/50 border border-dark-600 rounded-xl text-white placeholder-dark-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-all"
                placeholder="you@example.com"
            >
                    </div>

        <!-- Password -->
        <div class="mt-5">
            <label for="password" class="block text-sm font-medium text-dark-300 mb-2">Password</label>
            <input
                id="password"
                type="password"
                name="password"
                required
                autocomplete="current-password"
                class="w-full px-4 py-3 bg-dark-700/50 border border-dark-600 rounded-xl text-white placeholder-dark-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent transition-all"
                placeholder="Enter your password"
            >
                    </div>

        <!-- Remember Me & Forgot Password -->
        <div class="flex items-center justify-between mt-5">
            <label for="remember_me" class="inline-flex items-center">
                <input
                    id="remember_me"
                    type="checkbox"
                    name="remember"
                    class="w-4 h-4 rounded bg-dark-700 border-dark-600 text-primary-500 focus:ring-primary-500 focus:ring-offset-dark-800"
                >
                <span class="ml-2 text-sm text-dark-400">Remember me</span>
            </label>

                            <a href="https://joeporter.me/forgot-password" class="text-sm text-primary-400 hover:text-primary-300 transition-colors">
                    Forgot password?
                </a>
                    </div>

        <!-- Submit Button -->
        <button
            type="submit"
            class="w-full mt-6 px-6 py-3 bg-gradient-to-r from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 text-white font-semibold rounded-xl shadow-lg shadow-primary-500/25 transition-all duration-200 transform hover:scale-[1.02]"
        >
            Sign In
        </button>
    </form>

    <!-- Private System Notice -->
    <p class="mt-6 text-center text-dark-500 text-sm">
        This is a private system. Contact an administrator for access.
    </p>
                </div>

                <!-- Footer -->
                <p class="text-center text-gray-500 dark:text-dark-500 text-sm mt-8">
                    Secured with AES-256-GCM encryption
                </p>
            </div>
        </div>
    </body>
</html>
