<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Report Has Been Completed</title>
    <style>
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f4f4f4;
            color: #333;
            margin: 0;
            padding: 0;
            -webkit-text-size-adjust: none;
            width: 100%;
        }
        .container {
            max-width: 600px;
            margin: 20px auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        .header {
            background-color: #336ee5; /* Primary Color */
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 8px 8px 0 0;
            text-align: center;
        }
        .header img {
            max-width: 150px;
            height: auto;
            display: block;
            margin: 0 auto 10px;
        }
        .content {
            padding: 20px;
            line-height: 1.6;
            color: #000000; /* Body Text Color */
        }
        .button {
            display: inline-block;
            padding: 12px 25px;
            margin-top: 25px;
            background-color: #336ee5; /* Accent Color */
            color: #ffffff;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            text-align: center;
        }
        .footer {
            margin-top: 30px;
            padding: 15px 20px;
            font-size: 0.8em;
            text-align: center;
            color: #666;
            border-top: 1px solid #eee;
        }
        /* Responsive styles */
        @media only screen and (max-width: 600px) {
            .container {
                width: 95%;
                margin: 10px auto;
                padding: 15px;
            }
            .header {
                padding: 10px;
            }
            .content {
                padding: 15px;
            }
            .button {
                width: 80%;
                box-sizing: border-box;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <img src="https://testing.rehlkocustomercare.com/api/public/images/logo.png" alt="Rehlko Logo" style="display: block; margin: 0 auto; max-width: 150px;">
            <h2>Your Report Has Been Completed!</h2>
        </div>
        <div class="content">
            <p>Dear <?= $customer_name ?>,</p>
            <p>We are pleased to inform you that your report <strong><?= $report_index ?></strong> has been successfully completed by our team.</p>
            <p>A detailed PDF summary of the report, including the root cause, corrective actions, and prevention steps, has been attached to this email for your records.</p>
            
            
            <p>Thank you for using Rehlko Customer Care. We hope the issue has been resolved to your satisfaction.</p>
            <p>Best regards,<br>The Rehlko Customer Care Team</p>
        </div>
        <div class="footer">
            <p>&copy; <?php echo date('Y'); ?> Rehlko Customer Care. All rights reserved.</p>
            <p>This is an automated email, please do not reply.</p>
        </div>
    </div>
</body>
</html>
