/* Styles pour le conteneur du Knob */
.knob-container {
 --knob-width: 120px;
}

.knob-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.knob-svg-container {
  display: flex;
  width: 120px;
  height: 120px;
  margin-top: 10px;
  position: relative;
}

.knob-background {
  fill:none;
  stroke : var(--grey-50);
  stroke-width: 16;
  stroke-linecap: round;
}

.knob-progress-fill{
    fill: none;
    stroke: var(--background-color-brand);
    stroke-width: 16;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease-in-out;
}

/* Style pour l'affichage de la valeur */
.knob-value {
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  z-index: 2;
}

.knob-input{
  type: number;
  position: absolute;
  width: 30px;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.knob-buttons-container{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.knob-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  background-color: var(--background-color-brand);
}

.knob-button:hover {
  background-color: var(--background-color-brand);
}

.knob-button:active {
  background-color: var(--background-color-brand);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Smaller shadow */
  transform: translateY(1px);
}

.knob-plus {
  bottom: -30px;
  right: 20%;
}

.knob-minus {
  bottom: -30px;
  left: 20%;
}
