<div class="flex flex-wrap items-center gap-2">
    <a class="inline-flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-xs font-semibold <?php echo ($trash_view == 'inbox') ? 'bg-indigo-600 text-white dark:bg-indigo-500' : 'bg-card text-foreground hover:bg-muted dark:hover:bg-slate-800/70'; ?>"
       href="<?= base_url() ?>admin/mailbox/index/trash/inbox">
        <i class="fa fa-inbox"></i><?= lang('inbox') ?>
    </a>
    <a class="inline-flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-xs font-semibold <?php echo ($trash_view == 'sent') ? 'bg-indigo-600 text-white dark:bg-indigo-500' : 'bg-card text-foreground hover:bg-muted dark:hover:bg-slate-800/70'; ?>"
       href="<?= base_url() ?>admin/mailbox/index/trash/sent">
        <i data-lucide="mail"></i><?= lang('sent') ?>
    </a>
    <a class="inline-flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-xs font-semibold <?php echo ($trash_view == 'draft') ? 'bg-indigo-600 text-white dark:bg-indigo-500' : 'bg-card text-foreground hover:bg-muted dark:hover:bg-slate-800/70'; ?>"
       href="<?= base_url() ?>admin/mailbox/index/trash/draft">
        <i data-lucide="file-text"></i><?= lang('draft') ?>
    </a>
</div>
<div class="mt-4">
    <?php $this->load->view('admin/mailbox/trash/' . $trash_view) ?>
</div>

