<!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">All Schedule</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">All Schedule</span>
                                </li>
                            </ol>
                        </nav>
                    </div>
                    
                    <div class="row">
                        <div class="col-xxl-4 col-xxxxxl-12">
                            <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                <div class="calendar-for-doctor border-border-color-50">
                                    <div class="d-flex flex-wrap gap-2 justify-content-between align-items-center mb-20">
                                        <h3>Reserve An Appointment</h3>
                                        <div>
                                            <div class="calendar-header">
                                                <button id="prevMonth">Prev</button>
                                                <select id="monthSelect"></select>
                                                <select id="yearSelect"></select>
                                                <button id="nextMonth">Next</button>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <table class="calendar-table">
                                        <thead>
                                            <tr>
                                                <th>SU</th>
                                                <th>MO</th>
                                                <th>TU</th>
                                                <th>WE</th>
                                                <th>TH</th>
                                                <th>FR</th>
                                                <th>SA</th>
                                            </tr>
                                        </thead>
                                        <tbody id="calendarBody">
                                            <!-- Calendar days will be dynamically generated here -->
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <button class="btn btn-primary text-white w-100 mb-4 fs-16 fw-normal" data-bs-toggle="modal" data-bs-target="#exampleModal2">+ Add New Schedule</button>

                            <!-- Modal Add New Schedule -->
                            <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 Schedule</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">Schedule Date</label>
                                                        <input type="date" class="form-control">
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="mb-20">
                                                        <label class="label">Schedule Time</label>
                                                        <input type="time" class="form-control">
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="mb-20">
                                                        <label class="label">Schedule Title</label>
                                                        <div class="form-floating">
                                                            <input type="text" class="form-control" id="floatingInput" placeholder="Add Title">
                                                            <label for="floatingInput">Add Title</label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="mb-20">
                                                        <label class="label">Assigned Doctor Name</label>
                                                        <div class="form-floating">
                                                            <input type="text" class="form-control" id="floatingInput2" placeholder="Select Doctor Name">
                                                            <label for="floatingInput2">Select Doctor Name</label>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="mb-20">
                                                        <label class="label">Add Patient Details:</label>
                                                        <input type="file" class="form-control">
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="mb-20">
                                                        <label class="label">Add Apppointment Link</label>
                                                        <div class="form-floating">
                                                            <input type="text" class="form-control" id="floatingInput3" value="https://meet.google.com/dxy-wvne-tec">
                                                            <label for="floatingInput3">Add Apppointment Link</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 class="col-xxl-8 col-xxxxxl-12">
                            <div class="card bg-white border border-white rounded-10 mb-4 p-20">
                                <div class="row g-md-0">
                                    <div class="col-xxl-6">
                                        <div class="me-xxl-5">
                                            <h3 class="mb-20">Today’s Appointment</h3>

                                            <div class="schedule-card-for-dark" style="max-height: 858px;" data-simplebar>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-primary-50 rounded-circle text-white text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <button class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;" data-bs-toggle="modal" data-bs-target="#exampleModal3">View Details</button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-info mb-10" style="background-color: #F3F7F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-info text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-info">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-primary-50 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10 mb-10" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xxl-6">
                                        <div class="border-border-color-50 ps-xxl-5 mt-5 mt-xxl-0" style="border-left: 1px dashed;">
                                            <h3 class="mb-20">Tomorrow’s Appointment</h3>

                                            <div class="schedule-card-for-dark" style="max-height: 858px;" data-simplebar>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-primary-50 rounded-circle text-white text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-info mb-10" style="background-color: #F3F7F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-info text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-info">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-primary-50 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10 mb-10" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-primary-50 rounded-circle text-white text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-info mb-10" style="background-color: #F3F7F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-info text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-info">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-primary-50 mb-10" style="background-color: #F2F1F9; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-primary-50 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-primary-50">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="p-20 border-success-80 mb-10 mb-0" style="background-color: #ECF3F2; border-left: 4px solid; padding-top: 19.6px; padding-bottom: 19.6px;">
                                                    <div class="row align-items-center">
                                                        <div class="col-lg-6">
                                                            <div class="d-flex align-items-center mb-1">
                                                                <span class="fs-18 text-secondary-50">10:00 - 11:00</span>
                                                                <span class="fs-12 fw-medium ms-1 text-body-color-60">AM</span>
                                                                <i class="ri-notification-2-line ms-12 bg-white rounded-circle text-success-80 text-center fs-16" style="width: 28px; height: 28px; line-height: 28px;"></i>
                                                            </div>
                                                            <h3 class="fs-16 fw-normal text-secondary mb-1">Cardio Patient Appointment</h3>
                                                            <div class="text-body-color-60 fw-medium">Lead by <span class="text-success-80">John Harry</span></div>
                                                        </div>
                                                        <div class="col-lg-6">
                                                            <div class="text-end me-md-4">
                                                                <a href="#" class="btn fs-14 fw-medium bg-white hover-bg" style="padding: 9px 10px;">View Details</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- Modal Schedule Details -->
                            <div class="modal fade" id="exampleModal3" tabindex="-1" aria-labelledby="exampleModal3Label" aria-hidden="true">
                                <div class="modal-dialog modal-dialog-centered rounded-10" style="max-width: 900px;">
                                    <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="exampleModal3Label">Schedule Details</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="mb-30">
                                                <span class="fs-18 text-secondary d-block d-flex align-items-center gap-1">10:00 - 11:00 <span class="fs-12 fw-medium">AM</span></span>
                                                <span class="fs-16 text-secondary d-block mb-1">Cardio Patient Appointment</span>
                                                <span class="fs-12 fw-medium d-block">Lead by <span class="text-primary">John Harry</span></span>
                                            </div>
                                            <div class="row">
                                                <div class="col-lg-6">
                                                    <div class="card p-20 bg-body-bg border-0 rounded-10 mb-4">
                                                        <h3 class="mb-3">Schedule Details</h3>

                                                        <ul class="p-0 mb-0 list-unstyled last-child-none">
                                                            <li class="mb-10">
                                                                <span class="fs-16">Patient ID: <span class="text-secondary">#P3214</span></span>
                                                            </li>
                                                            <li class="mb-10">
                                                                <span class="fs-16">Full Name: <span class="text-secondary">Micheal collins</span></span>
                                                            </li>
                                                            <li class="mb-10">
                                                                <span class="fs-16">Occupation: <span class="text-secondary">Teacher</span></span>
                                                            </li>
                                                            <li class="mb-10">
                                                                <span class="fs-16">Age: <span class="text-secondary">65 Years</span></span>
                                                            </li>
                                                            <li class="mb-10">
                                                                <span class="fs-16">Admitted On: <span class="text-secondary">21 October, 2025</span></span>
                                                            </li>
                                                            <li class="mb-10">
                                                                <span class="fs-16">Bed No: <span class="text-secondary">L2 - 205</span></span>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="card p-20 bg-body-bg border-0 rounded-10 mb-4">
                                                        <h3 class="mb-3">Appointment link:</h3>

                                                        <a href="#" class="fs-16 text-primary text-decoration-none d-block" style="margin-bottom: 120px;">https://meet.google.com/dxy-wvne-tec</a>

                                                        <a href="#" class="btn btn-primary text-white fs-16 fw-normal" style="padding: 16px 10px;">Start Online Appointment</a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="modal-footer justify-content-end border-0 gap-3 p-20 pt-0">
                                            <button type="button" class="bg-transparent p-0 border-0 text-danger fw-normal fs-16" data-bs-dismiss="modal">Cancel Schedule</button>
                                            <button type="button" class="bg-transparent p-0 border-0 text-primary fw-normal">Edit Schedule</button>
                                        </div>
                                    </form>
                                </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>