<!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">Create Order</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>E-Commerce</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span>Orders</span>
                                </li>
                                <li class="breadcrumb-item active" aria-current="page">
                                    <span class="text-secondary">Create Order</span>
                                </li>
                            </ol>
                        </nav>
                    </div>

                    <div class="row">
                        <div class="col-lg-8">
                            <div class="card bg-white rounded-10 border border-white p-20 mb-4">
                                <h3 class="mb-20">Billing Information</h3>
                                <form>
                                    <div class="row">
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Customer Name</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput1" placeholder="Your name">
                                                    <label for="floatingInput1">Your name</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Phone Number</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput2" placeholder="Your phone number">
                                                    <label for="floatingInput2">Your phone number</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Email Address</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput3" placeholder="Your email address">
                                                    <label for="floatingInput3">Your email address</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">State</label>
                                                <div class="form-floating">
                                                    <select class="form-select form-control" id="floatingSelect4" aria-label="Floating label select example">
                                                        <option selected>Your State</option>
                                                        <option value="1">Florida</option>
                                                        <option value="2">Wisconsin</option>
                                                        <option value="3">Washington</option>
                                                        <option value="4">Nebraska</option>
                                                        <option value="5">Minnesota</option>
                                                    </select>
                                                    <label for="floatingSelect4">Your State</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">City</label>
                                                <div class="form-floating">
                                                    <select class="form-select form-control" id="floatingSelect5" aria-label="Floating label select example">
                                                        <option selected>Your City</option>
                                                        <option value="1">New York</option>
                                                        <option value="2">Tokyo</option>
                                                        <option value="3">London</option>
                                                        <option value="4">Amsterdam</option>
                                                        <option value="5">Paris</option>
                                                    </select>
                                                    <label for="floatingSelect5">Your State</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">ZIP / Postcode</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput6" placeholder="Your zip / Postcode">
                                                    <label for="floatingInput6">Your zip / Postcode</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Street Address</label>
                                                <div class="form-floating">
                                                    <input type="text" class="form-control" id="floatingInput7" placeholder="Your street address">
                                                    <label for="floatingInput7">Your street address</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-6">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Country</label>
                                                <div class="form-floating">
                                                    <select class="form-select form-control" id="floatingSelect8" aria-label="Floating label select example">
                                                        <option selected>Select</option>
                                                        <option value="1">Switzerland</option>
                                                        <option value="2">New Zealand</option>
                                                        <option value="3">Germany</option>
                                                        <option value="4">United States</option>
                                                        <option value="5">Japan</option>
                                                        <option value="5">Netherlands</option>
                                                        <option value="5">Sweden</option>
                                                        <option value="5">Canada</option>
                                                        <option value="5">United Kingdom</option>
                                                        <option value="5">Australia</option>
                                                    </select>
                                                    <label for="floatingSelect8">Your Country</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-12">
                                            <div class="mb-20">
                                                <label class="label fs-16 mb-2">Order Note (optional)</label>
                                                <div class="form-floating">
                                                    <textarea class="form-control" placeholder="Write your note here...." id="floatingTextarea9" style="height: 152px"></textarea>
                                                    <label for="floatingTextarea9">Write your note here</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-lg-12">
                                            <div class="d-flex gap-2">
                                                <button type="button" class="btn btn-primary fw-normal text-white">Create Order</button>
                                                <button type="button" class="btn btn-danger fw-normal text-white">Cancel</button>
                                            </div>
                                        </div>
                                    </div>
                                </form> 
                            </div>
                        </div>

                        <div class="col-lg-4">
                            <div class="card bg-white rounded-10 border border-white mb-4 pb-20">
                                <h3 class="p-20 pb-0">Your Order</h3>
                                <div class="d-flex justify-content-between align-items-center p-20">
                                    <h3 class="fs-16 fw-normal">Ordered items</h3>
                                    <a href="cart.html" class="text-primary fs-16 text-decoration-none">Edit Cart</a>
                                </div>
                                <div class="default-table-area mx-minus-1 table-order-summary" id="add-to-cart">
                                    <div class="table-responsive">
                                        <table class="table align-middle">
                                            <thead>
                                                <tr>
                                                    <th scope="col" class="fw-medium">Description</th>
                                                    <th scope="col" class="fw-medium">Price</th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td class="text-body">Grand Total :</td> 
                                                    <td class="text-body">$1,105.00</td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-body">Discount :</td> 
                                                    <td class="text-body">-$105.00</td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-body">Tax :</td> 
                                                    <td class="text-body">$75.00</td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-secondary">Subtotal :</td> 
                                                    <td class="text-body">$1,000.00</td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-body">Shipping Charge :</td> 
                                                    <td class="text-body">$80.00</td> 
                                                </tr>
                                                <tr>
                                                    <td class="text-body">Coupon Charge :</td> 
                                                    <td class="text-body">$20.00</td> 
                                                </tr>
                                                <tr class="last-child-border-none">
                                                    <td class="text-secondary">Total :</td> 
                                                    <td class="text-body">$900.00</td> 
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="card bg-white rounded-10 border border-white p-20 mb-4">
                                <h3 class="mb-20">Payment Method</h3>
                                <form>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Payment Card</label>
                                        <div class="form-floating">
                                            <select class="form-select form-control" id="floatingSelect10" aria-label="Floating label select example">
                                                <option selected>Select</option>
                                                <option value="1">PayPal</option>
                                                <option value="2">Stax</option>
                                                <option value="3">Helcim</option>
                                                <option value="4">Square</option>
                                                <option value="5">Stripe</option>
                                            </select>
                                            <label for="floatingSelect10">Payment Card</label>
                                        </div>
                                    </div>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Card Number</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput11" placeholder="Your card number">
                                            <label for="floatingInput11">Your card number</label>
                                        </div>
                                    </div>
                                    <div class="mb-20">
                                        <label class="label fs-16 mb-2">Expiration Date</label>
                                        <input type="date" class="form-control">
                                    </div>
                                    <div class="mb-0">
                                        <label class="label fs-16 mb-2">Security Code</label>
                                        <div class="form-floating">
                                            <input type="text" class="form-control" id="floatingInput12" placeholder="Security code">
                                            <label for="floatingInput12">Security code</label>
                                        </div>
                                    </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>