/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

.layout {
  display: flex;
  justify-content: space-between;
}

.headerSearch {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .search {
    margin-right: 10px;
    display: flex;
    align-items: center;
  }
}
.marginLeft10{
  margin-left: 10px;
}

.condition, .springCloud {
  margin-top: 8px;

  .addButton {
    width: 100%;
  }

  :global(.ant-btn) {
    line-height: 1.5;
  }
}

.ruleConditions {
  margin-top: 8px;
  display: flex;

  .header {
    text-align: right;
    width: 87px;
    margin-bottom: 0;
    font-size: 14px;

    strong {
      color: #f5222d;
      margin-right: 4px;
      font-weight: normal;
    }
  }

  .content {
    ul {
      padding: 0 0 10px 6px;
      margin: 0;
      display: flex;
      justify-content: space-between;
      max-height: 200px;
      overflow: hidden;

      li {
        margin-right: 6px;
      }
    }
  }

  button {
    margin-left: 0px
  }
}

.handleWrap {
  display: flex;
  margin-top: 8px;

  .header {
    h3 {
      text-align: right;
      width: 87px;
      margin-bottom: 0;
      font-size: 14px;

      strong {
        color: #f5222d;
        margin-right: 4px;
        font-weight: normal;
      }
    }
  }

  .springHeader {
    h3 {
      text-align: right;
      width: 120px;
      margin-bottom: 0;
      font-size: 14px;

      strong {
        color: #f5222d;
        margin-right: 4px;
        font-weight: normal;
      }
    }
  }

  .handleUl {
    padding: 0 0 0px 6px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;

    li {
      margin-right: 6px;
    }

    .loadbalanceLine {
      display: flex;

      .loadText {
        padding: 0 8px;
        border: 1px solid #eee;
        border-radius: 4px 0 0 4px;
        background: #f9f9f9;
        line-height: 30px;
      }
    }
  }

  .handleSelectorUl {
    li {
      width: 254px;
    }
  }

  .springUl {
    li {
      margin-bottom: 6px;
    }
  }
}

.divideHandle {
  margin-top: 8px;
  display: flex;

  .header {
    width: 87px;

    h3 {
      text-align: right;
      width: 100px;
      margin-bottom: 0;
      font-size: 14px;

      strong {
        color: #f5222d;
        margin-right: 4px;
        font-weight: normal;
      }
    }
  }

  .content {
    ul {
      padding: 0 0 10px 6px;
      margin: 0;
      display: flex;
      justify-content: space-between;
      max-height: 200px;
      overflow: hidden;

      li {
        margin-right: 6px;
      }
    }
  }

  button {
    margin-left: 6px;
  }

  .labelwidth {
    width: 180px;
  }
}

.rootFormItem {
  :global(.ant-form-item) {
    margin-bottom: 0px!important;
  }
}
