{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Delete Resume</title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
  <style>
    body {
      background-color: #f8f9fa;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    .delete-container {
      max-width: 600px;
      margin: 100px auto;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      text-align: center;
    }
    .delete-container h3 {
      margin-bottom: 20px;
    }
    .btn-group {
      margin-top: 20px;
    }
  </style>
</head>
<body>

<div class="container">
  <div class="delete-container">
    <h3>⚠ Confirm Deletion</h3>
    <p>Are you sure you want to delete the resume <strong>"{{ resume.title }}"</strong>?</p>
    <p class="text-muted">This action cannot be undone.</p>

    <form method="POST">
      {% csrf_token %}
      <div class="btn-group">
        <a href="{% url 'resume_list' %}" class="btn btn-secondary">Cancel</a>
        <button type="submit" class="btn btn-danger">Delete</button>
      </div>
    </form>
  </div>
</div>

</body>
</html>
