.signalItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--ifm-color-emphasis-200);
  background: var(--ifm-background-color);
}
.signalItem:hover {
  background: var(--ifm-color-emphasis-200);
}
.signalItem:hover .iconSlider {
  border: 1px solid var(--ifm-color-content);
}

.iconGroup {
  position: relative;
  display: flex;
  gap: 0;
  width: auto;
  padding: 0.25rem;
}

.iconWrapper {
  width: 1.6rem;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.iconSlider {
  position: absolute;
  top: -2px;
  left: 0;
  width: 1.8em;
  height: 1.8em;
  border-radius: 4px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 0;
}


.iconSlider.red {
  background-color: var(--ifm-color-danger-lightest);
}
.iconSlider.amber {
  background-color: var(--ifm-color-warning-lightest);
}
.iconSlider.green {
  background-color: var(--ifm-color-success-lightest);
}
[data-theme='dark'] .iconSlider.red {
  background-color: var(--ifm-color-danger-darkest);
}
[data-theme='dark'] .iconSlider.amber {
  background-color: var(--ifm-color-warning-darkest);
}
[data-theme='dark'] .iconSlider.green {
  background-color: var(--ifm-color-success-darkest);
}

.headerRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.resetButton {
  background: transparent;
  border: 1px solid var(--ifm-color-emphasis-300);
  border-radius: 0.4rem;
  color: var(--ifm-color-content);
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.resetButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.resetButton:not(:disabled):hover {
  background-color: var(--ifm-color-emphasis-200);
}
