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

.form-item {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.notifications-form .code-editor {
  line-height: 15px;
  cursor: text;
}

.notifications-form .code-editor,
.notifications-form .code-editor div[class~="CodeMirror-scroll"] {
  min-height: 150px;
  max-height: 450px;
}

.transition-form-item {
  margin-bottom: 0;
  width: fit-content;
}

.transition-rule-row {
  display: flex;
  flex-direction: revert;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  width: 100%;
}

.transition-date-block {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.delete-transition-btn {
  margin-right: 10px;
}

.add-transition-rule-btn {
  margin-bottom: 10px;
  margin-right: 10px;
  align-self: flex-end;
}

.transition-form-item .destination-select {
  width: 280px;
}

@media (max-width: 1200px) {
  .transition-form-item .destination-select {
    width: 140px;
  }
}
