%item-content-style {
    position: relative;
    display: flex;
    flex: 1;
    margin: 5px;

    div:first-child {
        width: 100px;
    }

    div {
        display: flex;
        align-items: center;
        justify-content: center;

        .draggable {
            cursor: grab;
            transform: scale(0.7);
            width: 40px;
            margin-left: -30px;

            ::ng-deep svg {
                fill: var(--iqser-grey-7);
            }
        }
    }

    .right-content {
        visibility: hidden;
        flex: 1;
        justify-content: flex-end;
        align-items: center;
        gap: 5px;

        iqser-circle-button {
            visibility: hidden;
        }

        .arrow-right {
            transform: scale(0.7);

            &.not-visible {
                visibility: hidden;
            }
        }
    }
}

.content-container {
    background-color: var(--iqser-grey-6);
    height: 100vh;
    display: flex;
    flex-direction: column;

    .content-header {
        display: flex;
        height: 50px;
        background-color: var(--iqser-grey-6);
        align-items: center;
        padding: 0 24px;

        .actions {
            display: flex;
            flex: 1;
            justify-content: flex-end;
        }
    }

    .content {
        flex: 1;
        display: flex;
        gap: 20px;
        overflow: hidden;

        .components-list {
            flex: 1;
            background-color: var(--iqser-white);
            display: flex;
            flex-direction: column;

            .header {
                height: 30px;
            }

            .list-content {
                overflow-y: auto;
                height: calc(100vh - 30px);
                outline: none;
            }

            .list-item {
                height: 80px;
                transition: background 0.3s ease;
            }

            .header,
            .list-item {
                display: flex;
                border-bottom: 1px solid var(--iqser-separator);

                .item-content {
                    @extend %item-content-style;
                }
            }

            .list-item:hover,
            .selected {
                cursor: pointer;

                .item-content {
                    background-color: var(--iqser-grey-8);

                    .right-content {
                        visibility: visible;
                    }
                }
            }

            .list-item:hover > .item-content > .right-content > iqser-circle-button {
                visibility: visible;
            }
        }

        section {
            background-color: var(--iqser-white);
            border-radius: 8px;
            width: 700px;
            height: 470px;
            margin-right: 150px;

            .technical-name {
                min-height: 16px;
            }
        }
    }
}

.cdk-drag-preview {
    .list-item {
        transition: background 0.3s ease;
    }
    .item-content {
        @extend %item-content-style;
    }
}
