/* Permet de distinguer rapidement visuellement les inputs convertis en PrixEnCents */

/*
.input-group:has(input[data-type="prix_en_cents"]) {
  box-shadow: 0px 0px 2px 2px orange;
  border-radius: 4px;
}
*/
.prix-cen-cents {
  position: relative;
}
.prix-cen-cents::before {
  content: "cents";
  position: absolute;
  background-color: orange;
  width: 36px;
  color: white;
  font-size: 11px;
  border-radius: 0 0 4px 4px;
  text-align: center;
  line-height: 12px;
  right: 0;
  bottom: -12px;
  z-index: 1;
}



body.debug [data-cell] {
  --data-cell-color: #5bd884;

  border: 2px dotted #a3a3a3;
  position: relative;
}

body.debug [data-cell]:not(input[data-type="prix_en_cents"]) {
  padding: 4px;
  margin: 4px;
}


body.debug [data-cell]::before,
body.debug [data-cell]::after {
  display: none;
  position: relative;
  top: 0;
  right: 0;
  background-color: var(--data-cell-color, #f9f9f9);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #333;
  z-index: 10;
  opacity: 0.8;
  transform: translate(100%, 50%);
  white-space: nowrap;
}
body.debug [data-cell]::before {
  display: inline;
  content: attr(data-cell);
}
body.debug [data-formula]::after {
  display: inline;
  content: attr(data-formula);
}

body.debug [data-cell],
body.debug [data-formula]:hover {
  border: 2px dotted #da0052;
}

body.debug [data-cell].d-none,
body.debug [data-formula].d-none {
  display: inline-block !important;
}

body.debug [data-cell]:hover::before,
body.debug [data-cell]:hover::after {
  opacity: 1;
  color: white;
  background-color: #da0052;
}

.input-group:has(.CELL-INFO-SUPPRESS-AFTER-MIGRATION) {
  flex-wrap: nowrap;
  width: max-content;
}
