{% extends 'base.html' %}

{% block title %}Request an Appraisal - Veracity{% endblock %}

{% block content %}
<div class="container my-5">
  <div class="row justify-content-center">
    <div class="col-md-8 col-lg-6">
      <div class="card border-0 shadow-sm">
        <div class="card-body p-5">
          <h2 class="card-title text-center text-primary mb-4">New Appraisal Order</h2>
          <form method="post">
            {% csrf_token %}
            <div class="mb-3">
              <label for="client_name" class="form-label">Full Name</label>
              <input type="text" class="form-control" id="client_name" name="client_name" required>
            </div>
            <div class="mb-3">
              <label for="client_email" class="form-label">Email Address</label>
              <input type="email" class="form-control" id="client_email" name="client_email" required>
            </div>
            <div class="mb-3">
              <label for="property_address" class="form-label">Property Address for Appraisal</label>
              <textarea class="form-control" id="property_address" name="property_address" rows="3" required></textarea>
            </div>
            <div class="mb-4">
                <label for="description" class="form-label">Additional Information (Optional)</label>
                <textarea class="form-control" id="description" name="description" rows="4"></textarea>
            </div>
            <div class="d-grid">
              <button type="submit" class="btn btn-primary btn-lg">Submit Order</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}
