<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% if GOOGLE_SITE_VERIFICATION %}
    <meta name="google-site-verification" content="{{ GOOGLE_SITE_VERIFICATION }}">
    {% endif %}
    <title>{% block title %}AgentForms{% endblock %}</title>
    <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
    <link rel="shortcut icon" href="/static/favicon.svg">
    <link rel="apple-touch-icon" href="/static/favicon.svg">
    {% block head_extra %}{% endblock %}
    {% include '_shared.css.html' %}
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    {% include 'nav.html' %}
    <div class="main-wrapper">
        <main>
            <div class="container">
                {% block content %}{% endblock %}
            </div>
        </main>
        {% include '_footer.html' %}
    </div>

    <!-- Cookie Consent Banner (C1, W8, W10/W11) -->
    <div id="cookie-banner" role="alert" aria-live="polite">
        <div class="cookie-banner-inner">
            <div class="cookie-banner-text">
                <span>We use essential cookies to keep AgentForms working. <a href="/privacy">Learn more</a>.</span>
            </div>
            <div class="cookie-banner-actions">
                <button type="button" data-onclick="CookieConsent.dismiss()" class="cookie-btn-decline">Decline</button>
                <button type="button" data-onclick="CookieConsent.accept()" class="cookie-btn-accept">Accept</button>
            </div>
        </div>
    </div>
    <script src="/static/js/base-cookie-consent.js"></script>
    {% block scripts %}{% endblock %}
</body>
</html>
