<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GPS Permission Denied</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f8f8f8;
            margin: 0;
            padding: 0;
            text-align: center;
            color: #333;
        }
        h3 {
            color: #ff6347;
        }
        .container {
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
        p {
            font-size: 16px;
            line-height: 1.6;
        }
        .button {
            background-color: #4CAF50;
            color: white;
            padding: 15px 30px;
            text-align: center;
            border: none;
            cursor: pointer;
            font-size: 18px;
            border-radius: 5px;
            text-decoration: none;
        }
        .button:hover {
            background-color: #45a049;
        }
        .alert {
            background-color: #ffcccb;
            color: #d8000c;
            padding: 10px;
            margin: 20px 0;
            border-radius: 5px;
            font-size: 18px;
        }
        .error-img {
            width: 100px;
            margin-top: 20px;
        }
    </style>
</head>
<body>

    <div class="container">
        <h3>❌ GPS Permission Denied</h3>
        
        <!-- Error Image -->
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/52/No_location_icon.png/800px-No_location_icon.png" alt="GPS Permission Denied" class="error-img">

        <div class="alert">
            Error: GPS permission denied. Please enable location services in your browser or device settings.
        </div>

        <p>We could not access your location because GPS permission was denied. To proceed, please enable GPS and refresh the page.</p>

        <p>For mobile devices, make sure that location services are enabled in your device settings. On most browsers, click on the location icon in the address bar to grant permission.</p>

        <a href="/erp" class="button">Go Back to Home</a>
    </div>

</body>
</html>
