.blue-bg {
  background-color: #e3f2fd;
}

.image-box {
  width: 600px;
  height: 400px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  /* Ajouté */
}

.image-box img {
  width: 100%;
  height: 100%;
  background-color: black;
  object-fit: contain;
  /* l’image s’adapte au max, garde ses proportions */
}

.image-box:hover .photo-caption {
  opacity: 1;
  /* visible au hover */
}

.photo-caption {
  position: absolute;
  /* Ajouté */
  left: 0;
  bottom: 10%;
  /* Ajouté */
  width: 100%;
  /* Prend toute la largeur */
  box-sizing: border-box;
  opacity: 0;
  /* Toujours visible */
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
  /* Optionnel, pour lisibilité */
  color: #fff;
  /* Optionnel, texte blanc */
  padding: 10px;
}

#page-wrapper {
  height: 100vh;
  /* pleine hauteur */
  display: flex;
  justify-content: flex-start;
  /* ne centre pas verticalement*/
  align-items: center;
  /* centre horizontalement */
  flex-direction: column;
  /* empile verticalement les enfants */
}

.col-perso {
  padding: 1rem;
  /* p-3 */
  background-color: #f8f9fa;
  /* bg-light */
  border: 1px solid #dee2e6;
  /* border */
  font-size: 30px;
}

.profile-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Classe générale pour toutes les icônes de menu */
.menu-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.modal-content {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}
#successModal .modal-content {
  border-left: 5px solid #2980b9; /* bleu */
}
#errorModal .modal-content {
  border-left: 5px solid #dc3545; /* rouge */
}
