<!-- Modal -->
<div class="modal fade" id="entrarModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="window-login " data-ix="initiate-windows" style="opacity: 1; transform: translateX(0px) translateY(0px) translateZ(0px); transform-style: preserve-3d; display: block; transition: opacity 200ms ease 0s, transform 200ms ease 0s;">
            <div class="align-center-windows">
               <div class="card windows welcome">
                  <div class="w-dyn-list">
                     <div role="list" class="list-img-auth w-dyn-items">
                        <div role="listitem" class="item-img-auth w-dyn-item">
                           <div style="background-image:url(&quot;https://assets-global.website-files.com/6483631a773f6af2b4edabee/6483631a773f6af2b4edac24_banner_auth_1.webp&quot;)" class="eng-img-welcome"></div>
                        </div>
                     </div>
                  </div>
                  <div class="content-card welcome">
                     <div class="w-dyn-list">
                        <div role="list" class="w-dyn-items">
                           <div role="listitem" class="w-dyn-item"><img loading="eager" tenant-logo="" alt="" src="<?php echo $config[0]->logo ?>" class="logo-window mb-16"></div>
                        </div>
                     </div>
                     <h3 class="white"><strong>Estamos te esperando para mais uma rodada!</strong></h3>
                     <div class="gray mb-24">Insira seus dados e comece a diversão</div>
                     <div class="eng-options-login">Entrar</div>
                     <div class="form w-form">
                        <form method="post" action="<?= base_url(); ?>usuarios/entrar">
                           <div class="eng-text-field mb-1">
                              <input type="email" class="input w-input" maxlength="256" name="email" placeholder="E-mail" id="email" required="">
                              <div class="icon-field"></div>
                           </div>
                           <div class="eng-text-field mb-1">
                              <input type="password" class="input w-input" maxlength="256" name="senha" data-name="" placeholder="Senha" id="senha" required="">
                              <div class="icon-field"></div>
                              <div class="eng-show-hide-password">
                                 <div id="eye-show-login" class="icon-password-1" data-ix="show-hide-password"></div>
                                 <div id="eye-hide-login" class="icon-password-2" data-ix="hide-password"></div>
                              </div>
                           </div>
                           <div class="eng-redirects-windows"><a href="#" class="txt-label" data-toggle="modal" data-target="#resetPassModal">Esqueci minha senha</a></div>
                           <button type="submit" class="btn-login btn-color-1 full w-inline-block mt-2">Entrar</button>
                           <div class="eng-redirects-windows align-center"></div>
                        </form>
                     </div>
                  </div>
                  <div fs-scrolldisable-element="enable" class="eng-close-windows"  data-dismiss="modal" aria-label="Close">
                     <div class="content-btn">
                        <div class="icon-16"></div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>
<!-- Modal -->
<div class="modal fade" id="cadastroModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="window-register" style="transform-style: preserve-3d; transition: transform 200ms ease 0s, opacity 200ms ease 0s; opacity: 1; transform: translateX(0px) translateY(0px) translateZ(0px); display: block;">
            <div class="align-center-windows">
               <div class="card windows welcome">
                  <div class="w-dyn-list">
                     <div role="list" class="list-img-auth w-dyn-items">
                        <div role="listitem" class="item-img-auth w-dyn-item">
                           <div style="background-image:url(&quot;https://assets-global.website-files.com/6483631a773f6af2b4edabee/6483631a773f6af2b4edac24_banner_auth_1.webp&quot;)" class="eng-img-welcome"></div>
                        </div>
                     </div>
                  </div>
                  <div class="content-card welcome">
                     <div class="w-dyn-list">
                        <div role="list" class="w-dyn-items">
                           <div role="listitem" class="w-dyn-item"><img loading="eager" tenant-logo="" alt="" src="<?php echo $config[0]->logo ?>" class="logo-window mb-16"></div>
                        </div>
                     </div>
                     <h3 class="white"><strong>Estamos te esperando para mais uma rodada!</strong></h3>
                     <div class="gray mb-24 mt-8">Insira seus dados e comece a diversão</div>

                     <?php if (is_array($signup) && $signup['status'] == 1): ?>
                     
                        <div class="alert flex">
                              <div class="icon-16 txt-green mr-16"></div>
                              <div class="txt-label align-left"><?php echo $signup['valor'];  ?></div>
                        </div>
                     <?php endif; ?>


                     <div class="eng-options-login">Cadastrar</div>
                     
                     <div class="form w-form">
                        <form method="post" action="<?= base_url(); ?>usuarios/novo">
                           <div class="eng-text-field mb-1">
                              <input type="text" class="input w-input " maxlength="256" signup-username="" name="nome" id="nome" placeholder="Nome de usuário"  required="">
                              <div class="icon-field"></div>
                           </div>
                           
                           <div class="eng-text-field mb-1">
                              <input type="text" class="input mask-cpf w-input" maxlength="14" name="cpf" id="cpf" signup-document="" placeholder="Digite seu CPF" required="">
                              <div class="icon-field"></div>
                           </div>
                           <div class="eng-options-login">Verifique se seu CPF esta correto!!</div>
                           <div class="eng-text-field mb-1">
                              <input type="email" class="input w-input" signup-email="" maxlength="256" name="email" id="email-cad" data-name="Field 12" placeholder="E-mail" required="">
                              <div class="icon-field"></div>
                           </div>
                           <div class="eng-text-field mb-1">
                              <input type="password" class="input w-input" maxlength="256" name="senha" id="senha-cad" signup-password="" placeholder="Senha" required="">
                              <div class="eng-show-hide-password">
                                 <div id="eye-show-register" class="icon-password-1" data-ix="show-hide-password"></div>
                                 <div id="eye-hide-register" class="icon-password-2" data-ix="hide-password"></div>
                              </div>
                              <div class="icon-field mb-1"></div>
                           </div>
                           <div class="eng-text-field mb-1">
                              <input type="text" class="input mask-phone w-input" maxlength="15" name="telefone" id="telefone" placeholder="Whatsapp" signup-phone=""  required="">
                              <div class="icon-field brand"></div>
                           </div>
                           <div class="eng-text-field mb-1">
                              <input type="text" class="input w-input" signup-referral-code="" maxlength="256" name="afiliado" id="afiliado" data-name="" placeholder="Afiliado (opcional)" value="<?php echo $partner; ?>" id="field-6">
                              <div class="icon-field"></div>
                           </div>
                           <button type="submit" class="btn-login btn-color-1 full w-inline-block mt-2">Cadastrar</button>
                           <div class="eng-redirects-windows align-center">
                              <div class="small-text">Ao clicar no botão Criar conta, você aceita nossos <a href="<?= base_url(); ?>welcome/terms">termos de uso</a> e <a href="<?= base_url(); ?>welcome/terms">política de privacidade</a>.</div>
                           </div>
                        </form>
                     </div>
                  </div>
                  <div fs-scrolldisable-element="enable" class="eng-close-windows" data-dismiss="modal">
                     <div class="content-btn">
                        <div class="icon-16"></div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>

<!-- Modal pagamento code -->
<div class="modal fade" id="resetPassModal" tabindex="-1" role="dialog" aria-labelledby="resetPassModalLabel" aria-hidden="true">
   <div class="modal-dialog modal-dialog-centered" role="document">
      <div class="modal-content">
         <div class="window-register" style="transform-style: preserve-3d; transition: transform 200ms ease 0s, opacity 200ms ease 0s; opacity: 1; transform: translateX(0px) translateY(0px) translateZ(0px); display: block;">
            <div class="align-center-windows">
               <div class="card windows">
                  <form id="wf-form-filter-search" name="wf-form-filter-search" action="<?= base_url(); ?>usuarios/resetarsenha" method="post" aria-label="filter-search">
                  <div class="card windows">
                        <h3 class="white">Esqueci a minha senha</h3>
                        <div class="gray mb-24">Vamos redefinir sua senha!</div>
                        <div class="form w-form">
                              <div class="eng-text-field">
                                 <input type="email" class="input w-input" maxlength="256" name="email" data-name="email" placeholder="Inisira seu e-mail" forgot-password-email="" id="field-16" required="">
                                 <div class="icon-field"></div>
                              </div>
                              <div class="eng-text-field mb-1 mt-2">
                              <input type="text" class="input mask-cpf w-input" maxlength="14" name="cpf" id="cpf" signup-document="" placeholder="Digite seu CPF" required="">
                              <div class="icon-field"></div>
                           </div>
                              <button type="submit" class="btn-login btn-color-1 full w-inline-block mt-2">Continuar</button>
                        </div>
                        <div fs-scrolldisable-element="enable" class="eng-close-windows"  data-dismiss="modal">
                           <div class="content-btn">
                              <div class="icon-16"></div>
                           </div>
                        </div>
                     </div>
                  </form>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>