{% extends 'core/base.html' %}

{% block title %}Vendor Login{% endblock title %}
{% block css %}

/* Style the entire form */
form {
  max-width: 400px; /* Adjust the maximum width as needed */
  margin: 0 auto; /* Center the form horizontally */
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

/* Style the form elements */
label {
  display: block; /* Display labels on separate lines */
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Style the login button */
button.button {
  background-color: #ca373d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  width: 100%; /* Make the button fill the width of the form */
}

{% endblock css %}

{% block content %}

    <h1 class="title">Vendor Login</h1>

    <form method="post" action="">
        {% csrf_token %}

        {{ form.as_p }}
        <div class="field">
            <div class="control">
                <button class="button is-uppercase">Log In</button>
            </div>
        </div><div class="field">
            <div class="control">
                <a class="btn">Forget Pass!!</a>
            </div>
        </div>


    </form>
{% endblock content %}