.password-container {
  position: relative;
  width: 100%;
}

.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.password-see {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.password-see img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
}

.password-input input {
  padding-right: 40px;
}

.password-input {
  position: relative;
}

.password-popup {
  display: none;
  position: absolute;
  background-color: #333;
  color: white;
  padding: 15px;
  border-radius: 8px;
  width: 250px;
  top: 50%;
  left: calc(100% + 20px);
  transform: translateY(-50%);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.password-popup::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
}

/* Animation pour l'apparition/disparition */
.password-popup.show {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-10px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media screen and (max-width: 768px) {
  .disabledOnMobile {
    display: none !important;
  }

  .informationPassword {
    text-align: center;
    width: 100%;
    max-width: fit-content;
    background-color: #333;
    display: flex;
    margin-top: 15px;
    flex-direction: column;
    border-radius: 8px;
    padding: 10px 20px;
  }

  .informationPassword p {
    margin-top: 7px !important;
    margin-bottom: 5px;
  }
}
