{% extends "base.html" %}

{% block title %}Sign In | Ethio-gebeya{% endblock %}

{% block head %}
<style>
  body {
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
    background: #f8fafc;
  }

  main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  .card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.4rem;
  }

  input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.9rem;
  }

  button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 0.7rem;
    background: #ea580c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }

  .errorlist {
    color: #b91c1c;
    margin: 0 0 0.5rem;
  }
</style>
{% endblock %}

{% block content %}
<main>
  <section class="card">
    <h1 style="margin-top: 0;">Sign in</h1>
    <form method="post">
      {% csrf_token %}
      {{ form.as_p }}
      <button type="submit">Continue</button>
    </form>
  </section>
</main>
{% endblock %}
