@use 'common-mixins';

:host {
    display: contents;
}

.disabled-auto-analysis {
    background-color: var(--iqser-yellow-2);
}

.right-content {
    flex-direction: column;
    overflow: hidden;

    .no-annotations-buttons-container {
        display: flex;
        align-items: center;
        flex-direction: column;

        iqser-icon-button {
            width: 100%;
        }
    }

    .annotations-wrapper {
        display: flex;
        flex: 1;
        overflow: hidden;

        .content {
            overflow: hidden;
            width: 100%;
            display: flex;
            flex-direction: column;
        }
    }

    .quick-navigation,
    .annotations {
        outline: none;

        &.active-panel {
            background-color: var(--iqser-workload-pages-bg);
        }
    }

    .quick-navigation {
        border-right: 1px solid var(--iqser-separator);
        min-width: 61px;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .jump {
            min-height: 32px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.25s;

            &:not(.disabled):hover {
                background-color: var(--iqser-tab-hover);
            }

            mat-icon {
                width: 16px;
                height: 16px;
            }

            &.disabled {
                cursor: default;
                pointer-events: none;

                mat-icon {
                    opacity: 0.3;
                }
            }
        }
    }

    .annotations {
        width: 100%;
        display: flex;
        flex: 1;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
    }
}

[hidden] {
    display: none !important;
}
