@import '../../../../styles//style.scss';

.chat-info-container {
    background-color: #fff;
    padding: 1rem;
    @include flex(column, 0.75rem);

    .chat-info-title {
        font-size: 1.5rem;
        font-weight: 400;
        text-overflow: ellipsis;
        overflow: hidden;

        // truncate text after 2 lines
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .field {
        @include flex;
        justify-content: space-between;
        align-items: center;

        label {
            font-weight: 700;
            margin-bottom: 0;

            &.tags-label {
                @include flex(row, 0.5rem);
                align-self: flex-start;
                margin-top: 0.25rem;
            }
        }
        .control {
            width: 50%;

            --aisera-uicomponents-select-width: 100%;
            --aisera-uicomponents-select-chip-width: 100%;
            --aisera-uicomponents-auto-select-width: 100%;

            &.auto-categorization {
                color: #26333F;
                
                --aisera-uicomponents-select-chip-padding: 10px;
                --aisera-uicomponents-select-chip-height: 2rem;
            }

            &.tags {
                .auto-complete-container .auto-complete-chip {
                    margin-left: 0.125rem;
                }
            }
            &.cluster {
                --aisera-navigation-link-container-width: 100%;
                --aisera-navigation-link-text-content-width: 100%;
                --aisera-navigation-link-text-width: 100%;
            }
        }
    }
}