<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <link rel="stylesheet" href="/style.css">
    <title>Create a new list</title>
</head>

<body class="bg-light d-flex flex-column min-vh-100">
    <!-- Navbar -->
     <%- include('partials/header') %>

    <!-- Main Content -->
    <div class="container-fluid mt-5 list-content-container">
        <div class="row justify-content-center">
            <div class="col-md-6">
                <div class="add-list-custom-card">
                    <h1 class="text-center">Create a New List</h1>
                    <form action="/library/add-list" method="POST">
                        <input type="hidden" name="_csrf" value="<%= csrfToken %>">
                        <div class="mb-3">
                            <label for="listName" class="form-label">List Name</label>
                            <input type="text" class="form-control" id="listName" name="listName" required>
                        </div>
                        <button type="submit" class="btn btn-primary btn-block">Create List</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <%- include('partials/footer') %>
</body>

</html>