.thaw-color-picker-trigger {
    display: inline-block;
    padding: 4px;
    width: 100%;
    height: 34px;
    border: 1px solid #e0e0e6;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: pointer;
}

.thaw-color-picker-trigger__content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 14px;
}

.thaw-color-picker-popover {
    width: 240px;
    padding: 12px;
    background-color: var(--thaw-background-color);
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12),
        0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
}

.thaw-color-picker-popover__panel {
    position: relative;
    height: 180px;
    margin-bottom: 8px;
    cursor: crosshair;
}

.thaw-color-picker-popover__layer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.thaw-color-picker-popover__layer--shadowed {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgb(0, 0, 0));
}

.thaw-color-picker-popover__handle {
    position: absolute;
    left: -6px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    box-sizing: border-box;
    border: 2px solid white;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.45);
}

.thaw-color-picker-slider {
    height: 12px;
    padding: 0 6px;
    background-image: linear-gradient(
        90deg,
        red,
        rgb(255, 255, 0) 16.66%,
        rgb(0, 255, 0) 33.33%,
        rgb(0, 255, 255) 50%,
        rgb(0, 0, 255) 66.66%,
        rgb(255, 0, 255) 83.33%,
        red
    );
    border-radius: 6px;
}

.thaw-color-picker-slider__handle {
    position: relative;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    box-sizing: border-box;
    border: 2px solid white;
    cursor: pointer;
}

.thaw-color-picker-popover.fade-in-scale-up-transition-leave-active {
    transform-origin: inherit;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 1, 1),
        transform 0.2s cubic-bezier(0.4, 0, 1, 1);
}

.thaw-color-picker-popover.fade-in-scale-up-transition-enter-active {
    transform-origin: inherit;
    transition: opacity 0.2s cubic-bezier(0, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.thaw-color-picker-popover.fade-in-scale-up-transition-enter-from,
.thaw-color-picker-popover.fade-in-scale-up-transition-leave-to {
    opacity: 0;
    transform: scale(0.9);
}

.thaw-color-picker-popover.fade-in-scale-up-transition-leave-from,
.thaw-color-picker-popover.fade-in-scale-up-transition-enter-to {
    opacity: 1;
    transform: scale(1);
}
