/**
* 2007-2022 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2022 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
#customer-form .row_parent_account,
#customer-form .row_sub_account,
#customer-form .row_parent_mail {
  width: 100%;
}

#customer-form .row_parent_account {
  border-top: 1px solid #e8e8e8;
  margin-top: 20px;
}

.add-new-sub-account .add {
  width: fit-content;
  margin: 30px auto 30px;
  background: #1f3c64;
  color: #fff;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
  border-color: transparent;
}

.add-new-sub-account {
  text-align: center;
}

#add-new-sub-account-modal .modal-header #myModalLabel {
  font-size: 20px;
  font-family: 'Poppins-Bold';
  color: #1F3C64;
}

.search-mail-account {
  text-align: center;
}

.search-mail-account label {
  position: relative;
  margin-bottom: 0;
}

.search-mail-account label i {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translate(0, -50%);
  color: #1F3C64;
}

.search-mail-account #mail_sub_account {
  border-radius: 50px;
  border-width: 1px;
  padding: 5px 10px;
  margin-left: 5px;
  min-width: 250px;
}

#add-new-sub-account-modal .modal-dialog,
#success-new-sub-account-modal .modal-dialog {
  top: 50%;
  transform: translate(0, -50%);
}

#add-new-sub-account-modal .modal-dialog .modal-content {
  border-radius: 10px;
  border: none;
}

#add-new-sub-account-modal button.close,
#success-new-sub-account-modal .modal-header button.close {
  background: #06B784;
  padding: 2px 5px;
  border-radius: 50%;
  font-size: 14px;
}

.search-mail-account .fa-check {
  color: #06B77D;
  font-size: 20px;
}

#success-new-sub-account-modal .modal-header {
  text-align: center;
}

#success-new-sub-account-modal .fa-check-circle-o {
  font-size: 50px;
  color: #0bb77d;
}

.search-mail-account .alert {
  width: fit-content;
  margin: 15px auto 0;
  padding: 12px 25px 12px 50px;
}

.search-mail-account .customer-block {
  color: #000;
  padding-top: 15px;
}

.search-mail-account .customer-block p {
  margin: 0;
}

#success-new-sub-account-modal p {
  color: #1f3c64;
  font-size: 20px;
  font-family: 'Poppins-Bold';
}

#sub-account-lists {
  text-align: right;
}

#sub-account-lists select#list {
  padding: 5px 5px;
  text-align: center;
  border-radius: 5px;
}

.fake-btn-firma.hidden,
#add-sub-account-form .row_sub_account,
#add-sub-account-form .row_parent_mail,
#add-sub-account-form .row_siret,
#add-sub-account-form .row_company {
  display: none;
}

/* .business-customer.de-active,
#thecheckout-address-invoice form.address-fields.de-active {
  height: 0;
  overflow: hidden;
  padding: 0;
} */

.sub-account-info {
  text-align: center;
  color: #000;
}

.advice-subaccount {
  margin-bottom: 35px;
}

.advice-subaccount p {
  color: #000;
  text-align: center;
}

.fake-button-sub-account-form {
  text-align: center;
}

.fake-button-sub-account-form .form-control-submit {
  border-radius: 50px;
  font-size: 20px;
  padding: 16px 40px;
  background-color: #00b682;
  border: none;
}

#add-sub-account-form button.form-control-submit,
#add_address_sub_account form button {
  display: none !important;
}

/* 
#add_address_sub_account form .form-group.hidden {
  display: none;
} */

#loading-order {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: rgba(220, 220, 220, 0.5);
  ;
}

#loading-order.svg {
  width: 100px;
  height: 100px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 99999;
}

#add_address_sub_account h2 {
  font-size: 20px;
  color: #1f3c64;
}

#module-vsi_sub_account-subaccount #add_address_sub_account .row_alias,
#module-vsi_sub_account-subaccount #add_address_sub_account .row_address2,
#module-vsi_sub_account-subaccount #add_address_sub_account .row_vat_number {
  display: none;
}

.new-myaccount .row_parent_account,
.new-myaccount .row_sub_account {
  display: none !important;
}

form#parent-account-add {
  text-align: center;
}

#parent-account-add input#mark_parent {
  margin-right: 5px;
}

#parent-account-add button {
  margin-top: 15px;
}

#module-vsi_sub_account-subaccount .page-addresses .address-footer a {
  width: 100%;
}

#module-vsi_sub_account-subaccount .page-addresses {
  margin-top: 30px;
}

#add-sub-account-form #customer-form .form-group.row_password button {
    text-transform: capitalize;
        border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    right: 0;
}