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

.link {
  text-decoration: none;
}

.link .configure {
  white-space: nowrap;
  text-decoration: underline;
}

.row {
  line-height: 24px;
  margin: 5px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.row .label {
  margin-right: 5px;
  font-weight: bold;
  width: 100px;
  text-align: right;
}

.row .label.port:not(:first-child) {
  width: auto;
}

.row .input {
  flex: 1;
}

.row .input.port {
  font-weight: normal;
  margin-right: 5px;
}

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

.row.error,
.row.add-port {
  padding-left: 105px;
}

.modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.modal-actions .button {
  margin-left: 5px;
}

.modal-actions .button:first-child {
  margin-left: 0;
}
