<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SOS Alert Triggered</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f7f7f7;
            margin: 0;
            padding: 0;
        }

        .container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            color: #0056b3;
        }

        .content {
            margin-top: 20px;
        }

        .footer {
            margin-top: 30px;
            font-size: 0.9em;
            color: #777;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="logo-container" style="text-align: center;">
            <a href="#">
                <img style="width: 70px;" id="logo"
                    src="https://gocabbiee.blr1.digitaloceanspaces.com/dev/logo.png" width="70"
                    alt="" />
            </a>
        </div>

        <p>Dear Admin,</p>

        <div class="content">
            <p>This is to notify you that <strong>{{driver_name}}</strong> has triggered an <strong>SOS emergency alert</strong>.</p>

            <p>Please take immediate action. Below are the details:</p>

            <p><strong>Driver Location (Address):</strong><br>
                {{address}}
            </p>

            <p>
                <strong>Google Maps Link:</strong><br>
                <a href="https://www.google.com/maps?q={{latitude}},{{longitude}}" target="_blank">
                    View Location on Google Maps
                </a>
            </p>

            <p>Please check on the driver's safety immediately.</p>

            <p>GoCabbiee System</p>
        </div>
    </div>
</body>

</html>
