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

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

    <table style="width:100%; background:#1a1a1a; border-collapse:collapse; border-radius:6px; overflow:hidden;">

        <thead>

            <tr style="background:#2a2a2a;">

                <th style="padding:12px; color:#ff2d2d; text-align:left;">ID</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Service</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Username</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Min</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Max</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Runs</th>

                <th style="padding:12px; color:#ff2d2d; text-align:left;">Status</th>

            </tr>

        </thead>

        <tbody>

            {% for sub in subscriptions %}

            <tr style="border-bottom:1px solid #333;">

                <td style="padding:10px;">{{ sub.id }}</td>

                <td style="padding:10px;">{{ sub.service }}</td>

                <td style="padding:10px;">{{ sub.username }}</td>

                <td style="padding:10px;">{{ sub.min }}</td>

                <td style="padding:10px;">{{ sub.max }}</td>

                <td style="padding:10px;">{{ sub.runs }}</td>

                <td style="padding:10px; color:#ff2d2d;">{{ sub.status }}</td>

            </tr>

            {% else %}

            <tr>

                <td colspan="7" style="padding:15px; text-align:center; color:#b3b3b3;">

                    No subscriptions found.

                </td>

            </tr>

            {% endfor %}

        </tbody>

    </table>

</div>