<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Login</title>
    <%- include('partials/bootstrapcss') %>
  </head>

  <style>
    body {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100vh;
    }
    .login-section {
      background-color: #f5f5f5;
      padding: 50px 0;
      text-align: center;
      height: 100%;
    }

    .login-section h2 {
      font-size: 24px;
      margin-bottom: 20px;
    }

    .login-section form {
      display: flex;
      flex-direction: column;
      max-width: 400px;
      margin: 0 auto;
    }

    .login-section input {
      margin-bottom: 15px;
      padding: 10px;
      border: 1px solid #ccc;
    }

    .login-btn {
      padding: 10px 20px;
      background-color: #333;
      color: #fff;
      border: none;
      cursor: pointer;
    }
  </style>
  <%- include('partials/bootstrapcss') %>
  <body>
    <%- include('partials/navbar') %>
    <section class="login-section">
      <h2>User Login</h2>
      <form class="container-fluid" action="/user/login" method="post">
        <input type="email" placeholder="Email ID" name="email" />
        <input type="password" placeholder="Password" name="password" />
        <button class="login-btn">Login</button>
      </form>
      <% if (typeof message!=='undefined') { %>
      <p><%=message%></p>
      <% } %>
    </section>
    <%-include('partials/footer.ejs') %> <%-include('partials/bootstrapjs') %>
  </body>
</html>