<!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">Patients List</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>Hospital</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Patients List</span>
                                </li>
                            </ol>
                        </nav>
                    </div>
                    
                    <div class="card bg-white rounded-10 border border-white mb-4">
                        <div class="d-flex justify-content-between align-items-center flex-wrap gap-3 p-20">
                            <button class="text-primary fs-16 p-0 bg-transparent border-0" data-bs-toggle="modal" data-bs-target="#exampleModal2">+ Add New Patient</button>

                            <form class="table-src-form position-relative m-0">
                                <input type="text" class="form-control w-344" placeholder="Search patient">
                                <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>
                        </div>
                        
                        <div class="default-table-area mx-minus-1 style-two table-patients-list for-border-color1">
                            <div class="table-responsive">
                                <table class="table align-middle">
                                    <thead>
                                        <tr>
                                            <th scope="col" class="fw-medium pe-0">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault1">
                                                </div>
                                            </th>
                                            <th scope="col" class="fw-medium ps-0">Patient ID</th>
                                            <th scope="col" class="fw-medium">Patient Name</th>
                                            <th scope="col" class="fw-medium">Assigned Doctor</th>
                                            <th scope="col" class="fw-medium">Check In Date</th>
                                            <th scope="col" class="fw-medium">Department</th>
                                            <th scope="col" class="fw-medium">Room No</th>
                                            <th scope="col" class="fw-medium">Status</th>
                                            <th scope="col" class="fw-medium">Action</th>
                                        </tr>
                                    </thead>
                                    <tbody class="style-two">
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault17">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#951</td> 
                                            <td class="text-secondary">Hazel Loren</td> 
                                            <td class="text-secondary">Dr. Shawn Kennedy</td> 
                                            <td class="text-body">15 Nov, 2025</td> 
                                            <td class="text-body">Cardiology</td> 
                                            <td class="text-body">L1-302</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault3">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#587</td> 
                                            <td class="text-secondary">Zinia Watson</td> 
                                            <td class="text-secondary">Dr. Roberto Cruz</td> 
                                            <td class="text-body">14 Nov, 2025</td> 
                                            <td class="text-body">Paleontology</td> 
                                            <td class="text-body">L1-303</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Recovered</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault4">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#618</td> 
                                            <td class="text-secondary">Brad Traversy</td> 
                                            <td class="text-secondary">Dr. Juli Johnson</td> 
                                            <td class="text-body">13 Nov, 2025</td> 
                                            <td class="text-body">Cancer</td> 
                                            <td class="text-body">L1-304</td>
                                            <td>
                                                <span class="text-primary bg-primary bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">In Treatment</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault5">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#367</td> 
                                            <td class="text-secondary">Boostamy Holand</td> 
                                            <td class="text-secondary">Dr. Catalina Engles</td> 
                                            <td class="text-body">12 Nov, 2025</td> 
                                            <td class="text-body">Orthopedics</td> 
                                            <td class="text-body">L2-201</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Dismissed</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault6">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#761</td> 
                                            <td class="text-secondary">Jennifer Loren</td> 
                                            <td class="text-secondary">Dr. Louis Nagle</td> 
                                            <td class="text-body">11 Nov, 2025</td> 
                                            <td class="text-body">Dermatology</td> 
                                            <td class="text-body">L2-202</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault7">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#952</td> 
                                            <td class="text-secondary">Bradly Helen</td> 
                                            <td class="text-secondary">Dr. Shawn Kennedy</td> 
                                            <td class="text-body">15 Nov, 2025</td> 
                                            <td class="text-body">Cardiology</td> 
                                            <td class="text-body">L1-305</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault8">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#580</td> 
                                            <td class="text-secondary">Warren Buffet</td> 
                                            <td class="text-secondary">Dr. Roberto Cruz</td> 
                                            <td class="text-body">14 Nov, 2025</td> 
                                            <td class="text-body">Paleontology</td> 
                                            <td class="text-body">L1-306</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Recovered</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault9">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#615</td> 
                                            <td class="text-secondary">Walter Watson</td> 
                                            <td class="text-secondary">Dr. Juli Johnson</td> 
                                            <td class="text-body">13 Nov, 2025</td> 
                                            <td class="text-body">Cancer</td> 
                                            <td class="text-body">L1-307</td>
                                            <td>
                                                <span class="text-primary bg-primary bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">In Treatment</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault10">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#368</td> 
                                            <td class="text-secondary">Jessy Pinkman</td> 
                                            <td class="text-secondary">Dr. Catalina Engles</td> 
                                            <td class="text-body">12 Nov, 2025</td> 
                                            <td class="text-body">Orthopedics</td> 
                                            <td class="text-body">L2-204</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Dismissed</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault11">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#765</td> 
                                            <td class="text-secondary">Skyler White</td> 
                                            <td class="text-secondary">Dr. Louis Nagle</td> 
                                            <td class="text-body">11 Nov, 2025</td> 
                                            <td class="text-body">Dermatology</td> 
                                            <td class="text-body">L2-205</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault12">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#957</td> 
                                            <td class="text-secondary">Pinky Sandlover</td> 
                                            <td class="text-secondary">Dr. Shawn Kennedy</td> 
                                            <td class="text-body">15 Nov, 2025</td> 
                                            <td class="text-body">Cardiology</td> 
                                            <td class="text-body">L1-302</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault13">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#580</td> 
                                            <td class="text-secondary">Jonathon Ronan</td> 
                                            <td class="text-secondary">Dr. Roberto Cruz</td> 
                                            <td class="text-body">14 Nov, 2025</td> 
                                            <td class="text-body">Paleontology</td> 
                                            <td class="text-body">L1-309</td>
                                            <td>
                                                <span class="text-success bg-success bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Recovered</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault14">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#625</td> 
                                            <td class="text-secondary">Santa Mariam</td> 
                                            <td class="text-secondary">Dr. Juli Johnson</td> 
                                            <td class="text-body">13 Nov, 2025</td> 
                                            <td class="text-body">Cancer</td> 
                                            <td class="text-body">L1-300</td>
                                            <td>
                                                <span class="text-primary bg-primary bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">In Treatment</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault15">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#351</td> 
                                            <td class="text-secondary">Oguz Saguz Klara</td> 
                                            <td class="text-secondary">Dr. Catalina Engles</td> 
                                            <td class="text-body">12 Nov, 2025</td> 
                                            <td class="text-body">Orthopedics</td> 
                                            <td class="text-body">L2-201</td>
                                            <td>
                                                <span class="text-danger bg-danger bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">Dismissed</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                        <tr>
                                            <td class="text-body pe-0" style="width: 62px;">
                                                <div class="form-check">
                                                    <input class="form-check-input" type="checkbox" id="flexCheckDefault16">
                                                </div>
                                            </td>
                                            <td class="text-body ps-0">ID#765</td> 
                                            <td class="text-secondary">Jane Ronan</td> 
                                            <td class="text-secondary">Dr. Louis Nagle</td> 
                                            <td class="text-body">11 Nov, 2025</td> 
                                            <td class="text-body">Dermatology</td> 
                                            <td class="text-body">L2-205</td>
                                            <td>
                                                <span class="text-warning-40 bg-warning-40 bg-opacity-10 fs-15 fw-normal d-inline-block default-badge">New Patient</span>
                                            </td> 
                                            <td>
                                                <div class="d-flex justify-content-end" style="gap: 12px;">
                                                    <a href="patient-details.html" class="text-decoration-none p-0" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="View">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-primary">visibility</i>
                                                    </a>
                                                    <button class="bg-transparent p-0 border-0 hover-text-success" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Edit">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">drive_file_rename_outline</i>
                                                    </button>
                                                    <button class="bg-transparent p-0 border-0 hover-text-danger" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Delete">
                                                        <i class="material-symbols-outlined fs-16 fw-normal text-body">delete</i>
                                                    </button>
                                                </div>
                                            </td>  
                                        </tr>
                                    </tbody>
                                </table>
                            </div>

                            <div class="d-flex justify-content-center justify-content-sm-between align-items-center text-center flex-wrap gap-2 showing-wrap p-20">
                                <span class="fs-15">Showing 1 to 15 of 24 entries</span>

                                <nav class="custom-pagination" aria-label="Page navigation example">
                                    <ul class="pagination mb-0 justify-content-center">
                                        <li class="page-item">
                                            <button class="page-link icon" aria-label="Previous">
                                                <i class="material-symbols-outlined">west</i>
                                            </button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link active">1</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link">2</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link">3</button>
                                        </li>
                                        <li class="page-item">
                                            <button class="page-link icon" aria-label="Next">
                                                <i class="material-symbols-outlined">east</i>
                                            </button>
                                        </li>
                                    </ul>
                                </nav>
                            </div>
                        </div>

                        <!-- Modal Add New Patient -->
                        <div class="modal fade" id="exampleModal2" tabindex="-1" aria-labelledby="exampleModal2Label" aria-hidden="true">
                            <div class="modal-dialog modal-dialog-centered rounded-10" style="max-width: 550px;">
                                <form class="modal-content bg-white">
                                    <div class="modal-header border-border-color-40 p-20">
                                        <h1 class="modal-title fs-18 fw-medium mb-0" id="exampleModal2Label">Add New Patient</h1>
                                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                    </div>
                                    <div class="modal-body p-20 pb-0">
                                        <div class="row">
                                            <div class="col-lg-12">
                                                <div class="mb-20">
                                                    <label class="label">Patient Name</label>
                                                    <div class="form-floating">
                                                        <input type="text" class="form-control" id="floatingInput" placeholder="Enter patient name">
                                                        <label for="floatingInput">Enter patient name</label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-lg-12">
                                                <div class="mb-20">
                                                    <label class="label">Patient ID</label>
                                                    <div class="form-floating">
                                                        <input type="text" class="form-control" id="floatingInput2" placeholder="Add patient ID">
                                                        <label for="floatingInput2">Add patient ID</label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-lg-12">
                                                <div class="mb-20">
                                                    <label class="label">Check In Date</label>
                                                    <input type="date" class="form-control">
                                                </div>
                                            </div>
                                            <div class="col-lg-12">
                                                <div class="mb-20">
                                                    <label class="label">Department</label>
                                                    <div class="form-floating">
                                                        <input type="text" class="form-control" id="floatingInput3" placeholder="Enter department">
                                                        <label for="floatingInput3">Enter department</label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-lg-12">
                                                <div class="mb-20">
                                                    <label class="label fs-16 mb-2">Assigned Doctor</label>
                                                    <div class="form-floating">
                                                        <select class="form-select form-control" id="floatingSelect4" aria-label="Floating label select example">
                                                            <option selected>Dr. David Watson</option>
                                                            <option value="1">Dr. Roberto Cruz</option>
                                                            <option value="2">Dr. Juli Johnson</option>
                                                            <option value="3">Dr. Catalina Engles</option>
                                                            <option value="4">Dr. Louis Nagle</option>
                                                            <option value="5">Dr. Shawn Kennedy</option>
                                                        </select>
                                                        <label for="floatingSelect4">Select</label>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="modal-footer justify-content-center border-0 p-20 pt-0">
                                        <button type="button" class="btn btn-danger fw-normal text-white" data-bs-dismiss="modal">Cancel</button>
                                        <button type="button" class="btn btn-primary fw-normal text-white">Save</button>
                                    </div>
                                </form>
                            </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>