<!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">Patient Details</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">Patient Details</span>
                                </li>
                            </ol>
                        </nav>
                    </div>
                    
                    <div class="row">
                        <div class="col-xxl-9 col-xxxl-12">
                            <div class="social-profile">
                                <div class="card border-0 bg-white rounded-10 mb-4">
                                    <div class="position-relative">
                                        <img src="assets/images/profile-cover.jpg" class="rounded-top-3 w-100" alt="profile-cover">
                                    </div>
                                    <div class="card border-0 rounded-10 p-20 rounded-top-0 profile-info" style="background-color: transparent !important;">
                                        <div class="d-flex justify-content-between align-items-end flex-wrap gap-3">
                                            <div class="d-flex align-items-end">
                                                <div class="flex-shrink-0 position-relative">
                                                    <div class="avatar-upload">
                                                        <div class="avatar-edit" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Image Size (190x190)">
                                                            <input type='file' id="imageUpload" accept=".png, .jpg, .jpeg" />
                                                            <label for="imageUpload"></label>
                                                        </div>
                                                        <div class="avatar-preview">
                                                            <div id="imagePreview" style="background-image: url(assets/images/user58.jpg);"></div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="flex-grow-1 ms-20 mb-45">
                                                    <h3 class="mb-1">Walter White</h3>
                                                    <span class="fs-16">Patient ID: <span class="text-secondary">#P-3214</span></span>
                                                </div>
                                            </div>
                                            <div class="d-flex align-items-center mb-sm-4">
                                                <button class="btn btn-outline-border-color-70 text-secondary fw-normal fs-16 hover-bg ms-10" style="padding: 12px 15px;">Share Profile</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="row">
                                    <div class="col-lg-4 order-2 order-lg-1">
                                        <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <h3 class="mb-20">Personal Information</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 class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <div class="d-flex justify-content-between align-items-center">
                                                <div>
                                                    <span class="fs-14 fw-medium d-block mb-1">Email</span>
                                                    <a href="mailto:walter32@gmail.com" class="fs-18 fw-medium text-decoration-none text-secondary">walter32@gmail.com</a>
                                                </div>
                                                <div class="position-relative z-1">
                                                    <img src="assets/images/email.png" alt="email">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <div class="d-flex justify-content-between align-items-center">
                                                <div>
                                                    <span class="fs-14 fw-medium d-block mb-1">Email</span>
                                                    <a href="tel:+14442665599" class="fs-18 fw-medium text-decoration-none text-secondary">+1 444 266 5599</a>
                                                </div>
                                                <div class="position-relative z-1">
                                                    <img src="assets/images/phone.png" alt="phone">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <div class="d-flex justify-content-between align-items-center">
                                                <div>
                                                    <span class="fs-14 fw-medium d-block mb-1">Address</span>
                                                    <a href="#" class="fs-18 fw-medium text-decoration-none text-secondary">S. Arrowhead Court <br> Branford9</a>
                                                </div>
                                                <div class="position-relative z-1">
                                                    <img src="assets/images/maps.png" alt="maps">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-8 order-1 order-lg-2">
                                        <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <h3 class="mb-20">Disease History</h3>
                                            <p class="fs-16 lh-1-8 mb-30">Molestie tincidunt ut consequat a urna tortor. Vitae velit ac nisl velit mauris placerat nisi placerat. Pellentesque viverra lorem malesuada nunc tristique sapien. Imperdiet sit hendrerit tincidunt bibendum donec adipiscing.</p>

                                            <h3 class="mb-20">Key Symptoms</h3>
                                            <ul class="p-0 mb-0 list-unstyled last-child-none">
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Molestie tincidunt ut consequat a urna tortor.</span>
                                                    </div>
                                                </li>
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Vitae velit ac nisl velit mauris placerat nisi placerat. Pellentesque viverra lorem malesuada nunc tristique sapien. Imperdiet sit hendrerit tincidunt bibendum donec adipiscing.</span>
                                                    </div>
                                                </li>
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Ad minim veniam, quis nostrud exercitation ullamco laboris nis</span>
                                                    </div>
                                                </li>
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum accusantium doloremque laudantium.</span>
                                                    </div>
                                                </li>
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed  quia consequuntur magni dolores eos qui ratione voluptate.</span>
                                                    </div>
                                                </li>
                                            </ul>
                                        </div>
                                        <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                            <h3 class="mb-20">Note For Patient</h3>
                                            <p class="fs-16 lh-1-8 mb-30">Molestie tincidunt ut consequat a urna tortor. Vitae velit ac nisl velit mauris placerat nisi placerat. Pellentesque viverra lorem malesuada nunc tristique sapien. Imperdiet sit hendrerit tincidunt bibendum donec adipiscing.</p>

                                            <h3 class="mb-20">Key Symptoms</h3>
                                            <ul class="p-0 mb-0 list-unstyled last-child-none">
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Molestie tincidunt ut consequat a urna tortor.</span>
                                                    </div>
                                                </li>
                                                <li class="d-flex mb-10">
                                                    <div class="flex-shrink-0">
                                                        <span class="bg-primary-50 rounded-circle d-block position-relative top-10" style="width: 8px; height: 8px;"></span>
                                                    </div>
                                                    <div class="flex-grow-1 ms-2">
                                                        <span class="lh-1-8 fs-16">Vitae velit ac nisl velit mauris placerat nisi placerat. Pellentesque viverra lorem malesuada nunc tristique sapien. Imperdiet sit hendrerit tincidunt bibendum donec adipiscing.</span>
                                                    </div>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-xxl-3 col-xxxl-12">
                            <div class="row">
                                <div class="col-xxl-12 col-md-6">
                                    <div class="card bg-white border border-white rounded-10 p-20 mb-4">
                                        <h3 class="mb-20">Assigned Doctor</h3>
    
                                        <div class="d-flex align-items-center">
                                            <div class="flex-shrink-0">
                                                <img src="assets/images/doctor1.jpg" class="rounded-circle" style="width: 112px;" alt="doctor1">
                                            </div>
                                            <div class="flex-grow-1 ms-3">
                                                <h3 class="fs-18" style="margin-bottom: 2px;">David Watson</h3>
                                                <span class="fs-16">Cardiologist</span>
                                                <div class="d-flex align-items-center mb-10" style="gap: 2px;">
                                                    <i class="ri-star-fill text-danger-60 fs-16"></i>
                                                    <i class="ri-star-fill text-danger-60 fs-16"></i>
                                                    <i class="ri-star-fill text-danger-60 fs-16"></i>
                                                    <i class="ri-star-fill text-danger-60 fs-16"></i>
                                                    <i class="ri-star-fill text-danger-60 fs-16"></i>
                                                    <span class="fs-12 position-relative top-1">5.0</span>
                                                </div>
                                                <a href="#" class="btn btn-primary fw-normal text-white fs-14 fw-medium" style="padding: 9px 21px;">View David’s Profile</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xxl-12 col-md-6">
                                    <div class="card bg-white border border-white rounded-10 mb-4 pb-20">
                                        <h3 class="p-20">Download Patient’s Health Statistics</h3>
    
                                        <ul class="p-0 mb-0 list-unstyled last-child-none" style="max-height: 345px;" data-simplebar>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/pdf.png" style="width: 36px;" alt="pdf">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Walter’s Health Statistics.pdf</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/doc.png" style="width: 36px;" alt="doc">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Walter’s Health Statistics.txt</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="col-xxl-12 col-md-6">
                                    <div class="card bg-white border border-white rounded-10 mb-4 pb-20">
                                        <h3 class="p-20">Test Report</h3>
    
                                        <ul class="p-0 mb-0 list-unstyled last-child-none" style="max-height: 345px;" data-simplebar>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/pdf.png" style="width: 36px;" alt="pdf">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Blood_test_Report.pdf</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/pdf.png" style="width: 36px;" alt="pdf">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Lipid_Profile.pdf</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="col-xxl-12 col-md-6">
                                    <div class="card bg-white border border-white rounded-10 mb-4 pb-20">
                                        <h3 class="p-20">Download Prescription</h3>
    
                                        <ul class="p-0 mb-0 list-unstyled last-child-none" style="max-height: 345px;" data-simplebar>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/pdf.png" style="width: 36px;" alt="pdf">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Prescription_12_10_24.pdf</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                            <li class="mb-20 d-flex align-items-center justify-content-between border-light-50 px-20 pb-20 mb-20" style="border-bottom: 1px dashed;">
                                                <div class="d-flex align-items-center">
                                                    <div class="flex-shrink-0">
                                                        <img src="assets/images/doc.png" style="width: 36px;" alt="doc">
                                                    </div>
                                                    <div class="flex-grow-1 ms-12 position-relative top-2">
                                                        <span class="fs-16 text-body">Prescription_15_10_24.txt</span>
                                                    </div>
                                                </div>

                                                <button class="bg-body-bg p-0 border-0 text-body hover-bg d-flex justify-content-center align-items-center rounded-circle" style="width: 40px; height: 40px;">
                                                    <i class="ri-download-2-line fs-18 text-primary-50"></i>
                                                </button>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

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

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

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

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

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