<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <style>
            body {
                font-family: "Arial", sans-serif;
                background-color: #f0f4f7;
                margin: 0;
                padding: 0;
            }

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

            h1 {
                color: #ffffff;
            }

            .invite-header {
                background: linear-gradient(90deg, #2a3e50, #4f6d7a);
                padding: 20px;
                text-align: center;
                color: #ffffff;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 20px;
            }

            .invite-header img {
                max-width: 60px;
                height: auto;
            }

            .invite-header h1 {
                margin: 0;
                font-size: 24px;
                font-weight: 700;
            }

            .invite-body {
                padding: 30px;
                text-align: center;
            }

            .invite-body h2 {
                font-size: 22px;
                color: #333;
            }

            .invite-body p {
                font-size: 16px;
                color: #666;
                line-height: 1.5;
                margin: 10px 0;
            }

            .invite-button {
                display: inline-block;
                background: #2a3e50;
                text-decoration: none;
                padding: 15px 30px;
                font-size: 16px;
                font-weight: 600;
                text-decoration: none;
                border-radius: 30px;
                transition:
                    background 0.3s ease,
                    transform 0.3s ease;
                margin-top: 20px;
            }

            .invite-button:hover {
                color: #ffffff;
                background: #218c74;
                transform: scale(1.05);
            }

            .invite-footer {
                background: #f0f4f7;
                padding: 20px;
                text-align: center;
                color: #999;
            }

            .invite-footer p {
                margin: 5px 0;
            }

            .invite-logo {
                margin-right: 10px;
                width: 30px;
            }
        </style>
    </head>
    <body>
        <div class="invite-container">
            <div class="invite-header">
                <img src="cid:unique@cid" class="invite-logo" alt="Logo" />
                <h1 class="project-name">{{projectName}}</h1>
            </div>
            <div class="invite-body">
                <p>
                    {{inviterName}} has invited you to join the {{projectName}}. Accept the invitation to
                    start collaborating.
                </p>
                <p>To join, please click the button below:</p>
                <a href="{{callbackUrl}}" class="invite-button" style="color: #ffffff">Click To Join</a>
            </div>
            {{contactSupport}}
        </div>
    </body>
</html>
