/*============================================================*/
/* Boutons Face Tag XMP */
#facetag_show_xmp {
  display: inline-flex;
  align-items: center;
  background: none;              /* plus de fond vert sur tout le bouton */
  color: #ffffff;
  padding: 5px;
  border-radius: 1px;
  text-decoration: none;
 /* border: 1px solid #555555; */
  cursor: pointer;
  transition: all 0.3s ease;
}

#facetag_show_xmp:hover {
  background-color: #555555;
  border-color: #777777;
}

/* Fond vert uniquement sur l’icône */
#facetag_show_xmp img {
  background-color: #dd1717;
  border-radius: 3px;
  width: 22px;
  height: 22px;
  padding: 2px;                  /* crée un petit carré */
  vertical-align: middle;
  margin-right: 5px;
}

/* ==================================================================*/
/* Boutons Face Tag FACE */
#facetag_show_faces {
  display: inline-flex;
  align-items: center;
  background: none;              /* plus de fond vert sur tout le bouton */
  color: #ffffff;
  padding: 5px;
  border-radius: 1px;
  text-decoration: none;
 /* border: 1px solid #555555; */
  cursor: pointer;
  transition: all 0.3s ease;
}

#facetag_show_faces:hover {
  background-color: #555555;
  border-color: #777777;
}

/* Fond vert uniquement sur l’icône */
#facetag_show_faces img {
  background-color: #3e5c9c;
  border-radius: 3px;
  width: 22px;
  height: 22px;
  padding: 2px;                  /* crée un petit carré vert */
  vertical-align: middle;
  margin-right: 5px;
}


/* État ACTIF du bouton */
#facetag_show_faces.facetag-active {
  background-color: transparent !important; 
  color: white !important;
  /*border-color: #45a049 !important; */
  /*box-shadow: 0 0 10px rgba(76, 175, 80, 0.5) !important;*/
}

/* Icône en état actif (vert plus clair) */
#facetag_show_faces.facetag-active img {
  background-color: #66bb6a !important;
}

/* Overlays des visages */
.facetag-overlay {
  position: absolute;
  border: 3px solid #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  pointer-events: none;
  z-index: 1000;
  box-sizing: border-box;
  opacity: 100% ;
}



.facetag-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  margin-top: 2px;
 }
*/

 #facetag_show_faces.facetag-active {
  background-color: #4CAF50 !important;
  color: white !important;
  border-color: #45a049 !important;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5) !important;
  
}