.inf-modal {
  &.ant-modal {
    top: 0;
    padding-bottom: 0;
    width: 100vw;
    height: 100vh;
    .ant-modal-header {
      padding: 16px 24px;
      font-size: 16px;
      font-weight: 500;
      background-color: #fff;
      text-align: left;
      border-bottom: 1px solid #e5e5e5;
    }
    .ant-modal-content {
      width: 100%;
      height: 100%;
      padding: 0;
      background-color: transparent;
      box-shadow: none;
      text-align: center;
    }
    .ant-modal-body {
      position: relative;
      padding: 0;
      display: inline-block;
      margin: 100px 0;
      text-align: initial;
      background-color: #fff;
      border-radius: 4px;
      .ant-modal-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 56px;
        height: 56px;
        font-size: 16px;
        line-height: 56px;
      }
      > :last-child {
        padding: 24px;
      }
    }

    &.ant-modal-fullscreen {
      max-width: 100%;
      margin: 0;
      .ant-modal-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        margin: 0;
        border-radius: 0;
        > :last-child {
          flex-grow: 1;
          padding: 0;
          height: 0;
        }
      }
    }
  }
}
.ant-modal-header {
  padding: 16px 24px 0;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  text-align: left;
  border-bottom: none;
}
.ant-modal-close-x {
  font-size: 14px;
}
.ant-modal-input {
  .input-btns {
    margin-top: 20px;
    text-align: right;
    button + button {
      margin-left: 12px;
    }
  }
}

.ant-modal-confirm {
  .confirm-content {
    padding: 6px 0 20px 0;
    text-align: center;
    font-size: 16px;
  }
  .confirm-btns {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    .btns-space {
      flex: 1;
    }
    button + button {
      margin-left: 12px;
    }
  }
}

.ant-modal-form {
  margin-top: -6px;
  .modal-form-header {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
  }
  .modal-form-content {
    display: flex;
    flex-direction: column;
  }
  .modal-form-footer {
    display: flex;
    justify-content: flex-end;
  }
}
