<!DOCTYPE html>
<html lang="pt-br" xmlns:th="http://www.thymeleaf.org">
<head th:insert="~{layout :: head}">
    <meta charset="UTF-8">
</head>
<body class="bg-light">

<nav th:replace="~{fragments/menu :: nav-top}"></nav>

<div class="container d-flex justify-content-center align-items-center" style="height: 100vh;">
    <form class="p-5 shadow bg-white rounded w-100" style="max-width: 400px;" method="post" th:action="@{/login}">
        <h4 class="mb-4">Login Admin</h4>
        <div class="mb-3">
            <input class="form-control" type="text" name="username" placeholder="Usuário" required>
        </div>
        <div class="mb-3">
            <input class="form-control" type="password" name="password" placeholder="Senha" required>
        </div>
        <div class="d-grid">
            <button class="btn btn-dark" type="submit">Entrar</button>
        </div>
    </form>
</div>

<footer th:replace="~{fragments/footer :: footer}"></footer>
<div th:replace="~{fragments/scripts :: div-scripts}"></div>

</body>
</html>