.noUi-connect.color-zoom-range {
    background: linear-gradient(to right,
    #FF0000 0%,  /* Red for outside native zoom */
    #FF9900 25%,  /* Yellow for zoom outside */
    #00FF00 50%,  /* Green for native zoom */
    #FFFF00 75%, /* Yellow for zoom inside */
    #0000FF 100%); /* Blue for maximum zoom */
}
/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target,
.noUi-target * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.noUi-target {
    position: relative;
    width: 100%;
    height: 100%;
}
.noUi-base,
.noUi-connects {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.noUi-connect,
.noUi-origin {
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    -ms-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -webkit-transform-style: preserve-3d;
    transform-origin: 0 0;
    transform-style: flat;
}
/* Offset direction */
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
    left: 0;
    right: auto;
}
/* Give origins 0 height/width so they don't interfere with clicking the
 * connect elements.
 */
.noUi-vertical .noUi-origin {
    top: 0;
    width: 0;
}
.noUi-horizontal .noUi-origin {
    height: 0;
}
.noUi-handle {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
}
.noUi-touch-area {
    height: 100%;
    width: 100%;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}
.noUi-state-drag * {
    cursor: inherit !important;
}

/* Slider size and handle placement; */
.noUi-horizontal {
    height: 18px;
}
.noUi-horizontal .noUi-handle {
    width: 19px;
    height: 19px;
    right: -10px;
    top: -6px;
    border-radius: 50%;
}
.noUi-vertical {
    width: 4px !important;
    border: none !important;
}
.noUi-vertical .noUi-handle {
    width: 19px;
    height: 19px;
    right: -6px;
    top: -10px;
    border-radius: 50%;
}
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
    left: -17px;
    right: auto;
}

/* Styling;
 * Giving the connect element a border radius causes issues with using transform: scale
 */
.noUi-target {
    background: oklch(var(--b3));              /* was var(--color-icon-tertiary) */
    border-radius: 4px;
    border: 1px solid transparent;
}
.noUi-connects {
    border-radius: 3px;
}

/* Handles and cursors; */
.noUi-draggable {
    cursor: ew-resize;
}
.noUi-vertical .noUi-draggable {
    cursor: ns-resize;
}
.noUi-handle {
    width: 12px !important;
    height: 11px !important;
    right: -5px !important;
    top: -5px !important;
    border-radius: 50% !important;
    background: oklch(var(--p)) !important; /* Use primary color */
    border: 2px solid white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}
.noUi-active {
    /* was: inset 0 0 1px var(--color-icon-primary),
            inset 0 1px 7px var(--color-icon-secondary),
            0 3px 6px -3px var(--color-icon-tertiary); */
    box-shadow:
            inset 0 0 1px oklch(var(--p) / 0.7),
            inset 0 1px 7px oklch(var(--s) / 0.35),
            0 3px 6px -3px oklch(var(--b3) / 0.8);
}

/* Disabled state; */
[disabled] .noUi-connect {
    background: oklch(var(--b3));              /* was var(--color-icon-tertiary) */
}
[disabled].noUi-target,
[disabled].noUi-handle,
[disabled] .noUi-handle {
    cursor: not-allowed;
}

/* Base; */
.noUi-pips,
.noUi-pips * {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.noUi-pips {
    position: absolute;
    color: oklch(var(--bc));
    top: 0;
}

/* Values; */
.noUi-value {
    position: absolute;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}
.noUi-value-sub {
    color: oklch(var(--bc) / 0.5);             /* was var(--color-text-tertiary) */
    font-size: 10px;
}

/* Markings; */
.noUi-marker {
    position: absolute;
    background: oklch(var(--bc));              /* was var(--color-text-primary) */
}
.noUi-marker-sub {
    background: oklch(var(--bc) / 0.5);        /* was var(--color-text-tertiary) */
}
.noUi-marker-large {
    background: oklch(var(--bc));              /* was var(--color-text-primary) */
}

/* Horizontal layout; */
.noUi-pips-horizontal {
    height: 30px;
    top: 100%;
    left: 0;
    width: 100%;
}
.noUi-value-horizontal {
    -webkit-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
    top: 5px;
}
.noUi-rtl .noUi-value-horizontal {
    -webkit-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
}
.noUi-marker-horizontal.noUi-marker {
    margin-left: -1px;
    width: 2px;
    height: 5px;
}
.noUi-marker-horizontal.noUi-marker-sub {
    height: 10px;
}
.noUi-marker-horizontal.noUi-marker-large {
    height: 12px;
}

/* Vertical layout; */
.noUi-value-vertical {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
    -webkit-transform: translate(0, 50%);
    transform: translate(0, 50%);
}
.noUi-marker-vertical.noUi-marker {
    width: 6px; height: 2px;
    margin-top: -1px;
    left: -3px;
}
.noUi-marker-vertical.noUi-marker-sub {
    width: 10px;
}
.noUi-marker-vertical.noUi-marker-large {
    width: 10px !important;
}

.noUi-reverse .noUi-marker-vertical.noUi-marker {
    right: 0px;
    left: auto;
}

/* Tooltip */
.noUi-tooltip {
    display: none;
    position: absolute;
    border: 1px solid oklch(var(--b3));        /* was var(--color-border-primary) */
    border-radius: 3px;
    background: oklch(var(--b1));              /* was var(--color-bg-primary) */
    color: oklch(var(--bc));                   /* was var(--color-text-primary) */
    padding: 5px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}
.noUi-handle:hover .noUi-tooltip {
    display: block;
}
.noUi-handle:before, .noUi-handle:after { display: none; } /* Remove default lines */
.noUi-horizontal .noUi-tooltip {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    left: 50%;
    bottom: 120%;
}
.noUi-vertical .noUi-tooltip {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    top: 50%;
    right: 120%;
}
.noUi-horizontal .noUi-origin > .noUi-tooltip {
    -webkit-transform: translate(50%, 0);
    transform: translate(50%, 0);
    left: auto;
    bottom: 10px;
}
.noUi-vertical .noUi-origin > .noUi-tooltip {
    -webkit-transform: translate(0, -18px);
    transform: translate(0, -18px);
    top: auto;
    right: 28px;
}


/* Panel-friendly, readable slider */
.noUi-target { background: oklch(var(--bc) / 0.14); }
.noUi-connect {
    background: oklch(var(--b3));
}
.noUi-vertical { width: 6px; }                           /* match JS width */
.noUi-handle {
    width: 14px; height: 14px; border-radius: 9999px;
    right: -4px; top: -7px;
    background: oklch(var(--b1));
    border: 1px solid oklch(var(--b3));
    box-shadow: 0 1px 2px oklch(var(--bc) / 0.15);
}
.noUi-active {
    box-shadow: 0 0 0 3px oklch(var(--p) / 0.2), 0 1px 2px oklch(var(--bc) / 0.2) !important;
}

/* Pips: push labels to the right, soften color */
.noUi-pips-vertical { left: 100%; height: 100%; }        /* move labels away from track */
.noUi-value {
    color: oklch(var(--bc) / 0.6);
    font-size: 12px;
    line-height: 1;
}
.noUi-value-vertical {
    background: none !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    color: oklch(var(--bc) / 0.5) !important;
    padding: 0 !important;
    margin-left: 12px !important; /* Space away from thin track */
}
.noUi-reverse  .noUi-value-large {right: calc(100% + 17px); left: auto; text-align: right;}
