.add-edit-rule {
  .task-save-cancle-oper {
    margin: 1rem 0;
    text-align: center;
  }

  .task-from {
    font-size: 1.3rem;
    color: #333;

    .select-object {
      width: 180px;
      height: 2rem;
      margin-top: 7px;
      border: 1px solid #B1ACAC;
      border-radius: 2px;

      .ant-select {
        .ant-select-selection {
          background-color: transparent;
          border-color: transparent;
          border-radius: 2px;
        }
        .ant-select-selection--single {
          height: 2rem;
        }
      }
    }

    .red-text {
      padding: 0 0.7rem;
      color: red;
    }

    .task-from-input {
      width: 100%;
      height: 2rem;
      border: 1px solid #B1ACAC;
      border-radius: 2px;
    }

    .task-from-select {
      width: 100%;

      .ant-select-selection--single {
        width: 100%;
        height: 2rem;
        border: 1px solid #B1ACAC;
        border-radius: 2px;
      }
    }
  }

  .rule-task-tabs-content {
    .rule-task-tabs-title {
      padding: 0 2rem;
      margin-top: 1rem;
      font-size: 1.5rem;
      line-height: 2.5;
      border-bottom: 1px solid #1D6B59;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    }

    .rule-task-tabs {
      min-height: 25rem;
      margin-top: 1rem;

      .threshold-tip {
        padding: 1rem;
        font-size: 1.2rem;
        color: red;
      }

      .ant-table-placeholder {
        border: 1px solid #C1DAD7;
        border-top: 0;
      }

      .ant-table {
        border-radius: 0;

        table {
          border-bottom: 1px solid #C1DAD7;
          border-left: 1px solid #C1DAD7;
          border-radius: 0;

          th {
            padding: 8px;
            text-align: center;
          }

          td {
            padding: 8px;
            font-weight: 400;
            text-align: center;
          }
        }
      }
    }

    .rule-detail-content {
      width: 100%;
      padding: 10px 0;

      .ant-input-wrapper {
        .ant-input {
          height: 2rem;
          border-radius: 2px;
        }
      }

      .ant-checkbox-wrapper {
        margin-left: 10px;
      }

      .ant-row {
        margin: 5px 10px;

        .ant-select-selection--single {
          width: 100%;
          height: 2rem;
          border: 1px solid #B1ACAC;
          border-radius: 2px;
        }

        .ant-input-wrapper {
          .ant-input {
            margin: 0 10px;
          }
        }
      }
    }
  }
}

.param-desc {
  span > span {
    color: red;
  }
}

