<!DOCTYPE html>
<html lang="zxx">
    <?php require __DIR__ . '/includes/head.php'; ?>

    <body class="bg-body-bg"><?php require __DIR__ . '/includes/loading.php'; ?><?php require __DIR__ . '/includes/sidebar.php'; ?>


        <!-- Start Main Content Area -->
        <div class="container-fluid">
            <div class="main-content d-flex flex-column">
                <?php require __DIR__ . '/includes/topbar.php'; ?>


                <div class="main-content-container overflow-hidden">
                    <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mb-4 mt-1">
                        <h3 class="mb-0">Chat</h3>

                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb align-items-center mb-0 lh-1">
                                <li class="breadcrumb-item">
                                    <a href="index.html" class="d-flex align-items-center text-decoration-none">
                                        <i class="ri-home-8-line fs-15 text-primary me-1"></i>
                                        <span class="text-body fs-14 hover">Dashboard</span>
                                    </a>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>Apps</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Chat</span>
                                </li>
                            </ol>
                        </nav>
                    </div>

                    <div class="row">
                        <div class="col-lg-5 col-xxl-4">
                            <div class="card bg-white rounded-10 border border-white mb-4 pb-20">
                                <div class="p-20">
                                    <h3 class="mb-20">Messages</h3>
                                    <form class="table-src-form position-relative ms-0 mb-20">
                                        <input type="text" class="form-control w-100" style="height: 45px;" placeholder="Search...">
                                        <div class="src-btn position-absolute top-50 start-0 translate-middle-y bg-transparent p-0 border-0">
                                            <span class="material-symbols-outlined">search</span>
                                        </div>
                                    </form>
                                    <ul class="nav nav-tabs border-border-color-60 chat-tabs ps-0" style="gap: 30px;" id="myTab" role="tablist">
                                        <li class="nav-item" role="presentation">
                                            <button class="nav-link bg-transparent p-0 border-0 fs-16 text-body fw-medium active" id="all-message-tab" data-bs-toggle="tab" data-bs-target="#all-message-tab-pane" type="button" role="tab" aria-controls="all-message-tab-pane" aria-selected="true">All Message</button>
                                        </li>
                                        <li class="nav-item" role="presentation">
                                            <button class="nav-link bg-transparent p-0 border-0 fs-16 text-body fw-medium" id="group-chat-tab" data-bs-toggle="tab" data-bs-target="#group-chat-tab-pane" type="button" role="tab" aria-controls="group-chat-tab-pane" aria-selected="false">Group Chat</button>
                                        </li>
                                        <li class="nav-item" role="presentation">
                                            <button class="nav-link bg-transparent p-0 border-0 fs-16 text-body fw-medium" id="contacts-tab" data-bs-toggle="tab" data-bs-target="#contacts-tab-pane" type="button" role="tab" aria-controls="contacts-tab-pane" aria-selected="false">Contacts</button>
                                        </li>
                                    </ul>
                                </div>

                                <div class="tab-content chat-lists" id="myTabContent">
                                    <div class="tab-pane fade show active" id="all-message-tab-pane" role="tabpanel" aria-labelledby="all-message-tab" tabindex="0">
                                        <div style="height: 630px; margin: 0 -1px;" class="scroll-bar">
                                            <ul class="p-0 mb-0 list-unstyled chat-list last-child-only-border-none">
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center active" style="padding: 15px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user1">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Marcia Baker</h4>
                                                            <span class="fs-14 text-success d-block" style="margin-top: 5px;">Typing...</span>
                                                        </div>
                                                    </div>
                                                    <span class="fs-14">Just Now</span>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user2.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user2">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Carolyn Barnes</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Hello Mateo...</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Sun 9:10 PM</span>
                                                        <span class="d-block bg-danger text-white rounded-circle text-center fs-11 ms-auto" style="width: 16px; height: 16px; line-height: 16px; margin-top: 2px;">2</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user4.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user4">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Donna Miller</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Great ! 🔥</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Mon 2:12 PM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user5.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user5">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Barbara Cross</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">That cool, go for it...😀</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Tue 8:50 AM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user6.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user6">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Rebecca Block</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Hello!</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Wed 9:20 PAM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user7.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user7">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Ramiro McCarty</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">How are you Luca? Would...😐</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Wed 11:50 PM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user8.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user8">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Robert Fairweather</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;"><i class="ri-mic-line"></i> Voice message</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Thu 6:10 PM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user9.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user9">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Marcelino Haddock</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Cool ! 🔥</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Fri 3:09 PM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user10.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user10">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Thomas Wilson</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">What are you doing...🙁</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Sun 9:51 PM</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user11.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user11">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Nathaniel Hulsey</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Could you please...</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Mon 7:23 AM</span>
                                                    </div>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="tab-pane fade" id="group-chat-tab-pane" role="tabpanel" aria-labelledby="group-chat-tab" tabindex="0">
                                        <div class="mb-20" style="margin-left: -1px; margin-right: -1px;">
                                            <button class="btn btn-primary rounded-0 text-white w-100 py-3 fw-normal fs-15">+ Create New Group</button>
                                        </div>
                                        <div style="height: 630px; margin: 0 -1px;" class="scroll-bar">
                                            <ul class="p-0 mb-0 list-unstyled chat-list last-child-only-border-none">
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center active" style="padding: 15px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <img src="assets/images/course1.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="course1">
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">UI/UX Designer Group</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Divan: Sure I’ll submit the file...</span>
                                                        </div>
                                                    </div>
                                                    <span class="fs-14">Just Now</span>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center active" style="padding: 15px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <img src="assets/images/course2.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="course2">
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Web Development Group</h4>
                                                            <span class="fs-14 text-success d-block" style="margin-top: 5px;"><span class="text-body">Divan:</span> Typing...</span>
                                                        </div>
                                                    </div>
                                                    <div>
                                                        <span class="fs-14 d-block">Sun 9:10 PM</span>
                                                        <span class="d-block bg-danger text-white rounded-circle text-center fs-11 ms-auto" style="width: 16px; height: 16px; line-height: 16px; margin-top: 2px;">2</span>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center active" style="padding: 15px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0">
                                                            <img src="assets/images/course3.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="course3">
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Discussion Group</h4>
                                                            <span class="fs-14 text-body d-block" style="margin-top: 5px;">Divan: Great ! 🔥</span>
                                                        </div>
                                                    </div>
                                                    <span class="fs-14">Mon 2:12 PM</span>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="tab-pane fade" id="contacts-tab-pane" role="tabpanel" aria-labelledby="contacts-tab" tabindex="0">
                                        <div style="height: 630px; margin: 0 -1px;" class="scroll-bar">
                                            <ul class="p-0 mb-0 list-unstyled chat-list last-child-only-border-none">
                                                <li class="border-bottom border-light d-flex justify-content-between align-items-center active" style="padding: 15px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user1">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Marcia Baker</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user2.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user2">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Carolyn Barnes</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user4.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user4">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Donna Miller</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user5.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user5">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Barbara Cross</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user6.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user6">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Rebecca Block</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user7.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user7">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Ramiro McCarty</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user8.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user8">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Robert Fairweather</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user9.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user9">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Marcelino Haddock</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user10.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user10">
                                                            <span class="d-block border border-2 border-white bg-danger rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Thomas Wilson</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                                <li class="border-bottom border-light" style="padding: 16.5px 20px;">
                                                    <div class="d-flex align-items-center">
                                                        <div class="flex-shrink-0 position-relative">
                                                            <img src="assets/images/user11.jpg" class="rounded-circle" style="width: 45px; height: 45px;" alt="user11">
                                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px;"></span>
                                                        </div>
                                                        <div class="flex-grow-1 ms-12">
                                                            <h4 class="fs-16 fw-medium mb-0">Nathaniel Hulsey</h4>
                                                        </div>
                                                    </div>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-7 col-xxl-8">
                            <div class="card bg-white rounded-10 border border-white mb-4">
                                <div class="p-20 d-flex justify-content-between align-items-center border-bottom border-border-color-60 chat-header">
                                    <div class="d-flex align-items-center">
                                        <div class="flex-shrink-0 position-relative">
                                            <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 65px; height: 65px;" alt="user1">
                                            <span class="d-block border border-2 border-white bg-success rounded-circle position-absolute bottom-0 end-0" style="width: 10px; height: 10px; bottom: 5px !important; right: 3px !important;"></span>
                                        </div>
                                        <div class="flex-grow-1 ms-3 position-relative top-3">
                                            <h4 class="fs-18 fw-medium mb-0">Marcia Baker</h4>
                                            <span class="fs-15 text-success d-block" style="margin-top: 5px;">Active Now</span>
                                        </div>
                                    </div>
                                    <ul class="p-0 mb-0 list-unstyled d-flex gap-3 align-content-center justify-content-end">
                                        <li>
                                            <button class="p-0 bg-transparent position-relative top-3 border-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Audio Call">
                                                <i class="material-symbols-outlined fs-20 text-body">call</i>
                                            </button>
                                        </li>
                                        <li>
                                            <button class="p-0 bg-transparent position-relative top-3 border-0" style="right: -2px;" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Video Call">
                                                <i class="material-symbols-outlined fs-20 text-body">videocam</i>
                                            </button>
                                        </li>
                                        <li>
                                            <div class="dropdown select-dropdown without-border" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="More">
                                                <button class="bg-transparent border-0 p-0 position-relative top-1 text-body" type="button" data-bs-toggle="dropdown" aria-expanded="false">
                                                    <i class="material-symbols-outlined">more_horiz</i>
                                                </button>
                                            
                                                <ul class="dropdown-menu dropdown-menu-end bg-white border-0 box-shadow rounded-10" data-simplebar>
                                                    <li>
                                                        <button class="dropdown-item text-secondary">Mute Chat</button>
                                                    </li>
                                                    <li>
                                                        <button class="dropdown-item text-secondary">Delete</button>
                                                    </li>
                                                    <li>
                                                        <button class="dropdown-item text-secondary">Block</button>
                                                    </li>
                                                </ul>
                                            </div>
                                        </li>
                                    </ul>
                                </div>

                                <div class="chat-body scroll-bar" style="height: 585px;">
                                    <ul class="p-20 mb-0 list-unstyled chat-details chat-reverse">
                                        <li class="mb-20">
                                            <div class="d-flex">
                                                <div class="flex-shrink-0">
                                                    <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 35px; height: 35px;" alt="user1">
                                                </div>
                                                <div class="flex-grow-1 ms-10">
                                                    <div>
                                                        <p class="lh-1-8 bg-light fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 0 10px 10px 10px; margin-bottom: 6px;">Hey Micheals, have you had a chance to check out the new admin dashboard?</p>
                                                    </div>
                                                    <div>
                                                        <p class="lh-1-8 bg-light fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 0 10px 10px 10px; margin-bottom: 6px;">Oh, they've got this Kanban board for task management. You can drag and drop tasks between columns – it's so intuitive. Makes managing tasks a breeze. 🔥</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:10 AM</span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex text-end">
                                                <div class="flex-grow-1">
                                                    <div>
                                                        <p class="lh-1-8 bg-primary text-white fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 10px 0 10px 10px; margin-bottom: 6px;">Oh, you mean the one for project management?</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:20 AM</span>
                                                </div>
                                                <div class="flex-shrink-0 ms-10">
                                                    <img src="assets/images/admin.png" class="rounded-circle" style="width: 35px; height: 35px;" alt="admin">
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex">
                                                <div class="flex-shrink-0">
                                                    <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 35px; height: 35px;" alt="user1">
                                                </div>
                                                <div class="flex-grow-1 ms-10">
                                                    <div>
                                                        <p class="lh-1-8 bg-light fs-16 d-inline-block bg-for-dark bg-for-dark" style="padding: 10px 15px; border-radius: 0 10px 10px 10px; margin-bottom: 6px;">Yeah, that's the one! It's got a sleek Material Design, and the features are pretty robust.</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:20 AM</span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex text-end">
                                                <div class="flex-grow-1">
                                                    <div>
                                                        <p class="lh-1-8 bg-primary text-white fs-16 d-inline-block" style="padding: 10px 15px; border-radius: 10px 0 10px 10px; margin-bottom: 6px;">Nice! What features are you finding interesting?</p>
                                                    </div>
                                                    <div>
                                                        <p class="lh-1-8 bg-primary text-white fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 10px 0 10px 10px; margin-bottom: 6px;">Hey Micheals, have you had a chance to check out the new admin dashboard?</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:21 AM</span>
                                                </div>
                                                <div class="flex-shrink-0 ms-10">
                                                    <img src="assets/images/admin.png" class="rounded-circle" style="width: 35px; height: 35px;" alt="admin">
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex">
                                                <div class="flex-shrink-0">
                                                    <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 35px; height: 35px;" alt="user1">
                                                </div>
                                                <div class="flex-grow-1 ms-10">
                                                    <div>
                                                        <p class="lh-1-8 bg-light fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 0 10px 10px 10px; margin-bottom: 6px;">Well, it has a project overview with all the key metrics on the landing page – project progress, pending tasks, and even a Gantt chart.</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:22 AM</span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex text-end">
                                                <div class="flex-grow-1">
                                                    <div>
                                                        <p class="lh-1-8 bg-primary text-white fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 10px 0 10px 10px; margin-bottom: 6px;">That sounds handy. How about the task management features?</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:25 AM</span>
                                                </div>
                                                <div class="flex-shrink-0 ms-10">
                                                    <img src="assets/images/admin.png" class="rounded-circle" style="width: 35px; height: 35px;" alt="admin">
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex">
                                                <div class="flex-shrink-0">
                                                    <img src="assets/images/user1.jpg" class="rounded-circle" style="width: 35px; height: 35px;" alt="user1">
                                                </div>
                                                <div class="flex-grow-1 ms-10">
                                                    <div>
                                                        <p class="lh-1-8 bg-light fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 0 10px 10px 10px; margin-bottom: 6px;">Oh, they've got this Kanban board for task management. You can drag and drop tasks between columns – it's so intuitive. Makes managing tasks a breeze. 🔥</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:30 AM</span>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="mb-20">
                                            <div class="d-flex text-end">
                                                <div class="flex-grow-1">
                                                    <div>
                                                        <p class="lh-1-8 bg-primary text-white fs-16 d-inline-block bg-for-dark" style="padding: 10px 15px; border-radius: 10px 0 10px 10px; margin-bottom: 6px;">Sweet! What about team collaboration?</p>
                                                    </div>
                                                    <span class="fs-14 d-block">09:31 AM</span>
                                                </div>
                                                <div class="flex-shrink-0 ms-10">
                                                    <img src="assets/images/admin.png" class="rounded-circle" style="width: 35px; height: 35px;" alt="admin">
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </div>

                                <div class="p-20">
                                    <div class="bg-light p-20 rounded-10 chat-submit">
                                        <div class="d-flex gap-2 flex-wrap align-items-center">
                                            <div class="flex-shrink-0">
                                                <ul class="p-0 mb-0 list-unstyled d-flex align-items-center" style="gap: 12px;">
                                                    <li>
                                                        <button class="bg-transparent p-0 border-0">
                                                            <i class="material-symbols-outlined fs-20 text-body position-relative top-3 hover-text">sentiment_satisfied</i>
                                                        </button>
                                                    </li>
                                                    <li>
                                                        <button class="bg-transparent p-0 border-0">
                                                            <i class="material-symbols-outlined fs-20 text-body position-relative top-3 hover-text">attach_file</i>
                                                        </button>
                                                    </li>
                                                    <li>
                                                        <button class="bg-transparent p-0 border-0">
                                                            <i class="material-symbols-outlined fs-20 text-body position-relative top-3 hover-text">mic_none</i>
                                                        </button>
                                                    </li>
                                                    <li>
                                                        <button class="bg-transparent p-0 border-0">
                                                            <i class="material-symbols-outlined fs-20 text-body position-relative top-3 hover-text">image</i>
                                                        </button>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div class="flex-grow-1 ms-20">
                                                <form class="position-relative z-1 your-message-padding" style="padding-right: 70px;">
                                                    <div class="form-floating">
                                                        <input type="text" class="form-control border-white" style="height: 57px; min-height: 57px; padding: 10px 15px;" id="floatingInput2" placeholder="Type your message....">
                                                        <label for="floatingInput2" style="height: 57px; min-height: 57px; padding: 16px 15px;">Type your message....</label>
                                                    </div>
                                                    <button type="button" class="border-0 btn btn-primary p-0 position-absolute top-0 end-0" style="width: 57px; height: 57px;">
                                                        <i class="material-symbols-outlined text-white" style="line-height: 57px;">send</i>
                                                    </button>
                                                </form>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="flex-grow-1"></div>

                <?php require __DIR__ . '/includes/footer.php'; ?>

            </div>
        </div>
        <!-- Start Main Content Area -->

        <!-- Start Theme Setting Area -->
        <button class="btn btn-primary theme-settings-btn p-0 position-fixed z-2 text-center rounded-circle" style="bottom: 24px; right: 24px; width: 56px; height: 56px; line-height: 54px;" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">
            <i class="text-white ri-settings-3-fill fs-28" data-bs-toggle="tooltip" data-bs-placement="left" data-bs-title="Click On Theme Settings"></i>
        </button>

        <!-- Start Theme Setting Area -->
        <div class="offcanvas offcanvas-end bg-white border-0" data-bs-scroll="true" data-bs-backdrop="true" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel" style="box-shadow: 0 4px 20px #2f8fe812 !important; max-width: 300px;">
            <div class="offcanvas-header bg-light p-20">
                <h5 class="offcanvas-title fs-18 fw-medium" id="offcanvasScrollingLabel">Configuration Panel</h5>
                <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
            </div>
            <div class="offcanvas-body p-0 overflow-hidden">
                <div class="last-child-none" style="max-height: 858px;" data-simplebar>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">RTL Mode</h4>
                        <div class="rtl-btn">
                            <label id="switch">
                                <input type="checkbox" onchange="toggleTheme()" class="toggle-switch rtl-switch" id="slider">
                            </label>
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Sidebar Dark</h4>
                        <div class="sidebar-light-dark" id="sidebar-light-dark">
                            <input type="checkbox" class="toggle-switch sidebar-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Only Header Dark</h4>
                        <div class="header-light-dark" id="header-light-dark">
                            <input type="checkbox" class="toggle-switch header-dark-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Right Sidebar</h4>
                        <div class="right-sidebar" id="right-sidebar">
                            <input type="checkbox" class="toggle-switch right-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Hide Sidebar</h4>
                        <div class="icon-sidebar" id="icon-sidebar">
                            <input type="checkbox" class="toggle-switch icon-sidebar-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Bordered Card</h4>
                        <div class="card-border" id="card-border">
                            <input type="checkbox" class="toggle-switch border-switch">
                        </div>
                    </div>
                    <div class="p-20 border-bottom child">
                        <h4 class="fs-15 fw-medium mb-12">Card Border Radius</h4>
                        <div class="card-radius-square" id="card-radius-square">
                            <input type="checkbox" class="toggle-switch border-radius-switch">
                        </div>
                    </div>
                    
                    <div class="p-20 border-bottom child">
                        <a href="#" class="btn btn-primary text-white">
                            Buy Fila
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <!-- End Theme Setting Area -->
     
        <!-- Link Of JS File -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/sidebar-menu.js"></script>
        <script src="assets/js/quill.min.js"></script>
        <script src="assets/js/data-table.js"></script>
        <script src="assets/js/prism.js"></script>
        <script src="assets/js/clipboard.min.js"></script>
        <script src="assets/js/simplebar.min.js"></script>
        <script src="assets/js/apexcharts.min.js"></script>
        <script src="assets/js/echarts.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fullcalendar.main.js"></script>
        <script src="assets/js/jsvectormap.min.js"></script>
        <script src="assets/js/world-merc.js"></script>
        <script src="assets/js/custom/apexcharts.js"></script>
        <script src="assets/js/custom/echarts.js"></script>
        <script src="assets/js/custom/maps.js"></script>
        <script src="assets/js/custom/custom.js"></script>
    </body>
</html>