@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

#greenleaze-error {
  font-style: italic;
}
.display-none {
  display: none;
}
.advantage-greenleazes-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgba(208, 230, 229, 0.15);
  border-radius: 30px;
  padding: 20px;
}
.advantage-greenleaze {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.advantage-greenleaze-illustration {
  background-color: hsl(155, 73%, 20%);
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-abonnement {
  align-items: center;
  appearance: none;
  background-color: #0d5537;
  border-radius: 24px;
  border-style: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  fill: currentcolor;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.25px;
  line-height: normal;
  max-width: 100%;
  overflow: visible;
  padding: 17px 20px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform, opacity;
  z-index: 0;
}
button.button-abonnement::before {
  background-color: #0d5537;
  background: #0d5537;
}
button.button-abonnement:hover:before {
  background-color: #0d5537 !important;
  background: #0d5537 !important;
}

.ml-007 {
  margin-left: 0.7em;
}

.ml-5 {
  margin-left: 5em;
}

.mt-2 {
  margin-top: 2em;
}

.mt-3 {
  margin-top: 3.5em;
}

.left-greenleaze {
  width: 50%;
}

.right-greenleaze {
  display: flex;
  width: 50%;
  gap: 10px;

  flex-direction: column;
  justify-content: space-between;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttonOrder {
  border-radius: 10px;
  background: #0d5537;
  font-size: 23px;
  letter-spacing: 1px;
  color: white;
  border: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  position: relative;
}

.modal-greenleaze {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  padding: 20px; /* Ajout d'un padding pour Ã©viter que le contenu touche les bords */
}

.modal-content-abonnement-greenleaze {
  background-color: #fff; /* White background */
  margin: 5vh auto; /* 10% from the top and centered */
  padding: 20px; /* Padding inside the modal box */
  border: 1px solid #888; /* Gray border */
  width: 900px; /* Adjust based on screen size */
  border-radius: 20px;
  max-height: 90vh; /* Limite la hauteur de la modal Ã  90% de la hauteur de l'Ã©cran */
  overflow-y: auto; /* Ajoute un dÃ©filement si le contenu dÃ©passe la hauteur maximale */
  position: relative; /* Pour le positionnement absolu du bouton de fermeture */
}

.btn-close-modal-greenleaze {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  border: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background-color: transparent;
  outline: none;
}

.btn-close-modal-greenleaze:hover,
.btn-close-modal-greenleaze:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.slider-container-greenleaze {
  width: "100%"; /* Match or exceed the width of the slider */
  text-align: center; /* Center the slider within the container */
}

#monthSlider-greenleaze {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: transparent;
  background-color: #d0e6e5;
  border-radius: 20px;
  outline: none;
  transition: opacity 0.2s;
  padding: 0;
}

#monthSlider-greenleaze:hover {
  opacity: 1;
}

#monthSlider-greenleaze::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;

  background: #0d5537 url("../images/logo-greenleaze-slider.svg") no-repeat
    center;
  cursor: pointer;
  border-radius: 50%;
  background-size: 60%;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 25px;
}

#monthSlider-greenleaze::-moz-range-greenleaze-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #0d5537 url("../images/logo-greenleaze-slider.svg") no-repeat
    center;
  cursor: pointer;
  border-radius: 50%;
  background-size: 60%;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 25px;
}

#sliderValue {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
}

.slider-labels-greenleaze {
  font-weight: 400;
  font-size: 13px;
  line-height: 15.6px;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.slider-labels-greenleaze span {
  color: #000;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.text-modal-greenleaze {
  display: flex;
}

.abo-title {
  font-size: 23px;
  font-weight: 700;
  line-height: 27.6px;
  text-align: center;
  margin-top: 47px;
}

.title-modal-greenleaze {
  font-size: 23px;
  font-weight: 900;
  line-height: 27.6px;
  text-align: left;
  margin-top: 0;
}

.table-greenleaze {
  font-size: 20px;
  font-weight: 400;
  line-height: 36.2px;
}

.detail {
  font-size: 12px;
  line-height: 14px;
}
.button--loading {
  color: transparent;
}
.button--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

.modal-container-greenleaze {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 1000px) {
  .modal-greenleaze {
    width: 100%;
    padding: 0px;
    margin: 0px;
    heigth: 100vh;
  }
  .modal-abonnement--greenleaze {
    width: 100%;
    heigth: 100vh;
  }
  .modal-content-abonnement-greenleaze {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    margin: 0px;
  }
  .title-modal-greenleaze {
    font-size: 17px;
    text-align: center !important;
  }

  .title-modal-greenleaze {
    margin-top: 10px !important;
    font-size: 20px;
  }

  .table-greenleaze {
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 100 !important;
  }
  .modal-container-greenleaze {
    padding: 0px !important;
    height: 100%;
    margin: 0px;
  }

  .text-modal-greenleaze {
    justify-content: center;
  }

  .left-greenleaze {
    margin: auto !important;
    width: 100% !important;
    max-width: 700px;
  }

  .right-greenleaze {
    width: 100% !important;
    max-width: 700px;
  }
}
.alignement-greenleaze {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.modal-content-abonnement-greenleaze .alignement-greenleaze .lines:first-child,
.modal-content-abonnement-greenleaze
  .alignement-greenleaze
  .lines:first-child
  .detail {
  text-align: left-greenleaze;
}

.modal-content-abonnement-greenleaze .alignement-greenleaze .lines:last-child,
.modal-content-abonnement-greenleaze
  .alignement-greenleaze
  .lines:last-child
  .detail {
  text-align: end;
}
.lines .detail {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.detail {
  font-size: 12px;
  line-height: 14px;
}
