<!-- templates/emails/dating_app/base_dating_email.html -->

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{% block email_title %}Date in Sri Lanka{% endblock %}</title>

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

        .email-wrapper {
            width: 100%;
            background-color: #f7eef2;
            padding: 30px 0;
        }

        .email-container {
            max-width: 640px;
            margin: 0 auto;
            background-color: #ffffff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 8px 28px rgba(42, 13, 31, 0.12);
        }

        /* mirrors .dating-gradient-section / .final-dating-cta */
        .email-header {
            background: linear-gradient(135deg, #2a0d1f 0%, #c2185b 100%);
            padding: 32px 28px;
            color: #ffffff;
            text-align: center;
        }

        .email-header h1 {
            margin: 0;
            font-size: 26px;
            letter-spacing: -0.3px;
        }

        .email-header p {
            margin: 10px 0 0;
            font-size: 14px;
            opacity: 0.90;
        }

        .email-body {
            padding: 34px 30px;
            font-size: 15px;
            line-height: 1.7;
        }

        .email-body h2 {
            margin-top: 0;
            color: #2a0d1f;
            font-size: 22px;
        }

        /* mirrors .dating-side-card-header gradient */
        .email-button {
            display: inline-block;
            background: linear-gradient(135deg, #ff4d88 0%, #9b1b60 100%);
            color: #ffffff !important;
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 8px;
            font-weight: bold;
            margin-top: 18px;
        }

        /* mirrors .dating-mini-icon tint */
        .email-note {
            background-color: #fff1f6;
            border-left: 4px solid #c2185b;
            padding: 14px 16px;
            margin: 20px 0;
            border-radius: 8px;
        }

        /* mirrors .dating-light-card */
        .email-credential-box {
            background: #fff8fb;
            border: 1px solid #f0c8d8;
            border-radius: 12px;
            padding: 20px 22px;
            margin: 20px 0;
            font-size: 15px;
        }

        .email-credential-box .credential-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f5dde7;
        }

        .email-credential-box .credential-row:last-child {
            border-bottom: none;
        }

        .email-credential-box .credential-label {
            color: #555;
            font-weight: normal;
        }

        .email-credential-box .credential-value {
            color: #2a0d1f;
            font-weight: bold;
        }

        /* mirrors .dating-process-number */
        .email-step-number {
            display: inline-block;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #c2185b;
            color: #fff;
            font-weight: 800;
            text-align: center;
            line-height: 32px;
            font-size: 14px;
            margin-right: 10px;
            vertical-align: middle;
        }

        /* mirrors .dating-hero-badge / .dating-type-box i yellow accent */
        .email-badge {
            display: inline-block;
            background-color: #ffc107;
            color: #2a0d1f;
            font-weight: bold;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 20px;
            margin-bottom: 10px;
        }

        /* mirrors .dating-partner-hero dark base */
        .email-footer {
            background: linear-gradient(135deg, #2a0d1f 0%, #3d1030 100%);
            color: #cccccc;
            padding: 22px 30px;
            text-align: center;
            font-size: 13px;
        }

        .email-footer a {
            color: #ffffff;
            text-decoration: none;
            font-weight: bold;
        }

        @media only screen and (max-width: 600px) {
            .email-container {
                width: 94% !important;
            }

            .email-body {
                padding: 26px 20px;
            }

            .email-header {
                padding: 26px 20px;
            }
        }
    </style>

    {% block extra_email_styles %}{% endblock %}
</head>

<body>
    <div class="email-wrapper">
        <div class="email-container">

            <div class="email-header">
                <h1>{% block brand_title %}Date in Sri Lanka{% endblock %}</h1>
                <p>{% block brand_subtitle %}Real Connections. Tropical Hearts.{% endblock %}</p>
            </div>

            <div class="email-body">
                {% block email_content %}{% endblock %}
            </div>

            <div class="email-footer">

                {% block footer_top %}
                    {% if site_url %}
                        <p style="margin: 0 0 12px;">
                            <a href="{{ site_url }}">Visit Date in Sri Lanka</a>
                        </p>
                    {% endif %}
                {% endblock %}

                {% block footer_text %}
                    <p style="margin: 0 0 8px; font-size: 12px; color: #cccccc; line-height: 1.5;">
                        Connecting genuine local partners with international guests in Sri Lanka.
                    </p>
                    <p style="margin: 0; font-size: 12px; color: #cccccc; line-height: 1.5;">
                        &copy; 2026 Ensolanka LLC. All rights reserved.
                    </p>
                {% endblock %}

            </div>

        </div>
    </div>
</body>
</html>