{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Barrier Dashboard | Container Depot</title>

{#    <link rel="preconnect" href="https://fonts.googleapis.com">#}
{#    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>#}
{#    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600&display=swap" rel="stylesheet">#}
    <link rel="stylesheet" href="{% static 'styles/forms.css' %}?v={% now 'U' %}">
    <link rel="stylesheet" href="{% static 'styles/base.css' %}?v={% now 'U' %}">
    <link rel="stylesheet" href="{% static 'styles/tables.css' %}?v={% now 'U' %}">

    <style>
        .barrier-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 20px;
            max-width: 600px;
            margin: 0 auto;
            height: 100vh;
            justify-content: center;
        }

        .barrier-button {
            background-color: #F2E8DB;
            border: 2px solid #a57d52;
            border-radius: 8px;
            padding: 40px;
            font-size: 24px;
            font-weight: 600;
            color: #a57d52;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 75px;
        }

        .barrier-button:hover {
            background-color: #EDDECB;
        }

        @media (max-height: 600px) {
            .barrier-button {
                min-height: 100px;
                padding: 20px;
            }
        }
    </style>
</head>
<body>
    {% block content %}
    {% endblock content %}

    {% block extra_js %}
    <script>
        const validateContainerUrl = "{% url 'validate_container' 'placeholder' %}".replace('placeholder/', '');
    </script>

    <script src="{% static 'js/container_validation.js' %}"></script>
    {% endblock %}
</body>
</html>