/*
 * Copyright 2017-2019 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.
 */

.container {
  padding: 5px 10px;
}

.section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 10px;
  padding-bottom: 10px;
}

.section {
  display: block;
  width: 100%;
}

.section .header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.section .header .title {
  font-weight: bold;
  font-size: larger;
}

.section .header .actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: right;
}

.section .header .actions > * {
  line-height: 1;
  margin-left: 5px;
}

.quota {
  padding: 2px;
  display: flex;
  flex-direction: row;
  cursor: pointer;
}

.quota .actions {
  margin-top: 10px;
  margin-left: 50px;
}

.input {
  width: 200px;
}

.threshold-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.target-select-container,
.quota-input-container,
.quota-actions-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5px;
}

.quota-actions-container {
  align-items: start;
}

.label {
  width: 100px;
  margin-right: 5px;
}

.quota-actions-container > * {
  line-height: 28px;
}

.quota-actions-container .actions-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quota-actions-container .add {
  display: block;
}

.quota-actions-container .add button {
  line-height: 1;
}

.target-select,
.quota-input {
  flex: 1;
}

.target-select > div,
.quota-input {
  box-shadow: none;
}

.actions-error {
  font-size: smaller;
  line-height: 12px;
}

.message > *:not(:last-child)::after {
  content: ' ';
}
