.firefly-dialog-by-customization {
  position: relative;
}
.header {
  position: relative;
  font-size: 18px;
  color: #24222F;
  font-weight: bold;
  line-height: 26px;
  width: 100%;
  .close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: #A8A8AB;
    font-size: 16px;
  }
}
:deep(.el-dialog) {
  border-radius: 12px;
}

:deep(.el-form--inline) {
  .el-form-item__label {
    line-height: 36px;
    margin-bottom: 0;
  }
}

:deep(.el-dialog__header) {
  font-size: 18px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #1e1d2c;
  // height: 46px;
  box-sizing: border-box;
  .header-title{
    color: #24222F;
    font-size: 18px;
  }
}

:deep(.el-dialog__body) {
  max-height: calc(80vh - 70px);
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: rgba(40, 44, 52, 0.1);
    border: 3px solid transparent;
    border-radius: 7px;
  }

  .footerWarp {
    position: sticky;
    bottom: 0;
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
  }

  .bodyWrapper {
    position: absolute;
    width: 100%;
    height: 28px;
    left: 0;
    bottom: 0;
    right: 0;
    background: white;
  }

  >form {
    .el-form-item:last-child {
      margin-bottom: 0;
    }
  }
}


.el-dialog__body>.el-form>.el-form-item:last-child {
  margin-bottom: 0;
}

:deep(.el-dialog__footer) {
  padding-top: 20px;
}
