ui-slider {
    position: relative;
    display: flex;
}
ui-slider > input{
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    /*width: 100%;*/
    height: 4px;
    border-radius: 40px;
    background: var(--fermat-color-accent500);
    cursor: pointer;
    outline: none; /* Remove outline */
}


ui-slider > input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--fermat-color-neutral150);
    border-radius: 50%;
    border: 2px solid var(--fermat-color-accent500);
    cursor: pointer;
}

ui-slider > input::-webkit-slider-thumb:hover {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--fermat-color-neutral150);
    border-radius: 50%;
    border: 2px solid var(--fermat-color-accent500);
    cursor: pointer;
    box-shadow: var(--fermat-elevation-level1);
}

ui-slider > input::-webkit-slider-thumb:active {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--fermat-color-neutral150);
    border-radius: 50%;
    border: 2px solid var(--fermat-color-accent500);
    cursor: pointer;
    box-shadow: var(--fermat-elevation-level2);
}

ui-slider > input::-webkit-slider-thumb:disabled , ui-slider[disabled] > input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--fermat-color-neutral150);
    border-radius: 50%;
    border: 2px solid var(--fermat-color-neutral350);
    cursor: pointer;
}


ui-slider > input::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--fermat-color-neutral150);
    border-radius: 50%;
    border: 2px solid var(--fermat-color-accent500);
    cursor: pointer;
}