@anchors-selector-size: 120px;

.background-tweaker {
    display: flex;
    flex-direction: row;

    align-items: center;

    padding: 10px;
    gap: 30px;

    .background-tweaker-anchors {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: space-between;

        padding: 10px;

        width: @anchors-selector-size;
        height: @anchors-selector-size;
        min-width: @anchors-selector-size;
        min-height: @anchors-selector-size;

        border: 1px var(--border-color) solid;
        border-radius: 12px;

        .background-tweaker-anchors-row {
            display: flex;
            flex-direction: row;

            align-items: center;
            justify-content: space-between;

            width: 100%;

            .background-tweaker-anchor {
                display: flex;
                flex-direction: row;

                justify-content: center;
                align-items: center;

                width: fit-content;

                font-size: 1.2rem;

                padding: 5px;

                border-radius: 12px;

                transition: all 150ms ease-in-out;

                &.selected {
                    background-color: var(--background-color-primary);
                }

                &:only-child {
                    width: 100%;
                }

                p,
                svg {
                    margin: 0;
                }
            }
        }
    }

    .background-tweaker-sliders {
        display: flex;
        flex-direction: column;

        width: 100%;

        gap: 8px;

        .background-tweaker-sliders-option {
            display: flex;
            flex-direction: column;

            gap: 5px;

            width: 100%;

            p {
                margin: 0;
            }

            .ant-slider {
                margin: 0;
                padding: 3px;
            }

            p {
                display: flex;
                flex-direction: row;

                align-items: center;

                gap: 5px;

                svg {
                    margin: 0;
                    font-size: 1.2rem;
                }
            }
        }
    }
}