/* views/css/styles.css */
.multi-step-registration {

}

.msr-step {
    display: none;
}

.msr-step.active {
    display: block!important;
}

.msr-step h2 {
    margin-bottom: 20px;
}

.msr-step label {
    display: block;
    margin-bottom: 5px;
}

.msr-step input[type="text"],
.msr-step input[type="email"],
.msr-step input[type="password"],
.msr-step input[type="date"],
.msr-step input[type="url"],
.msr-step select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.btn-next,
.btn-submit {
    padding: 10px 20px;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.btn-next:hover,
.btn-submit:hover {
    background-color: #0056b3;
}

.invalid {
    border-color: red;
}

.alert {
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.form-group-onboarding {
    margin-bottom: 15px;
}

.form-check {
    margin-bottom: 10px;
}


.clubs .club {
    display: flex;
    align-self: stretch;
    flex-direction: column;
    justify-content: center !important;
    text-align: center;
    justify-content: stretch;
    border-radius: 10px;
    padding: 10px 15px!important;
    border: 1px solid #ab3f3a;
    width: 150px;
    cursor: pointer;
  }
  .clubs {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none !important;
    padding: 0px !important;
  }

  
.popup, .popupPorsche {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    padding: 25px;
    border-radius: 0.93338rem;
  border: 2px solid #DBDBDB;
  z-index: 999999;
  box-shadow: 0px 3.982px 14.934px 0px rgba(0, 0, 0, 0.10);
  opacity: 1;
  }
  
  @media screen and (max-width: 768px) {
    .popup, .popupPorsche {
      width: 80%;
    }
    
  }
  
  .btn-add-club {
    background: black;
    color: white;
    border: none;
    display: block;
    width: 100%;
    padding: 10px 10px;
    border-radius: 25px;
    font-family: "Barlow";
    font-weight: bold;
    cursor: pointer;
     border: 2px solid black;
  }
  
  .btn-add-club:hover {
      background: white;
    color: black;
    border: 2px solid black;
  }
  .btn-cancel {
    text-align: center;
    margin: 0 auto;
    display: block;
    background: transparent;
    border: none;
    margin-top: 10px;
    color: #A7A7A7;
    cursor: pointer;
  }
  #club_code {
    border-radius: 10px;
    border: 2px solid #DBDBDB;
  }
  .add_club.popup label, .popupPorsche label {
    font-family: "Barlow";
    margin-bottom: 15px;
  }
  .btn-cancel:hover {
    opacity: 0.6;
  }

  .hideLogia {
    opacity: 0;
    pointer-events: none;
    user-select: none;
  }


#multi-step-registration {
  position: fixed;
  inset: 0px !important;
  z-index: 999999;
  margin: 0px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
}


body.showOnboarding #multi-step-registration{
    opacity: 1!important;
    pointer-events: auto!important;
}

.backdrop, .backdropPorsche  {
    position: fixed;
    inset: 0px;
    background-color: #00000070;
    z-index: 999998;
    backdrop-filter: blur(3px);
  }

  
.club img {
    pointer-events: none;
  }

  .add_club.popup img ,  .popupPorsche img  {
    width: 100%;
    height:200px;
    width: 415px;
    object-fit: contain;
    padding:20px;
     border: 2px solid #DBDBDB;
    border-radius:10px;
    margin-bottom:20px;
  }
  .add_club.popup label,   .popupPorsche label {
    text-align: left;
  }

  
#multi-step-registration {
  background-color: white;
   display: flex;
  flex-direction: column;
}
#msr-form {
  margin: auto 0;
  overflow-y: auto;

}

.font-manuscrite {
  font-family: "Kentya";
  color: var(--color-action);
  
}

.msr-step.active {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.msr-step h2 {
  text-align: center;
}
.font-manuscrite {
  display: block!important;
  text-align: center;
}

.formButtons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.formButtons button {
  border-radius: 5000px;
   background-color: #efefef;
  color: black;
  
}
.formButtons button:hover {

   background-color: black;
  color: white;
  
}

.form-input label {
  text-align: left;
}

.formActionsButtons {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 30px !important;
}
.formActionsButtons button {
  border-radius: 5000px;
   background-color: #efefef;
  color: black;
  border: none;
  cursor: pointer;
  padding:10px 20px;
}
  
.formActionsButtons button:hover {

   background-color: black;
  color: white;
  


}
.formActionsButtons button.btn-next {
    background-color: black;
  color: white;
  
}
.formActionsButtons button.btn-next:hover {
      opacity: 0.7;
}

.form-seperator {
  width: 100px;
  height: 6px;
  background-color: var(--color-action) !important;
  border: none;
  border-radius: 10px;
  margin-bottom: 30px !important;
  display: block !important;
}

.own-club.parent .remove {
  display: none !important;
}

.club_selection_form {
  display: flex;
}
.main_selection_form {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 80%;
}
.form-group-onboarding.clubs {
  max-height: 50vh;
  overflow: scroll;
  border-radius: 40px;
  position: relative;
  padding-bottom: 50px!important;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
 
}

.club-container {
   position: relative;
    overflow: hidden;
}
.club-container:after {
    content: "";
  position: absolute !important;
  bottom: 0px;
  width: 100%;
  height: 100px;
  background-image: linear-gradient(
    to bottom,
    hsla(0, 0%, 100%, 0) 0%,
    hsla(0, 0%, 100%, 0.013) 8.1%,
    hsla(0, 0%, 100%, 0.049) 15.5%,
    hsla(0, 0%, 100%, 0.104) 22.5%,
    hsla(0, 0%, 100%, 0.175) 29%,
    hsla(0, 0%, 100%, 0.259) 35.3%,
    hsla(0, 0%, 100%, 0.352) 41.2%,
    hsla(0, 0%, 100%, 0.45) 47.1%,
    hsla(0, 0%, 100%, 0.55) 52.9%,
    hsla(0, 0%, 100%, 0.648) 58.8%,
    hsla(0, 0%, 100%, 0.741) 64.7%,
    hsla(0, 0%, 100%, 0.825) 71%,
    hsla(0, 0%, 100%, 0.896) 77.5%,
    hsla(0, 0%, 100%, 0.951) 84.5%,
    hsla(0, 0%, 100%, 0.987) 91.9%,
    hsl(0, 0%, 100%) 100%
  );
  left:0px;
  
}

.club img {
  height: 150px!important;
  object-fit: contain;
}




.alert:empty {
  display: none;
}

.own-clubs .own-club {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
    border-radius: 10px;
  padding: 10px 15px!important;
  border: 1px solid #ab3f3a;
  cursor: pointer;

  justify-content: center;
  position: relative;
}
.own-club img{
  height: 100px;
  width: 100%;
  object-position: center;
 object-fit: contain;


  
}

#multi-step-registration .remove {
  background-color: white;
}
.main_selection_form .club[data-customer-has-access] {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.main_selection_form .club[data-customer-has-access]::after {
  content: "Membre du club";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.btn-submit.custom-btn-add-clubs {
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: bold;
}

[data-link-action="display-register-form"] {
  color: var(--color-action) !important;
  cursor: pointer;
}

.own-clubs .own-club.template {
  display: none;
}

.form-group-onboarding.own-clubs.has-clubs .no-club {
  display: none!important;
}
.vos_clubs {
  width: 20%;
}
.form-group-onboarding.own-clubs.has-clubs {
  display: flex;
  flex-direction: column;

  gap: 10px;
}
.vos_clubs label {
  text-align: center;
}
.own-club {
  cursor:    default;
}
.club_name {
  display: block !important;
  text-align: c;
}
#multi-step-registration .remove {
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  display: flex;
  align-items: center;
  font-size:12px;
  cursor: pointer;
  border-radius: 10px;
  padding: 1px 10px;
  position: absolute;
  top: 8px;
  
  right: 10px;
}
#multi-step-registration .remove::before {
  content:"Supprimer le club";
  margin-right: 5px;
  
}


.no-club {
  text-align: center;
}


.own-club img:not([src]) {

  display: none;
}


.own-club img:not([src]) + .club_name{

padding-top: 30px; 
}


#multi-step-registration .close {
  position: absolute;
  right: 40px;
  top: 10px;
  font-size: 100px;
}


.msr-step-0 .formButtons a {
  background-color: #efefef;
  border-radius: 5000px;
  background-color: #efefef;
  color: black;
padding: 10px 20px;
}

.msr-step-0 .formButtons a:hover {
  background-color: black;
  color: white;

}

.form-input input,.form-input select, #club_search  {
  border-radius: 3.125rem;
  border: 1px solid #DBDBDB;
  background: #F9FAFB;
  padding: 10px 20px !important;
}
.form-input label {
 color: var(--C2AD98, #C2AD98);
font-family: Barlow;
font-size: 0.9rem;
font-style: normal;
font-weight: 600;
line-height: normal;
  padding-bottom: 10px;
}

.form-input  input:focus::placeholder {
  color:transparent;
}
.form-input  input:focus-visible {
  outline: solid 2px var(--color-action) !important;
}



.form-input.numero-de-telephone::after {
  content: "Restez informé de votre livraison en temps réel par SMS.";
  position: absolute;
  width: 100%;
  left: 0px;
  text-align: center;
  bottom: 8px;
  transform: translateY(100%);
  font-size: 0.8rem;
  line-height: 0.8rem;
  font-style: italic;
  opacity: 0;
  transition:opacity 400ms ease;
}
.form-input.numero-de-telephone {
  position: relative;
}


.form-input.numero-de-telephone:hover::after {
  opacity: 0.7;
}
@media all and (max-width: 767px){  
    .form-input.numero-de-telephone::after {
  text-align: left;
        font-size: 0.7rem;
  line-height: 0.7rem;
}

}

#club_search:focus-visible {
  outline: solid 2px var(--color-action) !important;
}

input.invalid, select.invalid {
  outline: solid 2px #00000070 !important;
}

.customBtnOption [type="checkbox"].invalid + .btnOption {
  outline: solid 2px #772c28 !important;
}

input.hidden {
  display: none;
}

.msr-step .font-manuscrite {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}



.pac-container {
  z-index: 99999999;
}

.flex-column {

  flex-direction: column;
 
}


.fakeInputGroup label {
  color: var(--C2AD98, #C2AD98);
  font-family: Barlow;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding-bottom: 10px;
}

.fakeInputGroup p {
 border-radius: 3.125rem;
  border: 1px solid #DBDBDB;
  background: #F9FAFB;
  padding: 10px 20px !important;
}


.recap-container {
  display: flex;
  width: 70%;
}
.main-recap-container {
  width: 70%;
}
.other-informations {
  width: 30%;
}

.main-recap-container .form-group-onboarding{
  
  text-align: left;
}
.main-recap-container  .font-manuscrite {
  text-align: left;
  
}

.main-recap-container  .formButtons {
  justify-content: flex-start;
  
}


.fakeInputGroup label {
  text-align: left;
}
.fakeInputGroup p {
  min-width: 150px;
}
.other-informations {
}
#fakeUserType {
  text-align: center;
}


.logged-in .msr-step-5-club .btn-next, .logged-in .msr-step-5-club .btn-prev{
  display: none;

}

.club_selection_form {
  width: 100%;
  gap: 15px;
}
.loading-submit .msr-step {
  opacity: 0.7;
  pointer-events: none;
}

.popupPorsche  p{
 text-align: center;
}

.popupPorsche a {
  margin-top: 30px !important;
  display: block;
  display: flex;
  justify-content: center;
}

.popupPorsche a {
    background: black;
    color: white!important;
    border: none;
    padding: 10px 10px;
    border-radius: 25px;
    font-family: "Barlow";
    font-weight: bold;
    text-align: center;
    cursor: pointer;
     border: 2px solid black;
  }
  
.popupPorsche a:hover {
      background: white;
    color: black!important;
    border: 2px solid black;
  }

.popupPorsche img {
  width: 100%;
}


.not-logged .msr-step-5-club 
.btn-submit {
  display: none;
}



.main_selection_form 
.form-group-onboarding.clubs 
.club.active {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}


.main_selection_form 
.form-group-onboarding.clubs 
.club.active::after {
 content:"Ajouté";
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  padding:10px;
  background-color:white;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  
  
}
.showOnboarding.shop-5 {
  overflow: hidden!important;
}


#msr-form {
  padding: 80px 0px;
}

input#club_search {
 width: 100%;
 margin-bottom: 40px!important;
}


.recap-container {
 flex-direction: column;
}

.recap-container .formButtons .form-group-onboarding {
 flex: 1!important;
}

.main-recap-container {
 width: 100%;
}

.other-informations .font-manuscrite {
 text-align: left;
}

.other-informations .formButtons {
 justify-content: flex-start;
}


.msr-step-4 .formButtons {
   width: 50%
    
}

.msr-step-4 .formButtons .form-input {
    flex: 1;
}

 .clubs .club {
     border-color: var(--border-color)!important;
 }


@media all and (max-width: 1024px) {
 
 #msr-form {
     padding: 120px 50px 50px 50px;
 }
 
 .formButtons {
     flex-direction: column-reverse;
     width: 100%;
 }

  input#club_search {
     width: 100%;
 } 

   .club_selection_form {
     flex-direction: column;
 }
 
  .club-container {
     padding-top: 40px;
     overflow: visible!important;
 }

 .form-group-onboarding.clubs {
     /* overflow: visible!important */
 }

 .clubs .club {
     border-color: var(--border-color)!important;
 }
 
 .main_selection_form {
     width: 100%!important;
 }

 .vos_clubs {
     order: -1;
     width: 100%;
     margin-bottom: 30px;
 }

 .recap-container {
     flex-direction: column;
     width: 100%;
 }

 .main-recap-container {
     width: 100%!important;
 }

 .formButtons {
     flex-direction: column;
     width: 100%;
 }

 .other-informations {
     width: 100%
 }

  .formButtons a {
     text-align: center;
 }
}


@media all and (max-width: 767px) {
 
 #msr-form {
     padding: 120px 20px 50px 20px;
 }

 .form-input {
     width: 100%!important;
 }

 .club_selection_form {
     flex-direction: column-reverse;
 }

 input#club_search {
     width: 100%;
 } 

 .club-container {
     padding-top: 40px;
     overflow: visible!important;
 }

 .form-group-onboarding.clubs {
     /* overflow: visible!important */
 }

 .clubs .club {
     border-color: var(--border-color)!important;
 }
 
 .main_selection_form {
     width: 100%!important;
 }

 .vos_clubs {
     order: -1;
     width: 100%;
     margin-bottom: 30px;
 }

 .recap-container {
     flex-direction: column;
     width: 100%;
 }

 .main-recap-container {
     width: 100%;
 }

 .formButtons {
     flex-direction: column;
     width: 100%!important;
 }

 .other-informations {
     width: 100%
 }  
}


.password-input {
  display: flex;
}
.show-password {
  border-radius: 0px !important;
  cursor: pointer;
  color:white!important;
  border:none;
  font-size: 0.9rem;
  padding-right: 10px;
   padding-left: 10px;
  background-color: var(--color-action) !important;
  border-radius: 0px var(--border-radius-s) var(--border-radius-s) 0px!important;
}
.password-input #password {
  margin-bottom: 0px;
  border-top-right-radius: 0Px!important;
  border-bottom-right-radius: 0px!important;
}


.customBtnOption [type="checkbox"]:checked + .btnOption {
  background-color: black !important;
  color: white;
  
  
}

.customBtnOption [type="checkbox"]:checked + .btnOption::after {
content:"";
  width: 15px;
  height:15px;
  display: inline-block !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-left:10px;
  filter:brightness(5);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="11" viewBox="0 0 15 11" fill="none"><path d="M14.6953 0.796875C15.1016 1.17188 15.1016 1.82812 14.6953 2.20312L6.69531 10.2031C6.32031 10.6094 5.66406 10.6094 5.28906 10.2031L1.28906 6.20312C0.882812 5.82812 0.882812 5.17188 1.28906 4.79688C1.66406 4.39062 2.32031 4.39062 2.69531 4.79688L5.97656 8.07812L13.2891 0.796875C13.6641 0.390625 14.3203 0.390625 14.6953 0.796875Z" fill="%23A7A7A7"/></svg>');
}
.btnOption {
  display: flex;
  align-items: center;
   padding: 0.875rem 1.25rem;
  cursor: pointer;
  background-color: #EFEFEF;
  border-radius: var(--border-radius-s);
}


.smalltext {
  font-size: 1rem;
  text-align: center;
  margin-top: 40px;
}


.customBtnOption [type="checkbox"][required] + .btnOption:before {
  content:"*";
  color:red;
}

#lastname {
  text-transform: uppercase;
}

#fakeLastname {
  text-transform: uppercase;
}
#lastname::placeholder {
  text-transform: none;
}
#firstname {
  text-transform:capitalize;
}


#fakeFirstname {
  text-transform:capitalize;
}
#firstname::placeholder {
  text-transform: none;
}

.msr-step.msr-step-1 .btn-prev {
  background-color: transparent!important;
  color: #000000de;

}

.msr-step.msr-step-1 .btn-prev:hover {
  background-color: transparent!important;
       color:#000000a3;
}


.form-group-onboarding.own-clubs.has-clubs {
  max-height: 60vh;
  overflow: auto;
}