.custom-color-spectrum {
    position: relative;
    height: 150px;
    margin-bottom: 12px;
    border-radius: 8px;
    cursor: crosshair;
    touch-action: none;
    background-image: linear-gradient(to top, #000, transparent),
        linear-gradient(to right, #fff, transparent);
}

.custom-color-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px #000;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.custom-color-hue {
    display: block;
    width: 100%;
    height: 12px;
    margin-top: 6px;
    border-radius: 999px;
    appearance: none;
    background: linear-gradient(to right, red, yellow, lime, cyan, blue, magenta, red);
}

.custom-color-hue::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px #000;
}

.custom-color-hue::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px #000;
}
