<div class="space-y-5">
  <div class="flex flex-wrap items-center justify-between gap-3">
    <div>
      <h3 class="text-lg font-semibold text-slate-900">Attendance Centre</h3>
      <p class="mt-1 text-sm text-slate-600">Punch in/out and review recent attendance details.</p>
    </div>
    <a href="/employee/attendance" class="af-btn af-btn-secondary">Open Full Attendance Page</a>
  </div>

  <div class="rounded-2xl border border-slate-200 bg-white p-3 shadow-soft">
    <div class="flex flex-wrap gap-2">
      <button type="button" data-tab="attendance-details" class="employee-portal-tab rounded-xl bg-brand-600 px-3 py-2 text-sm font-semibold text-white">Punch & Details</button>
      <a href="/employee/attendance" class="rounded-xl border border-slate-300 bg-white px-3 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50">Full Attendance History</a>
      <button type="button" data-tab="leave" class="employee-portal-tab rounded-xl border border-slate-300 bg-white px-3 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50">Leave Balance</button>
    </div>
  </div>

  {% include "modules/employees/templates/employees/portal_partials/attendance.html" %}
</div>
