.A1relation {
  :global {
    .ant-modal-close {
      display: none;
    }
    .ant-modal {
      width: 800px !important;
    }
    .ant-modal-content {
      overflow: hidden;
    }
    .A1Rtit {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #ccc;
      padding-bottom: 10px;
      margin-bottom: 15px;
    }

    .A1Rmain {
      max-height: 500px;
      overflow: auto;
      .A1Rrow {
        background-color: #dfdfdf;
        border-radius: 6px;
        padding: 8px;
        width: 500px;
        margin: 0 auto 10px;
        height: 122px;
        position: relative;

        .A1RrowIndex {
          position: absolute;
          left: -20px;
          top: 0px;
        }
      }
      .A1Rrow1 {
        display: flex;
        justify-content: center;
        .anticon-delete {
          font-size: 20px;
          margin-left: 10px;
          cursor: pointer;
        }
      }
      .A1Rrow2 {
        display: flex;
        height: 22px;
        margin: 10px 0;
        & > div {
          width: 50%;
        }
      }
      .A1Rrow3 {
        display: flex;
        & > div {
          width: 50%;
          .ant-input-affix-wrapper {
            width: 90%;
          }
        }
      }
    }

    .A1Rbtn {
      margin-top: 10px;
      text-align: center;
      position: relative;
      padding-bottom: 15px;
      & > p {
        position: absolute;
        top: -3px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 5px;
        color: #ff4d4f;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
      }
      .A1RbtnTxt {
        top: 30px;
        opacity: 1;
      }
    }
  }
}
