<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="refresh" content="0;url=/login">
    <title>Session Expired - PosAI</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .card {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            text-align: center;
            max-width: 400px;
        }
        h2 { color: #333; margin-bottom: 10px; }
        p { color: #666; }
        a {
            color: white;
            text-decoration: none;
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background: #007bff;
            border-radius: 5px;
        }
        a:hover { background: #0056b3; }
    </style>
</head>
<body>
    <div class="card">
        <h2>Session Expired</h2>
        <p>Your session has expired due to inactivity.</p>
        <p>Redirecting to login...</p>
        <a href="/login">Go to Login</a>
    </div>
    <script>setTimeout(function(){ window.location.href = "/login"; }, 2000); </script>
</body>
</html>
