{% load i18n %}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% trans "You're invited" %}</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 20px;
            color: #333;
            background-color: #f5f5f5;
        }
        .email-container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .content {
            margin-bottom: 30px;
        }
        .button {
            display: inline-block;
            padding: 12px 24px;
            background-color: #3498db;
            color: #ffffff !important;
            text-decoration: none;
            border-radius: 4px;
            margin: 20px 0;
            font-weight: bold;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #666;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        @media only screen and (max-width: 600px) {
            .email-container {
                padding: 20px;
            }
        }
    </style>
</head>
<body>
    <div class="email-container">
        <div class="header">
            <h1>{% trans "You've been invited to join our platform" %}</h1>
        </div>

        <div class="content">
            <p>
                {% blocktrans %}
                An administrator has created an account for you using this email address.
                To activate your account and set your password, please confirm your email address.
                {% endblocktrans %}
            </p>

            <div style="text-align: center;">
                <a href="{{ activate_url }}" class="button" style="color: #ffffff !important;">
                    {% trans "Confirm email and set password" %}
                </a>
            </div>

            <p>
                {% blocktrans %}
                If the button above does not work, you can also copy and paste the following link
                into your browser:
                {% endblocktrans %}
            </p>
            <p style="word-break: break-all;">{{ activate_url }}</p>

            <p>
                {% blocktrans %}
                After confirming your email, you will be redirected to a secure page where you can
                choose your password and finish activating your account.
                {% endblocktrans %}
            </p>

            <p>
                {% trans "If you did not expect this invitation, you can safely ignore this email." %}
            </p>
        </div>

        <div class="footer">
            <p>{% trans "This is an automated message, please do not reply to this email." %}</p>
            <p>{% trans "If you have any questions, please contact our support team." %}</p>
        </div>
    </div>
</body>
</html>


