/*********** POPUP ***********/
.popup {
  position: fixed !important;
  background-color: white;
  box-shadow: 6px 6px 18px 0px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 12;
  scrollbar-width: thin;
  scrollbar-color: var(--bleu-50);
  max-height: 82%;
  overflow-y: scroll;
}

.popup.message {
  bottom: 2%;
  right: -4%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s ease-in-out;
  padding: 18px 22px;
  background-color: #3bab6f;
  color: white;
  z-index: 14;
}

.popup.message-erreur {
  bottom: 2%;
  right: -4%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s ease-in-out;
  padding: 18px 22px;
  background-color: red;
  color: white;
}

.popup.message.transition {
  opacity: 1;
  transition: all 0.4s ease-in-out;
}

.popup.message p {
  margin: 0px;
}

#popup_message_suppression {
  z-index: 13 !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
}

#popup_message_suppression .boutons {
  display: flex;
  gap: 25px;
  margin-top: 20px;
}

#popup_message_suppression p {
  margin-top: 0px;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 16px;
}

#popup {
  top: 0%;
  right: 0%;
  transform: translate(-8%, 4%) !important;
  width: 68%;
  padding: 38px;
}

.popup #croix {
  position: absolute;
  right: 3px;
  top: 4px;
  background-color: white;
  padding: 10px;
  border-radius: 99px;
  width: 20px;
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
}

.popup #croix:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
  -webkit-transition: transform 0.4s cubic-bezier(0.23, 1.83, 0.42, 1.19);
}

#popup_message #croix {
  background-color: transparent;
  width: 16px;
  top: -4px;
  right: -4px;
}