{% if is_granted('ROLE_CLIENT') %}
<div class="main-register-wrap modal">
<div class="reg-overlay"></div>
<div class="main-register-holder">
<div class="card-payment-recap main-register fl-wrap">
<div class="close-reg color-bg"><i class="fal fa-times"></i></div>
<div id="tabs-container">
<div class="tab">
<div id="tab-1" class="tab-content">
<h2 class="brand-text text-center my-1">
<span class="title-rechargement-recap"> Rechargement </span>
<span class="title-credit-recap">Crédit</span>
</h2>
<p class="fw-bold">Solde actuel : <span id="solde-actuel" class="text-theme-orange">{{ app.user.creditBalance | number_format(2, ',', ' ') }}</span><span class="text-theme-orange"> crédit(s)</span></p>
<form name="sg_credit_reload" method="post" id="paymentFormRecap">
<div class="row">
<div class="col-md-12 col-12">
<div class="amount">
<label for="sg_credit_reload_amount" class="required">1 crédit = 1 euros</label>
<input type="text" id="sg_credit_reload_amount" name="sg_credit_reload[amount]" required="required" placeholder="___€" step="0.01" autocomplete="off">
</div>
</div>
<div class="col-md-12 col-12 mt-2">
<p>Votre nouveau solde après paiement : <span id="new-balance" class="text-theme-orange fw-bold">xx</span><span class="text-theme-orange fw-bold"> crédits</span></p>
</div>
</div>
<div id="sg_credit_reload">
<div class="row">
<div class="col-md-12 col-12">
<div class="fw-bold" style="color:black">
Payez en ligne <i class="fal fa-regular fa-shield-check fw-bold float-right payment-shield-check"></i>
</div>
</div>
<div class="col-md-12 col-12 icons mb-2">
<img src="/front/images/stripe/mastercard.svg" alt="MasterCard" title="MasterCard" class="card-logo" width="40" height="auto">
<img src="/front/images/stripe/visa.svg" alt="Visa" title="Visa" class="card-logo" width="40" height="auto">
<img src="/front/images/stripe/amex.svg" alt="American Express" title="American Express" class="card-logo" width="40" height="auto">
<img src="/front/images/stripe/discover.svg" alt="Discover" title="Discover" class="card-logo" width="40" height="auto">
<img src="/front/images/stripe/diners.svg" alt="Diners Club" title="Diners Club" class="card-logo" width="40" height="auto">
<img src="/front/images/stripe/jcb.svg" alt="JCB" title="JCB" class="card-logo" width="40" height="auto">
</div>
<div class="col-md-12 col-12">
<div id="errors"></div>
</div>
<div class="col-md-12 col-12 mb-2">
<label for="sg_credit_reload_card_holder_name" class="required">Nom sur la carte</label>
<input type="text" id="sg_credit_reload_card_holder_name" name="sg_credit_reload[card_holder_name]" required="required" placeholder="Nom">
</div>
<div class="col-md-12 col-12 mb-2">
<label for="sg_credit_reload_card_number" class="required">N<span style="vertical-align: super; font-size: smaller;">o</span> de carte</label>
<div id="sg_credit_reload_card_errors"></div>
<div id="sg_credit_reload_card_number"></div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-12">
<div id="sg_credit_reload_expiry_errors"></div>
<div id="sg_credit_reload_cvv_errors"></div>
</div>
<div class="col-md-6 col-12 mb-2">
<label for="sg_credit_reload_expiry" class="required">Date d'expiration</label>
<div id="sg_credit_reload_expiry"></div>
</div>
<div class="col-md-6 col-12 mb-2">
<label for="sg_credit_reload_cvv" class="required">Cryptogramme visuel</label>
<div id="sg_credit_reload_cvv"></div>
</div>
</div>
<div class="row">
<div class="col-md-12 col-12 mt-3">
<button id="card-button" type="submit">
<i class="fal fa-lock fw-bold"></i> Payer
</button>
</div>
</div>
</div>
<input type="hidden" id="sg_credit_reload__token" name="sg_credit_reload[_token]" value="59a9088fa4660e398405fc22a10cf._IfK72SPBFjxnOrllYqgCviUPfHvpfMlmlbeP-6-C80.hLOe1yPcdxOj0dux-viNf4HaSZae7b1Syjy5UabkM4i_7aSNPuhcIr7duw"></form>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
<div class="map-modal-wrap">
<div class="map-modal-wrap-overlay"></div>
<div class="map-modal-item">
<div class="map-modal-container fl-wrap">
<div class="map-modal fl-wrap">
<div id="singleMap" data-latitude="40.7" data-longitude="-73.1"></div>
</div>
<h3><i class="fal fa-location-arrow"></i><a href="#">Hotel Title</a></h3>
<input id="pac-input" class="controls fl-wrap controls-mapwn" type="text" placeholder="What Nearby ? Bar , Gym , Restaurant ">
<div class="map-modal-close"><i class="fal fa-times"></i></div>
</div>
</div>
</div>