.ghostkit-counter-box:is(.is-style-progress, .is-style-inline-arrow) {
  padding: 0;
  border: none;
  border-radius: 0;
}

/* AVEC JAUGE */

.ghostkit-counter-box.is-style-progress
  :is(.ghostkit-counter-box-number, .ghostkit-counter-box-content) {
  display: none;
}

.ghostkit-counter-box.is-style-progress svg {
  margin: 0 auto;
}

.ghostkit-counter-box.is-style-progress svg path {
  will-change: auto;
  stroke-linecap: round;
  stroke-miterlimit: round;
}

.ghostkit-counter-box.is-style-progress svg path.bg {
  stroke: var(--light-gray);
}

.ghostkit-counter-box.is-style-progress svg path.meter {
  stroke: var(--green);
  animation: 1s ease-in-out forwards;
}

.ghostkit-counter-box.is-style-progress svg tspan.value {
  font-size: 2rem;
  animation: 1s ease-in-out forwards;
}

.ghostkit-counter-box.is-style-progress svg tspan.max {
  font-size: 1rem;
  fill: var(--gray);
}

@keyframes path-verylow {
  0% {
    stroke: red;
  }
  100% {
    stroke: red;
  }
}

@keyframes path-low {
  0% {
    stroke: red;
  }
  100% {
    stroke: var(--yellow);
  }
}

@keyframes path-high {
  0% {
    stroke: red;
  }
  50% {
    stroke: var(--yellow);
  }
  100% {
    stroke: var(--green-alt);
  }
}

@keyframes path-veryhigh {
  0% {
    stroke: red;
  }
  33% {
    stroke: var(--yellow);
  }
  66% {
    stroke: var(--green-alt);
  }
  100% {
    stroke: var(--green);
  }
}

@keyframes text-verylow {
  0% {
    fill: black;
  }
  100% {
    fill: red;
  }
}

@keyframes text-low {
  0% {
    fill: red;
  }
  100% {
    fill: var(--yellow);
  }
}

@keyframes text-high {
  0% {
    fill: red;
  }
  50% {
    fill: var(--yellow);
  }
  100% {
    fill: var(--green-alt);
  }
}

@keyframes text-veryhigh {
  0% {
    fill: red;
  }
  33% {
    fill: var(--yellow);
  }
  66% {
    fill: var(--green-alt);
  }
  100% {
    fill: var(--green);
  }
}

/* AVEC FLECHE VERTE ET INLINE */

.ghostkit-counter-box.is-style-inline-arrow {
  color: var(--dark-green);
  font-weight: 600;
  font-size: 2rem;
  display: flex;
  gap: 1rem;
}
