<div style="background:#121212; min-height:100vh; padding:40px; color:#fff;">

    <div style="max-width:900px; margin:0 auto;">

        <h2 style="color:#ff2d2d; text-align:center; margin-bottom:30px;">Child Panels</h2>

        {% for panel in panels %}

        <div style="background:#1a1a1a; padding:20px; border-radius:8px; margin-bottom:20px; box-shadow:0 0 10px rgba(0,0,0,0.5);">

            <h3 style="color:#ff2d2d; margin-bottom:10px;">{{ panel.name }}</h3>

            <p style="color:#ccc; margin-bottom:15px;">{{ panel.domain }}</p>

            <p style="color:#777; font-size:14px; margin-bottom:20px;">Created: {{ panel.date }}</p>

            <a href="/child-panels/{{ panel.id }}/edit"

               style="background:#ff2d2d; padding:10px 15px; color:#fff; border-radius:4px; text-decoration:none;">

                Manage

            </a>

        </div>

        {% else %}

        <p style="text-align:center; color:#b3b3b3;">No child panels found.</p>

        {% endfor %}

    </div>

</div>