.el-message-box {
  border-radius: $--border-radius;
  & .el-message-box__headerbtn {
    &:focus,
    &:hover {
      & .el-message-box__close {
        color: $--color-primary;
      }
    }
  }
  & .el-message-box__header {
    & .el-message-box__title {
      font-size: 16px;
      font-weight: 600;
      font-family: PingFangSC, PingFang SC;
    }
  }
}

.el-message--success {
  background: $--message-success-light;
  border-radius: 12px;
  //border: 1px solid $--message-success-border;
}

.el-message--error {
  background: $--message-error-light;
  border-radius: 12px;
  border: 1px solid $--message-error-border;
}

.el-message--warning {
  background: $--message-warning-light;
  border-radius: 12px;
  border: 1px solid $--message-warning-border;
}

.el-message--info {
  background: $--message-info-light;
  border-radius: 12px;
  border: 1px solid $--message-info-border;
}

.el-message--info,
.el-message--warning,
.el-message--error,
.el-message--success {
  & .el-message__content {
    font-family: PingFangSC;
    font-size: 14px;
    //color: $--color-primary-desc-text;
    line-height: 20px;
    text-align: left;
    font-style: normal;
  }
}
