{% extends "base.html" %}

{% block title %}{{ page_title }}{% endblock %}
{% block meta_description %}{{ meta_description }}{% endblock %}

{% block content %}
<section class="success-wrap">
  <div class="container">
    <div class="success-card glass-card mx-auto">
      <span class="success-mark">✓</span>
      <h1>{{ job.title }} added</h1>
      <p class="lead">The offer from <strong>{{ job.company }}</strong> is now searchable and linked to <strong>{{ job.source.name }}</strong>.</p>
      <div class="d-flex flex-wrap justify-content-center gap-3 mt-4">
        <a class="btn btn-accent rounded-pill px-4" href="{% url 'job_detail' job.pk %}">Open detail</a>
        <a class="btn btn-outline-dark rounded-pill px-4" href="{% url 'job_list' %}">Browse queue</a>
        <a class="btn btn-outline-dark rounded-pill px-4" href="{% url 'job_create' %}">Add another</a>
      </div>
    </div>
  </div>
</section>
{% endblock %}
