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

{% block title %}Become Vendor {% 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">Become Vendor</h1>

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

        {{ form.as_p }}
        <div class="field">
            <label>Aadhar Number</label>
            <div class="control">
                <input type="text" name="email" id="id_email" value="" class="input">
            </div>
        </div>
        <div class="field">
            <div class="control">
                <input class="ml-2 form-check-input" type="checkbox"><span class="ml-5">Ive read Terms & Condition Register</span></input>
            </div>
        </div>

        <div class="field">
            <div class="control">
                <button class="button mt-1 is-uppercase">Complete Register</button>
            </div>
        </div>
    </form>
{% endblock content %}