<div class="chat_badge rounded-full bg-indigo-600 text-white shadow-md px-4 py-2 text-xs font-semibold flex items-center gap-2"
     data-chat-open="<?php echo $chats->private_chat_id ?>"
     id="open_chat_box_<?php echo $chats->private_chat_id ?>">
    <?php if ($chats->unread) : ?>
        <span class="rounded-full bg-white/20 px-2 py-0.5 text-[10px] uppercase tracking-wide"><?php echo lang("new") ?></span>
    <?php endif; ?>
    <span class="chat_title truncate"><?php echo $chats->title ?></span>
</div>
