/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.m-rules-item {
  margin: 0 0 12px 24px;
}
.m-rules-item-custom-value-input.ant-input,
.m-rules-item .ant-cascader {
  width: 228px;
}
.m-rules-item-cascader-custom.ant-cascader-picker {
  width: 110px;
}
.ant-form-item .m-rules-item-select {
  width: 100px;
}
.m-rules-item-value {
  display: flex;
}
.m-rules-item-value .ant-input:hover {
  z-index: 5;
}
.m-rules-item-value .ant-cascader:hover {
  z-index: 5;
}
.m-rules-item-icon {
  margin-right: 8px;
}
.m-rules-item-close-icon {
  position: relative;
  top: -12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease-in-out, color 0.25s ease-in-out;
}
.m-rules-item-close-icon:hover {
  color: #ff4d4f;
}
.m-rules-item:hover .m-rules-item-close-icon {
  opacity: 1;
}
.m-rules-group-item {
  width: 100%;
  padding: 24px 16px 0;
  background-color: #f5f7f8;
}
.m-rules-group-children {
  position: relative;
  padding-top: 16px;
}
.m-rules-group-children::before {
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 1;
  display: block;
  width: 1px;
  height: calc(100% - 4px);
  content: "";
  background: #d9dfe6;
}
.m-rules-group-text-name {
  width: 346px;
}
.m-rules-group-text-value {
  width: 552px;
}
.m-rules-child-container {
  position: relative;
  margin-bottom: -14px;
}
.m-rules-link {
  position: absolute;
  top: 35px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #107cee;
  cursor: pointer;
  user-select: none;
  background-color: #fff;
  border: 1px solid #d9dfe6;
}
.m-rules-add {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: #107cee;
  cursor: pointer;
}
.m-rules-add-icon {
  width: 18px;
  height: 18px;
  padding-left: 2px;
  margin-right: 8px;
  background-color: #d4e7fc;
}
