<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - Simple Analytics</title>
    <style>
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f0f0f;
            color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }
        .login-box {
            background: #1a1a1a;
            border: 1px solid #333;
            border-radius: 12px;
            padding: 40px;
            width: 100%;
            max-width: 400px;
        }
        h1 {
            font-size: 24px;
            margin-bottom: 8px;
            color: #fff;
        }
        p.subtitle {
            color: #888;
            margin-bottom: 32px;
            font-size: 14px;
        }
        .logo {
            font-size: 48px;
            margin-bottom: 16px;
        }
        input[type=password] {
            width: 100%;
            padding: 12px 16px;
            background: #252525;
            border: 1px solid #444;
            border-radius: 8px;
            color: #fff;
            font-size: 16px;
            outline: none;
            margin-bottom: 16px;
        }
        input[type=password]:focus {
            border-color: #4a9eff;
        }
        button {
            width: 100%;
            padding: 12px;
            background: #4a9eff;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
        }
        button:hover { background: #3a8eef; }
    </style>
</head>
<body>
    <div class="login-box">
        <div class="logo">📊</div>
        <h1>Simple Analytics</h1>
        <p class="subtitle">Privacy-first, self-hosted web analytics</p>
        <form method="post">
            <input type="password" name="password" placeholder="Password" autofocus required>
            <button type="submit">Sign In</button>
        </form>
    </div>
</body>
</html>