</div><!-- .content -->
</div><!-- .main -->
</div><!-- .layout -->

<script>
// Auto-hide alerts
document.querySelectorAll('.alert').forEach(el => {
    setTimeout(() => {
        el.style.transition = 'opacity .4s';
        el.style.opacity = '0';
        setTimeout(() => el.remove(), 400);
    }, 4000);
});
</script>
</body>
</html>