<div class="table-responsive" style="max-height: 450px; overflow-y: auto;">
    <table class="table table-hover">
        <thead style="position: sticky; top: 0; background: #f8f9fa; z-index: 1;">
            <tr>
                <th style="font-size: 12px; color: #666;">SERVICE ID</th>
                <th style="font-size: 12px; color: #666;">SERVICE NAME</th>
                <th style="font-size: 12px; color: #666; text-align: right;">PRICE/DATE</th>
            </tr>
        </thead>
        <tbody>
            {% for log in updates_logs %}
            <tr style="border-bottom: 1px solid #eee;">
                <td style="font-weight: 700; color: #28a745;">#{{ log.service_id }}</td>
                <td style="font-size: 13px; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
                    {{ log.service_name }}
                </td>
                <td style="text-align: right;">
                    <div style="font-weight: 600; color: #333;">₹{{ log.service_price }}</div>
                    <div style="font-size: 10px; color: #999;">{{ log.created_at|date("d M, H:i") }}</div>
                </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
</div>