/* =========================================================
   STYLE COMMUN DES ACTIONS
   Supprimer / Modifier / Ajouter temps / Imprimer / Avoir
   ========================================================= */

table a[href*="/delete"],
table a[href*="/supprimer"],
table a[href*="delete"],
table a[href*="supprimer"],
table a[href*="/edit"],
a.btn-ajouter-temps,
a.print-facture,
a[href*="avoir_sid"] {
  /* Typographie identique */
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  /* Dimensions identiques */
  height: 32px !important;
  min-height: 32px !important;
  box-sizing: border-box !important;

  padding: 0 10px !important;

  /* Structure identique */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;

  white-space: nowrap !important;
  vertical-align: middle !important;

  text-decoration: none !important;

  border-radius: 10px !important;

  /* Changement instantané */
  transition: none !important;

  /* Aucun effet d'ombre ou de déplacement */
  box-shadow: none !important;
  transform: none !important;
}


/* =========================================================
   SUPPRIMER
   ========================================================= */

table a[href*="/delete"],
table a[href*="/supprimer"],
table a[href*="delete"],
table a[href*="supprimer"] {
  color: #d1370e !important;
  background: #fff1ef !important;
  border: 1px solid #d1370e !important;
}


/* Icône Supprimer */
table a[href*="/delete"]::before,
table a[href*="/supprimer"]::before,
table a[href*="delete"]::before,
table a[href*="supprimer"]::before {
  content: "⚠" !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 16px !important;
  height: 16px !important;

  font-size: 14px !important;
  line-height: 16px !important;
  font-weight: 700 !important;

  flex: 0 0 16px !important;
}


/* Survol Supprimer */
table a[href*="/delete"]:hover,
table a[href*="/supprimer"]:hover,
table a[href*="delete"]:hover,
table a[href*="supprimer"]:hover {
  color: #fff !important;
  background: #d1370e !important;
  border-color: #d1370e !important;
}


/* =========================================================
   MODIFIER
   ========================================================= */

table a[href*="/edit"] {
  color: #247547 !important;
  background: #eef8f2 !important;
  border: 1px solid #247547 !important;
}


/* Icône Modifier */
table a[href*="/edit"]::before {
  content: "✎" !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 16px !important;
  height: 16px !important;

  font-size: 15px !important;
  line-height: 16px !important;
  font-weight: 700 !important;

  flex: 0 0 16px !important;
}


/* Survol Modifier */
table a[href*="/edit"]:hover {
  color: #fff !important;
  background: #247547 !important;
  border-color: #247547 !important;
}


/* =========================================================
   AJOUTER TEMPS
   ========================================================= */

a.btn-ajouter-temps {
  color: #806f00 !important;
  background: #fffbea !important;
  border: 1px solid #d8c75a !important;
}


/* Icône Ajouter */
a.btn-ajouter-temps::before {
  content: "+" !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 16px !important;
  height: 16px !important;

  font-size: 16px !important;
  line-height: 16px !important;
  font-weight: 700 !important;

  flex: 0 0 16px !important;
}


/* Survol Ajouter temps */
a.btn-ajouter-temps:hover {
  color: #665900 !important;
  background: #fff8d6 !important;
  border-color: #c7b63f !important;
}


/* =========================================================
   IMPRIMER
   ========================================================= */

a.print-facture {
  color: #356b8f !important;
  background: #eef6fa !important;
  border: 1px solid #8eb5c9 !important;
}


/* Icône Imprimer */
a.print-facture::before {
  content: "⎙" !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 16px !important;
  height: 16px !important;

  font-size: 16px !important;
  line-height: 16px !important;
  font-weight: 700 !important;

  flex: 0 0 16px !important;
}


/* Survol Imprimer */
a.print-facture:hover {
  color: #fff !important;
  background: #4f86a8 !important;
  border-color: #4f86a8 !important;
}


/* =========================================================
   CRÉER UN AVOIR
   ========================================================= */

a[href*="avoir_sid"] {
  color: #28527a !important;
  background: #eef3f8 !important;
  border: 1px solid #8fa9c0 !important;
}


/*
 * Lien "Créer un avoir" possède déjà son icône 🔄.
 * Aucun ::before ajouté ici.
 */


/* Survol Créer un avoir */
a[href*="avoir_sid"]:hover {
  color: #fff !important;
  background: #28527a !important;
  border-color: #28527a !important;
}