<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your eSIM Order Has Been Placed!</title>
    <style>
        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif; 
            line-height: 1.6;
            background-color: #f7f7f7;
            color: #333;
        }
        .container {
            max-width: 600px;
            margin: 20px auto;
            background-color: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .header {
            background-color: #3b82f6;
            color: #ffffff;
            padding: 20px;
            text-align: center;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }
        .content {
            padding: 30px;
            text-align: center;
        }
        .button {
            display: inline-block;
            background-color: #2563eb;
            color: #ffffff;
            padding: 12px 25px;
            text-decoration: none; 
            border-radius: 6px;
            margin-top: 25px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        .button:hover {
            background-color: #1e40af;
        }
        .footer {
            background-color: #f0f0f0;
            color: #777;
            padding: 20px;
            text-align: center;
            font-size: 12px;
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
            margin-top: 20px;
        }
        @media only screen and (max-width: 600px) {
            .container {
                width: 95%;
                margin: 10px auto;
            }
            .content {
                padding: 20px;
            }
            .button {
                padding: 10px 20px;
            }
        }
        .order-details {
            background-color: #f9f9f9;
            border: 1px solid #e0e0e0;
            padding: 20px;
            margin: 20px auto;
            border-radius: 8px;
            max-width: 400px;
            text-align: left;
        }
        .order-details p {
            margin-bottom: 8px;
        }
        .order-details p:last-child {
            margin-bottom: 0;
        }
        .order-details strong {
            color: #000;
        }
    </style>
</head>
<body style="background-color: #f7f7f7; padding: 16px;">
    <div class="container">
        <div class="header">
            <h1 style="font-size: 28px; font-weight: bold;">Your eSIM Order is Confirmed!</h1>
        </div>
        <div class="content">
            <p style="font-size: 18px;">Hello,</p>
            <p style="font-size: 16px; margin-top: 8px;">
                Thank you for your recent eSIM order with {{companyName}}!
            </p>
            <p style="font-size: 16px; margin-top: 16px;">
                Your order has been successfully placed and is being processed. Here are your order details:
            </p>

            <div class="order-details">
                <p><strong>Order ID:</strong> {{orderId}}</p>
                <p><strong>Package:</strong> {{packageName}}</p>
                <p><strong>Amount:</strong> {{orderAmount}}</p>
                <p><strong>Order Date & Time:</strong> {{orderDate}}</p>
            </div>

            <p style="font-size: 16px; margin-top: 16px; font-weight: 600; color: #4a4a4a;">
                You will receive a separate email shortly with your **eSIM QR code** and detailed activation instructions. Please keep an eye on your inbox (and spam/junk folder).
            </p>
            <p style="font-size: 16px; margin-top: 16px;">
                If you have any questions or need assistance, please visit our <a href="#" style="color:#2563eb; text-decoration:underline;">Support Center</a> or contact us directly.
            </p>
        </div>
        <div class="footer">
            <p>&copy; {{date}} {{companyName}}. All rights reserved.</p>
            <p>This is an automated email. Please do not reply to this message.</p>
        </div>
    </div>
</body>
</html>
