@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body{
  background-color: #F9F9FA;
}

.no-scroll {
  overflow: hidden;
}

a{
    text-decoration: none;
}

input, textarea{
    color: #4C5A6E;
    font-size: 16px;
}

textarea{
  resize: none;
}

input:focus, textarea:focus{
    outline: none;
}

.toast {
    visibility: hidden;
    min-width: 300px;
    background-color: #59B224;
    color: #fff;
    text-align: center;
    border-radius: 15px;
    padding: 15px 35px;
    position: fixed;
    z-index: 99999;
    left: 30%;
    right: 30%;
    bottom: 30px;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
}
  
.toast.show {
    visibility: visible;
    opacity: 1;
}

.loader {
    width: 35px;
    height: 35px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
        z-index: 10000;
        align-items: center;
        justify-content: center;  /* Assure que l'overlay est au-dessus de tout le reste */
      }

      .chat-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
        z-index: 9998;
        display: flex;
        align-items: center;
        justify-content: center; /* Assure que l'overlay est au-dessus de tout le reste */
      }
    
      /* Animation fadeIn */
      .fadeIn {
        animation: fadeInAnimation 0.5s ease forwards;
      }
      
      @keyframes fadeInAnimation {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }
      
      /* Animation fadeOut */
      .fadeOut {
        animation: fadeOutAnimation 0.5s ease forwards;
      }
      
      @keyframes fadeOutAnimation {
        from {
          opacity: 1;
        }
        to {
          opacity: 0;
        }
      }
      
.open-modal{
    cursor: pointer;
}

.popup-container {
  display: none;
}

.hidden {
  display: none;
}

.popup-container.fadeIn {
  display: block;
}

.modal-content form{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}

.modal-content form .form-group{
  margin: 0  2rem;
}

.modal-content form .form-group textarea{
  width: 100%;
  border: 1px solid #DAE5EF;
  border-radius: 20px;
  height: 150px;
  padding: 1rem;
  background-color: #F4F7F9;
  line-height: 24px;
}

.modal-content form .form-group label{
  font-size: 12px;
  margin-bottom: 5px;
  color: #4c5a6f8b;
}

.modal-content form .form-group input{
  width: 100%;
  border: 1px solid #DAE5EF;
  border-radius: 20px;
  height: 54px;
  padding: 1rem;
  background-color: #F4F7F9;
}

.modal-content form .button{
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content form button{
  background-color: #0A58A5;
  color: #fff;
  width: 232px;
  height: 50px;
  border-radius: 20px;
  border: none;
  margin: 2rem  auto;
}

.wait {
  background: #fff;
  height: 500px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.wait .loader {
  width: 60px !important;
  height: 60px !important;
  border: 5px solid #0A58A5;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
  } 

.wait .text{
  color: #4C5A6F;
}

.promotion h1{
  color: #4C5A6F;
  font-size: 16px;
  text-align: center;
}

.promotion .form{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-top: 3rem;
}

.promotion .form input{
  width: 100%;
  border-radius: 20px;
  border: 1px solid #DAE5EF;
  background: #F4F7F9;
  height: 54px;
  padding: 1rem;
  font-size: 16px;
  color: #4C5A6F;
}

.promotion .form button{
  border-radius: 25px;
  background: #0A58A5;
  border: none;
  color: #fff;
  height: 54px;
  width: 126px;
  font-size: 16px;
}

.emails{
  margin-top: 47px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 15px;
  grid-row-gap: 10px;
}

.email{
  border-radius: 30px;
  background: #F4F7F9;
  padding: 15px;
  color: #4C5A6F;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email form{
  margin-top: 0;
}

.email button{
    border: none;
    background: transparent;
}

.email form button {
  background-color: #0A58A5;
  color: #fff;
  width: 30px;
  height: 20px;
  border-radius: 20px;
  border: none;
  margin: 0 auto;
}

.promotion button.submit{
  margin: 2rem auto;
  border-radius: 20px;
  background: #0A58A5;
  width: 254px;
  height: 54px;
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.prom-button{
  border: none !important;
  background: none !important;
}