:host {
    display: flex;
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--iqser-separator);

    .active-bar-marker {
        min-width: 4px;
        min-height: 100%;
    }

    &.active .active-bar-marker {
        background-color: var(--iqser-primary);
    }

    .annotation {
        padding: 10px 16px 8px 10px;
        font-size: 11px;
        line-height: 14px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        width: 100%;

        &.removed {
            text-decoration: line-through;
            color: var(--iqser-grey-7);
        }

        .actions-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            min-height: 34px;
            padding-left: 18px;

            .comments-counter {
                cursor: pointer;
                display: flex;
                align-items: center;
                padding: 0 8px;
                transition: background-color 0.2s;
                line-height: 13px;
                height: 24px;
                border-radius: 12px;

                mat-icon {
                    width: 10px;
                    height: 10px;
                    margin-right: 4px;
                }

                &:hover {
                    background-color: var(--iqser-annotation-comments-hover);
                }
            }
        }
    }

    &:hover,
    &.help-mode {
        background-color: var(--iqser-annotation-hover);

        ::ng-deep .annotation-actions {
            display: flex;
        }
    }
}
