/* Animation de trois points */



.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: relative;
}

.spinner div {
  position: absolute;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #333;
  animation: spinner 1.4s infinite ease-in-out;
}

.spinner div:nth-child(1) {
  left: 8px;
  animation-delay: -0.32s;
}

.spinner div:nth-child(2) {
  left: 16px;
  animation-delay: -0.16s;
}

.spinner div:nth-child(3) {
  left: 24px;
  animation-delay: 0s;
}

@keyframes spinner {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Animation de chargement */
@keyframes loadingAnimation {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

.loading-animation {
    animation: loadingAnimation 1s infinite;
}

/* Vous pouvez également personnaliser le message de vérification */
#oeuvre_exists_message {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.grayed-out {
    background-color: #f0f0f0;  /* Couleur de fond gris clair */
    color: #a0a0a0;  /* Couleur du texte gris */
    cursor: not-allowed;  /* Change le curseur en 'interdit' */
}
