/* ================================
   DASH / RC-SLIDER ENTFÄRBEN
   ================================ */

/* Grundschiene (hinter allem) */
.rc-slider-rail {
    background-color: transparent !important;
  }
  
  /* Aktiver Bereich zwischen Handles (DAS BLAU) */
  .rc-slider-track {
    background-color: transparent !important;
    border-color: transparent !important;
  }
  
  /* Aktive Punkte (z.B. bei Dots) */
  .rc-slider-dot-active {
    background-color: transparent !important;
    border-color: #e9e9e9 !important;
  }
  
  /* Sicherheit: auch in Dash-Wrapper */
  .dash-slider .rc-slider-track {
    background-color: transparent !important;
  }
  
  .dash-slider .rc-slider-dot-active {
    background-color: transparent !important;
  }

/* Überlagerung über Track, verhindert Klick auf Track */
.rc-slider-rail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: all; /* alles blocken */
    background: transparent;
    z-index: 1;
}

/* Dots sichtbar und vertikal sauber positioniert */
#color-slider .rc-slider-dot,
#color-slider .rc-slider-dot-active {
    display: block !important;
    width: 8px;
    height: 8px;
    top: 5px !important;
    margin-top: 0 !important;
    transform: none !important;
    background-color: #ccc;
    border: none;
    z-index: 1;
}

/* Handles bleiben bedienbar */
#color-slider .rc-slider-handle {
    width: 20px;
    height: 20px;
    margin-top: -1px;
    pointer-events: auto !important;
    z-index: 2;
    border: solid 2px #000;
    background: #fff;
}

/* Optional: 0%-Handles leicht nach oben */
.rc-slider-handle.zero-handle {
    top: -5px !important;
}


#color-slider .rc-slider-handle:hover {
  border-color: #000;
}