<!DOCTYPE html>
<!-- saved from url=(0032)https://aprobitmarket.com/signup -->
<html lang="en-uk" dir="ltr">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- Standard Meta -->

    <meta name="description" content="" />
    <meta
        name="keywords"
        content="investment, Forex, Trading, Bitcoin, Cryptocurrency, Global investment, Live Trade, Trading class, indics" />
    <meta name="author" content="" />
    <meta
        name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="theme-color" content="#0f101e" />
    <!-- Site Properties -->
    <title>Sign Up</title>
    <link
        rel="shortcut icon"
        href="../assets/images/favicon.svg"
        type="image/x-icon" />
    <link
        rel="apple-touch-icon-precomposed"
        href="../assets/image/favicon.svg" />
    <!-- Stylesheet -->
    <link rel="stylesheet" href="assets/css/uikit.min.css" />
    <link rel="stylesheet" href="assets/css/style.css" />

    <script src="assets/js/promise-polyfill.js"></script>
    <link
        rel="stylesheet"
        href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
        integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
        crossorigin="anonymous"
        referrerpolicy="no-referrer" />
    <style>
        /* Your existing styles here */
    </style>
</head>

<body style="background-color: #0f101e; color: #fff" class="loaded">
    <!-- preloader begin -->
    <div class="in-loader">
        <div style="background-color: #44a08d"></div>
        <div style="background-color: #44a08d"></div>
        <div style="background-color: #44a08d"></div>
    </div>
    <!-- preloader end -->
    <main>
        <!-- section content begin -->
        <div class="uk-section uk-padding-remove-vertical">
            <div class="uk-container uk-container-expand">
                <div
                    class="uk-grid"
                    data-uk-height-viewport="expand: true"
                    data-height-expand=""
                    style="min-height: 991px">
                    <div
                        class="uk-width-3-5@m uk-background-cover uk-background-center-right uk-visible@m uk-box-shadow-xlarge"
                        style="background-image: url(assets/images/h.jpg)"></div>
                    <div class="uk-width-expand@m uk-flex uk-flex-middle">
                        <div class="uk-grid uk-flex-center">
                            <div class="uk-width-3-5@m">
                                <div
                                    id="users"
                                    class="in-padding-horizontal@s">
                                    <a href="https://quantumtdsai.live" class="uk-logo"><img
                                            src="logo.png"
                                            data-src="logo.png"
                                            alt="wave"
                                            width="350"
                                            height="29"
                                            data-uk-img=""
                                            class="uk-margin-small-right in-offset-top-10"
                                            style="padding-top: 40px" /></a>
                                    <p
                                        class="uk-text-lead uk-margin-top uk-margin-remove-bottom">
                                        Create your account
                                    </p>
                                    <p
                                        class="uk-text-small uk-margin-remove-top uk-margin-medium-bottom">
                                        Already have an account?
                                        <a
                                            href="login.php"
                                            style="color: rgb(211,
                                                            74,
                                                            36)"><b
                                                style="
                                                        color: rgb(
                                                            211,
                                                            74,
                                                            36
                                                        );
                                                    ">Login here</b></a>
                                    </p>
                                    <form
                                        id="signupForm"
                                        class="uk-grid uk-form"
                                        method="post"
                                        action="assets/php/register.php">
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="fullname"
                                                name="fullname"
                                                type="text"
                                                placeholder="Full Name"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="username"
                                                name="username"
                                                type="text"
                                                placeholder="Username"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="home_address"
                                                name="home_address"
                                                type="text"
                                                placeholder="Home Address"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="city"
                                                name="city"
                                                type="text"
                                                placeholder="City"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="postal_code"
                                                name="postal_code"
                                                type="text"
                                                placeholder="Zipcode/postal-code (Optional)"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <select
                                                id="country"
                                                name="country"
                                                required="required"
                                                inputmode="text"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    ">
                                                <option
                                                    disabled="disabled"
                                                    selected="selected">
                                                    Please Select Country
                                                </option>
                                                <option value="Afghanistan">
                                                    Afghanistan (؋)
                                                </option>
                                                <option value="Albania">
                                                    Albania (Lek)
                                                </option>
                                                <option value="Algeria">
                                                    Algeria (دج)
                                                </option>
                                                <option
                                                    value="American Samoa">
                                                    American Samoa ($)
                                                </option>
                                                <option value="Andorra">
                                                    Andorra (€)
                                                </option>
                                                <option value="Angola">
                                                    Angola (Kz)
                                                </option>
                                                <option value="Anguilla">
                                                    Anguilla ($)
                                                </option>
                                                <option value="Antarctica">
                                                    Antarctica ($)
                                                </option>
                                                <option
                                                    value="Antigua and Barbuda">
                                                    Antigua and Barbuda ($)
                                                </option>
                                                <option value="Argentina">
                                                    Argentina ($)
                                                </option>
                                                <option value="Armenia">
                                                    Armenia (֏)
                                                </option>
                                                <option value="Aruba">
                                                    Aruba (ƒ)
                                                </option>
                                                <option value="Australia">
                                                    Australia ($)
                                                </option>
                                                <option value="Austria">
                                                    Austria (€)
                                                </option>
                                                <option value="Azerbaijan">
                                                    Azerbaijan (AZN)
                                                </option>
                                                <option value="Bahamas">
                                                    Bahamas ($)
                                                </option>
                                                <option value="Bahrain">
                                                    Bahrain (د.)
                                                </option>
                                                <option value="Bangladesh">
                                                    Bangladesh (ó)
                                                </option>
                                                <option value="Barbados">
                                                    Barbados ($)
                                                </option>
                                                <option value="Belarus">
                                                    Belarus (Br)
                                                </option>
                                                <option value="Belgium">
                                                    Belgium (€)
                                                </option>
                                                <option value="Belize">
                                                    Belize ($)
                                                </option>
                                                <option value="Benin">
                                                    Benin (CFA)
                                                </option>
                                                <option value="Bermuda">
                                                    Bermuda ($)
                                                </option>
                                                <option value="Bhutan">
                                                    Bhutan (Nu)
                                                </option>
                                                <option value="Bolivia">
                                                    Bolivia (Bs)
                                                </option>
                                                <option
                                                    value="Bosnia and Herzegovina">
                                                    Bosnia and Herzegovina
                                                    (KM)
                                                </option>
                                                <option value="Botswana">
                                                    Botswana (P)
                                                </option>
                                                <option
                                                    value="Bouvet Island">
                                                    Bouvet Island (kr)
                                                </option>
                                                <option value="Brazil">
                                                    Brazil (R$)
                                                </option>
                                                <option
                                                    value="British Indian Ocean Territory">
                                                    British Indian Ocean
                                                    Territory ($)
                                                </option>
                                                <option
                                                    value="Brunei Darussalam">
                                                    Brunei Darussalam (B$)
                                                </option>
                                                <option value="Bulgaria">
                                                    Bulgaria (Лв.)
                                                </option>
                                                <option
                                                    value="Burkina Faso">
                                                    Burkina Faso (CFA)
                                                </option>
                                                <option value="Burundi">
                                                    Burundi (FBu)
                                                </option>
                                                <option value="Cambodia">
                                                    Cambodia (៛)
                                                </option>
                                                <option value="Cameroon">
                                                    Cameroon (FCFA)
                                                </option>
                                                <option value="Canada">
                                                    Canada ($)
                                                </option>
                                                <option value="Cape Verde">
                                                    Cape Verde ($)
                                                </option>
                                                <option
                                                    value="Cayman Islands">
                                                    Cayman Islands ($)
                                                </option>
                                                <option
                                                    value="Central African Republic">
                                                    Central African Republic
                                                    (FCFA)
                                                </option>
                                                <option value="Chad">
                                                    Chad (FCFA)
                                                </option>
                                                <option value="Chile">
                                                    Chile ($)
                                                </option>
                                                <option value="China">
                                                    China (¥)
                                                </option>
                                                <option
                                                    value="Christmas Island">
                                                    Christmas Island ($)
                                                </option>
                                                <option
                                                    value="Cocos (Keeling) Islands">
                                                    Cocos (Keeling) Islands
                                                    ($)
                                                </option>
                                                <option value="Colombia">
                                                    Colombia ($)
                                                </option>
                                                <option value="Comoros">
                                                    Comoros (CF)
                                                </option>
                                                <option value="Congo">
                                                    Congo (FC)
                                                </option>
                                                <option
                                                    value="Democratic Republic of the Congo">
                                                    Democratic Republic of
                                                    the Congo (FC)
                                                </option>
                                                <option
                                                    value="Cook Islands">
                                                    Cook Islands ($)
                                                </option>
                                                <option value="Costa Rica">
                                                    Costa Rica (₡)
                                                </option>
                                                <option
                                                    value="Cote D&#39;Ivoire">
                                                    Cote D'Ivoire (CFA)
                                                </option>
                                                <option value="Croatia">
                                                    Croatia (Kn)
                                                </option>
                                                <option value="Cuba">
                                                    Cuba ($)
                                                </option>
                                                <option value="Cyprus">
                                                    Cyprus (€)
                                                </option>
                                                <option
                                                    value="Czech Republic">
                                                    Czech Republic (Kč)
                                                </option>
                                                <option value="Denmark">
                                                    Denmark (kr)
                                                </option>
                                                <option value="Djibouti">
                                                    Djibouti (Fdj)
                                                </option>
                                                <option value="Dominica">
                                                    Dominica ($)
                                                </option>
                                                <option
                                                    value="Dominican Republic">
                                                    Dominican Republic (RD$)
                                                </option>
                                                <option value="Ecuador">
                                                    Ecuador (S/.)
                                                </option>
                                                <option value="Egypt">
                                                    Egypt (E£)
                                                </option>
                                                <option value="El Salvador">
                                                    El Salvador (₡)
                                                </option>
                                                <option
                                                    value="Equatorial Guinea">
                                                    Equatorial Guinea (FCFA)
                                                </option>
                                                <option value="Eritrea">
                                                    Eritrea (Nkf)
                                                </option>
                                                <option value="Estonia">
                                                    Estonia (kr)
                                                </option>
                                                <option value="Ethiopia">
                                                    Ethiopia (Br)
                                                </option>
                                                <option
                                                    value="Falkland Islands (Malvinas)">
                                                    Falkland Islands
                                                    (Malvinas) (£)
                                                </option>
                                                <option
                                                    value="Faroe Islands">
                                                    Faroe Islands (kr)
                                                </option>
                                                <option value="Fiji">
                                                    Fiji (FJ$)
                                                </option>
                                                <option value="Finland">
                                                    Finland (mk)
                                                </option>
                                                <option value="France">
                                                    France (€)
                                                </option>
                                                <option
                                                    value="French Guiana">
                                                    French Guiana (€)
                                                </option>
                                                <option
                                                    value="French Polynesia">
                                                    French Polynesia (F)
                                                </option>
                                                <option
                                                    value="French Southern Territories">
                                                    French Southern
                                                    Territories (€)
                                                </option>
                                                <option value="Gabon">
                                                    Gabon (FCFA)
                                                </option>
                                                <option value="Gambia">
                                                    Gambia (D)
                                                </option>
                                                <option value="Georgia">
                                                    Georgia (GEL)
                                                </option>
                                                <option value="Germany">
                                                    Germany (€)
                                                </option>
                                                <option value="Ghana">
                                                    Ghana (GH₵)
                                                </option>
                                                <option value="Gibraltar">
                                                    Gibraltar (£)
                                                </option>
                                                <option value="Greece">
                                                    Greece (€)
                                                </option>
                                                <option value="Greenland">
                                                    Greenland (Kr.)
                                                </option>
                                                <option value="Grenada">
                                                    Grenada ($)
                                                </option>
                                                <option value="Guadeloupe">
                                                    Guadeloupe (€)
                                                </option>
                                                <option value="Guam">
                                                    Guam ($)
                                                </option>
                                                <option value="Guatemala">
                                                    Guatemala (Q)
                                                </option>
                                                <option value="Guernsey">
                                                    Guernsey (£)
                                                </option>
                                                <option value="Guinea">
                                                    Guinea (FG)
                                                </option>
                                                <option
                                                    value="Guinea-Bissau">
                                                    Guinea-Bissau (CFA)
                                                </option>
                                                <option value="Guyana">
                                                    Guyana (G$)
                                                </option>
                                                <option value="Haiti">
                                                    Haiti (G)
                                                </option>
                                                <option
                                                    value="Heard Island and McDonald Islands">
                                                    Heard Island and
                                                    McDonald Islands ($)
                                                </option>
                                                <option
                                                    value="Holy See (Vatican City State)">
                                                    Holy See (Vatican City
                                                    State) (₤)
                                                </option>
                                                <option value="Honduras">
                                                    Honduras (HNL)
                                                </option>
                                                <option value="Hong Kong">
                                                    Hong Kong (HK$)
                                                </option>
                                                <option value="Hungary">
                                                    Hungary (Ft)
                                                </option>
                                                <option value="Iceland">
                                                    Iceland (kr)
                                                </option>
                                                <option value="India">
                                                    India (₹)
                                                </option>
                                                <option value="Indonesia">
                                                    Indonesia (Rp)
                                                </option>
                                                <option
                                                    value="Islamic Republic of Iran">
                                                    Islamic Republic of Iran
                                                    (IRR)
                                                </option>
                                                <option value="Iraq">
                                                    Iraq (د.ع)
                                                </option>
                                                <option value="Ireland">
                                                    Ireland (€)
                                                </option>
                                                <option value="Isle of Man">
                                                    Isle of Man (£)
                                                </option>
                                                <option value="Israel">
                                                    Israel (₪)
                                                </option>
                                                <option value="Italy">
                                                    Italy (€)
                                                </option>
                                                <option value="Jamaica">
                                                    Jamaica (J$)
                                                </option>
                                                <option value="Japan">
                                                    Japan (¥)
                                                </option>
                                                <option value="Jersey">
                                                    Jersey (£)
                                                </option>
                                                <option value="Jordan">
                                                    Jordan (د.ا)
                                                </option>
                                                <option value="Kazakhstan">
                                                    Kazakhstan (₸)
                                                </option>
                                                <option value="Kenya">
                                                    Kenya (KSh)
                                                </option>
                                                <option value="Kiribati">
                                                    Kiribati ($)
                                                </option>
                                                <option
                                                    value="Democratic People&#39;s Republic of Korea">
                                                    Democratic People's
                                                    Republic of Korea (₩)
                                                </option>
                                                <option
                                                    value="Republic of Korea">
                                                    Republic of Korea (₩)
                                                </option>
                                                <option value="Kuwait">
                                                    Kuwait (د.ك)
                                                </option>
                                                <option value="Kyrgyzstan">
                                                    Kyrgyzstan (лв)
                                                </option>
                                                <option
                                                    value="Lao People&#39;s Democratic Republic">
                                                    Lao People's Democratic
                                                    Republic (₭)
                                                </option>
                                                <option value="Latvia">
                                                    Latvia (LVL)
                                                </option>
                                                <option value="Lebanon">
                                                    Lebanon (ل.ل)
                                                </option>
                                                <option value="Lesotho">
                                                    Lesotho (L)
                                                </option>
                                                <option value="Liberia">
                                                    Liberia (L$)
                                                </option>
                                                <option
                                                    value="Libyan Arab Jamahiriya">
                                                    Libyan Arab Jamahiriya
                                                    (LD)
                                                </option>
                                                <option
                                                    value="Liechtenstein">
                                                    Liechtenstein (CHF)
                                                </option>
                                                <option value="Lithuania">
                                                    Lithuania (Lt)
                                                </option>
                                                <option value="Luxembourg">
                                                    Luxembourg (€)
                                                </option>
                                                <option value="Macao">
                                                    Macao (MOP$)
                                                </option>
                                                <option
                                                    value="The Former Yugoslav Republic of Macedonia">
                                                    The Former Yugoslav
                                                    Republic of Macedonia
                                                    (den)
                                                </option>
                                                <option value="Madagascar">
                                                    Madagascar (Ar)
                                                </option>
                                                <option value="Malawi">
                                                    Malawi (K)
                                                </option>
                                                <option value="Malaysia">
                                                    Malaysia (RM)
                                                </option>
                                                <option value="Maldives">
                                                    Maldives (Rf)
                                                </option>
                                                <option value="Mali">
                                                    Mali (MAF)
                                                </option>
                                                <option value="Malta">
                                                    Malta (€)
                                                </option>
                                                <option
                                                    value="Marshall Islands">
                                                    Marshall Islands ($)
                                                </option>
                                                <option value="Martinique">
                                                    Martinique (€)
                                                </option>
                                                <option value="Mauritania">
                                                    Mauritania (MRU
                                                </option>
                                                <option value="Mauritius">
                                                    Mauritius (₨)
                                                </option>
                                                <option value="Mayotte">
                                                    Mayotte (€)
                                                </option>
                                                <option value="Mexico">
                                                    Mexico ($)
                                                </option>
                                                <option
                                                    value="Federated States of Micronesia">
                                                    Federated States of
                                                    Micronesia ($)
                                                </option>
                                                <option
                                                    value="Republic of Moldova">
                                                    Republic of Moldova (L)
                                                </option>
                                                <option value="Monaco">
                                                    Monaco (€)
                                                </option>
                                                <option value="Mongolia">
                                                    Mongolia (₮)
                                                </option>
                                                <option value="Montenegro">
                                                    Montenegro (€)
                                                </option>
                                                <option value="Montserrat">
                                                    Montserrat ($)
                                                </option>
                                                <option value="Morocco">
                                                    Morocco (MAD)
                                                </option>
                                                <option value="Mozambique">
                                                    Mozambique (MT)
                                                </option>
                                                <option value="Myanmar">
                                                    Myanmar (K)
                                                </option>
                                                <option value="Namibia">
                                                    Namibia (N$)
                                                </option>
                                                <option value="Nauru">
                                                    Nauru ($)
                                                </option>
                                                <option value="Nepal">
                                                    Nepal (Rs)
                                                </option>
                                                <option value="Netherlands">
                                                    Netherlands (ANG)
                                                </option>
                                                <option
                                                    value="Netherlands Antilles">
                                                    Netherlands Antilles
                                                    (NAf)
                                                </option>
                                                <option
                                                    value="New Caledonia">
                                                    New Caledonia (F)
                                                </option>
                                                <option value="New Zealand">
                                                    New Zealand ($)
                                                </option>
                                                <option value="Nicaragua">
                                                    Nicaragua (C$)
                                                </option>
                                                <option value="Niger">
                                                    Niger (XOF)
                                                </option>
                                                <option value="Nigeria">
                                                    Nigeria (₦)
                                                </option>
                                                <option value="Niue">
                                                    Niue ($)
                                                </option>
                                                <option
                                                    value="Norfolk Island">
                                                    Norfolk Island ($)
                                                </option>
                                                <option
                                                    value="Northern Mariana Islands">
                                                    Northern Mariana Islands
                                                    ($)
                                                </option>
                                                <option value="Norway">
                                                    Norway (kr)
                                                </option>
                                                <option value="Oman">
                                                    Oman (ر.ع.)
                                                </option>
                                                <option value="Pakistan">
                                                    Pakistan (₨)
                                                </option>
                                                <option value="Palau">
                                                    Palau ($)
                                                </option>
                                                <option
                                                    value="Occupied Palestinian Territory">
                                                    Occupied Palestinian
                                                    Territory ($)
                                                </option>
                                                <option value="Panama">
                                                    Panama (B/)
                                                </option>
                                                <option
                                                    value="Papua New Guinea">
                                                    Papua New Guinea (K)
                                                </option>
                                                <option value="Paraguay">
                                                    Paraguay (₲)
                                                </option>
                                                <option value="Peru">
                                                    Peru (S/)
                                                </option>
                                                <option value="Philippines">
                                                    Philippines (₱)
                                                </option>
                                                <option value="Pitcairn">
                                                    Pitcairn ($)
                                                </option>
                                                <option value="Poland">
                                                    Poland (zł)
                                                </option>
                                                <option value="Portugal">
                                                    Portugal (€)
                                                </option>
                                                <option value="Puerto Rico">
                                                    Puerto Rico ($)
                                                </option>
                                                <option value="Qatar">
                                                    Qatar (QR)
                                                </option>
                                                <option value="Reunion">
                                                    Reunion (€)
                                                </option>
                                                <option value="Romania">
                                                    Romania (lei)
                                                </option>
                                                <option
                                                    value="Russian Federation">
                                                    Russian Federation (₽)
                                                </option>
                                                <option value="Rwanda">
                                                    Rwanda (FRw)
                                                </option>
                                                <option
                                                    value="Saint Barthélemy">
                                                    Saint Barthélemy (€)
                                                </option>
                                                <option
                                                    value="Saint Helena">
                                                    Saint Helena (£)
                                                </option>
                                                <option
                                                    value="Saint Kitts and Nevis">
                                                    Saint Kitts and Nevis
                                                    ($)
                                                </option>
                                                <option value="Saint Lucia">
                                                    Saint Lucia ($)
                                                </option>
                                                <option
                                                    value="Saint Martin">
                                                    Saint Martin (ƒ)
                                                </option>
                                                <option
                                                    value="Saint Pierre and Miquelon">
                                                    Saint Pierre and
                                                    Miquelon (€)
                                                </option>
                                                <option
                                                    value="Saint Vincent and the Grenadines">
                                                    Saint Vincent and the
                                                    Grenadines (X$)
                                                </option>
                                                <option value="Samoa">
                                                    Samoa ($)
                                                </option>
                                                <option value="San Marino">
                                                    San Marino (€)
                                                </option>
                                                <option
                                                    value="Sao Tome and Principe">
                                                    Sao Tome and Principe
                                                    (Db)
                                                </option>
                                                <option
                                                    value="Saudi Arabia">
                                                    Saudi Arabia (﷼)
                                                </option>
                                                <option value="Senegal">
                                                    Senegal (CFA)
                                                </option>
                                                <option value="Serbia">
                                                    Serbia (din)
                                                </option>
                                                <option value="Seychelles">
                                                    Seychelles (SCR)
                                                </option>
                                                <option
                                                    value="Sierra Leone">
                                                    Sierra Leone (Le)
                                                </option>
                                                <option value="Singapore">
                                                    Singapore (S$)
                                                </option>
                                                <option value="Slovakia">
                                                    Slovakia (SKK)
                                                </option>
                                                <option value="Slovenia">
                                                    Slovenia (€)
                                                </option>
                                                <option
                                                    value="Solomon Islands">
                                                    Solomon Islands (Si$)
                                                </option>
                                                <option value="Somalia">
                                                    Somalia (Sh.so.)
                                                </option>
                                                <option
                                                    value="South Africa">
                                                    South Africa (R)
                                                </option>
                                                <option
                                                    value="South Georgia and the South Sandwich Islands">
                                                    South Georgia and the
                                                    South Sandwich Islands
                                                    (£)
                                                </option>
                                                <option value="Spain">
                                                    Spain (€)
                                                </option>
                                                <option value="Sri Lanka">
                                                    Sri Lanka (Rs)
                                                </option>
                                                <option value="Sudan">
                                                    Sudan (£SD)
                                                </option>
                                                <option value="Suriname">
                                                    Suriname ($)
                                                </option>
                                                <option
                                                    value="Svalbard and Jan Mayen">
                                                    Svalbard and Jan Mayen
                                                    (kr)
                                                </option>
                                                <option value="Swaziland">
                                                    Swaziland (L)
                                                </option>
                                                <option value="Sweden">
                                                    Sweden (kr)
                                                </option>
                                                <option value="Switzerland">
                                                    Switzerland (CHf)
                                                </option>
                                                <option
                                                    value="Syrian Arab Republic">
                                                    Syrian Arab Republic
                                                    (LS)
                                                </option>
                                                <option
                                                    value="Taiwan, Province Of China">
                                                    Taiwan, Province Of
                                                    China (NT$)
                                                </option>
                                                <option value="Tajikistan">
                                                    Tajikistan (SM)
                                                </option>
                                                <option
                                                    value="United Republic of Tanzania">
                                                    United Republic of
                                                    Tanzania (TSh)
                                                </option>
                                                <option value="Thailand">
                                                    Thailand (฿))
                                                </option>
                                                <option value="Timor-Leste">
                                                    Timor-Leste ($)
                                                </option>
                                                <option value="Togo">
                                                    Togo (CFA)
                                                </option>
                                                <option value="Tokelau">
                                                    Tokelau ($)
                                                </option>
                                                <option value="Tonga">
                                                    Tonga (T$)
                                                </option>
                                                <option
                                                    value="Trinidad and Tobago">
                                                    Trinidad and Tobago
                                                    (TT$)
                                                </option>
                                                <option value="Tunisia">
                                                    Tunisia (د.ت)
                                                </option>
                                                <option value="Turkey">
                                                    Turkey (₺)
                                                </option>
                                                <option
                                                    value="Turkmenistan">
                                                    Turkmenistan (T)
                                                </option>
                                                <option
                                                    value="Turks and Caicos Islands">
                                                    Turks and Caicos Islands
                                                    ($)
                                                </option>
                                                <option value="Tuvalu">
                                                    Tuvalu ($)
                                                </option>
                                                <option value="Uganda">
                                                    Uganda (USh)
                                                </option>
                                                <option value="Ukraine">
                                                    Ukraine (₴)
                                                </option>
                                                <option
                                                    value="United Arab Emirates">
                                                    United Arab Emirates
                                                    (د.إ)
                                                </option>
                                                <option
                                                    value="United Kingdom">
                                                    United Kingdom (£)
                                                </option>
                                                <option
                                                    value="United States">
                                                    United States ($)
                                                </option>
                                                <option
                                                    value="United States Minor Outlying Islands">
                                                    United States Minor
                                                    Outlying Islands ($)
                                                </option>
                                                <option value="Uruguay">
                                                    Uruguay ($)
                                                </option>
                                                <option value="Uzbekistan">
                                                    Uzbekistan (лв)
                                                </option>
                                                <option value="Vanuatu">
                                                    Vanuatu (VT)
                                                </option>
                                                <option value="Venezuela">
                                                    Venezuela (Bs.)
                                                </option>
                                                <option value="Vietnam">
                                                    Vietnam (₫)
                                                </option>
                                                <option
                                                    value="British, Virgin Islands">
                                                    British, Virgin Islands
                                                    ($)
                                                </option>
                                                <option
                                                    value="U.S., Virgin Islands">
                                                    U.S., Virgin Islands ($)
                                                </option>
                                                <option
                                                    value="Wallis And Futuna">
                                                    Wallis And Futuna (Fr)
                                                </option>
                                                <option
                                                    value="Western Sahara">
                                                    Western Sahara (د.م.)
                                                </option>
                                                <option value="Yemen">
                                                    Yemen (﷼)
                                                </option>
                                                <option value="Zambia">
                                                    Zambia (ZK)
                                                </option>
                                                <option value="Zimbabwe">
                                                    Zimbabwe (Z$)
                                                </option>
                                            </select>
                                            <input
                                                id="currency"
                                                name="currency"
                                                type="hidden"
                                                class="uk-input uk-border-rounded" />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="phone"
                                                name="phone"
                                                type="tel"
                                                placeholder="Phone number : +xxxxxxxxx"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="email"
                                                name="email"
                                                type="email"
                                                placeholder="Email address"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="password"
                                                name="password"
                                                type="password"
                                                placeholder="Password"
                                                maxlength="16"
                                                ng-minlength="8"
                                                required="required"
                                                pattern=".{8,}"
                                                title="8 characters minimum"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <input
                                                id="confirm_password"
                                                name="confirm_password"
                                                type="password"
                                                placeholder="Confirm Password"
                                                maxlength="16"
                                                ng-minlength="8"
                                                pattern=".{6,}"
                                                title="8 characters minimum"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <!-- Test Question -->
                                        <div
                                            class="uk-margin-small uk-width-1-1 uk-inline">
                                            <label
                                                class="uk-form-label"
                                                for="testQuestionAnswer">
                                                What color is snow?
                                            </label>
                                            <input
                                                id="testQuestionAnswer"
                                                name="testQuestionAnswer"
                                                type="text"
                                                placeholder="Answer"
                                                required="required"
                                                class="uk-input uk-border-rounded"
                                                style="
                                                        background-color: rgb(
                                                            15,
                                                            16,
                                                            30
                                                        );
                                                    " />
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-auto uk-text-small">
                                            <label>
                                                <input
                                                    type="checkbox"
                                                    class="uk-checkbox uk-border-rounded" />
                                                I Agree To Terms &amp;
                                                Conditions</label>
                                        </div>
                                        <div
                                            class="uk-margin-small uk-width-1-1">
                                            <button
                                                type="submit"
                                                id="btnSignup"
                                                class="uk-button uk-width-1-1 uk-button-primary uk-border-rounded uk-float-left"
                                                style="
                                                        background-color: rgb(
                                                            211,
                                                            74,
                                                            36
                                                        );
                                                    ">
                                                Sign Up
                                            </button>
                                        </div>
                                    </form>
                                    <p
                                        class="uk-heading-line uk-text-center">
                                        <span>Welcome</span>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- section content end -->
    </main>
    <!-- Javascript -->
    <script
        src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"
        integrity="sha512-U6K1YLIFUWcvuw5ucmMtT9HH4t0uz3M366qrF5y4vnyH6dgDzndlcGvH/Lz5k8NFh80SN95aJ5rqGZEdaQZ7ZQ=="
        crossorigin="anonymous"
        referrerpolicy="no-referrer"></script>
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <script src="assets/js/popper.js"></script>

    <script>
        document.addEventListener("DOMContentLoaded", handleURLMessage);

        // Handle message from URL and display it using SweetAlert
        function handleURLMessage() {
            const urlParams = new URLSearchParams(window.location.search);
            const message = urlParams.get('message');
            const messageType = urlParams.get('message_type');

            if (message) {
                const iconType = messageType === "success" ? "success" : "error"; // Define icon based on type

                Swal.fire({
                    title: iconType === "success" ? "Success!" : "Error!",
                    text: decodeURIComponent(message),
                    icon: iconType,
                    confirmButtonText: "OK"
                });

                // Remove message from URL after displaying
                history.replaceState(null, '', window.location.pathname);
            }
        }

        document.getElementById("signupForm")?.addEventListener("submit", async function(event) {
            event.preventDefault(); // Prevent traditional form submission

            // Get form values
            const fullname = document.getElementById("fullname")?.value.trim();
            const username = document.getElementById("username")?.value.trim();
            const home_address = document.getElementById("home_address")?.value.trim();
            const city = document.getElementById("city")?.value.trim();
            const postal_code = document.getElementById("postal_code")?.value.trim();
            const country = document.getElementById("country")?.value.trim();
            const currency = document.getElementById("currency")?.value.trim() || "USD";
            const phone = document.getElementById("phone")?.value.trim();
            const email = document.getElementById("email")?.value.trim();
            const password = document.getElementById("password")?.value.trim();
            const password_confirmation = document.getElementById("confirm_password")?.value.trim();
            const checkbox = document.querySelector(".uk-checkbox");
            const testQuestionAnswer = document.getElementById("testQuestionAnswer")?.value.trim().toLowerCase();

            // Check for empty fields
            if (!fullname || !username || !phone || !email || !password) {
                Swal.fire({
                    title: "Error",
                    text: "All required fields (Full Name, Username, Phone, Email, Password) must be filled!",
                    icon: "error",
                    confirmButtonText: "OK"
                });
                return;
            }

            if (password !== password_confirmation) {
                Swal.fire({
                    title: "Error",
                    text: "Passwords don't match",
                    icon: "error",
                    confirmButtonText: "OK"
                });
                return;
            }

            // Check if checkbox is checked
            if (!checkbox?.checked) {
                Swal.fire({
                    title: "Error",
                    text: "You must agree to the terms and conditions!",
                    icon: "error",
                    confirmButtonText: "OK"
                });
                return;
            }

            // Validate test question answer
            if (testQuestionAnswer !== "white") {
                Swal.fire({
                    title: "Error",
                    text: "Incorrect answer to the test question. Please try again.",
                    icon: "error",
                    confirmButtonText: "OK"
                });
                return;
            }

            // Submit the form if all required fields are filled and test question is correct
            document.getElementById('signupForm')?.submit();
        });
    </script>
</body>

</html>