/*
 * Copyright 2017-2023 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

.run-capabilities-input {
  flex: 1;
  border: 1px solid transparent;
  border-radius: 4px;
  padding-left: 5px;
  overflow: auto;
  cursor: text;
  max-height: 128px;
  padding-right: 20px;
}

.error-text {
  line-height: 1.5;
  height: 18px;
}

.run-capabilities-input.disabled {
  cursor: default;
}

.run-capabilities-input-tag {
  display: inline-flex;
  margin-right: 2px;
  padding: 6px;
  border-radius: 5px;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
}

.run-capabilities-input-tag-close {
  margin-left: 5px;
  font-size: x-small;
  cursor: pointer;
}

.run-capabilities-metadata-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.run-capabilities-metadata-input {
  flex: 1 1 0%;
}
