.asr-order-list .asr-order-sample-copy-content {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.asr-order-list .asr-order-sample-copy-content,
.asr-order-list .asr-order-sample-copy-content .el-button--text,
.asr-order-list .asr-order-sample-copy-content .el-button--text > span {
  -webkit-user-select: text;
  user-select: text;
}

.asr-order-list .asr-order-sample-copy-content .el-button--text {
  min-width: 0;
  max-width: calc(100% - 30px);
}

.asr-order-list .asr-order-sample-copy-content .el-button--text > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asr-order-sample-copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #909399;
  cursor: pointer;
  opacity: .45;
  transition: color .16s ease, background .16s ease, opacity .16s ease;
}

.asr-order-sample-copy-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.asr-order-sample-copy-cell:hover .asr-order-sample-copy-button,
.asr-order-sample-copy-button:focus-visible {
  background: #ecf5ff;
  color: #409eff;
  opacity: 1;
  outline: none;
}

.asr-order-sample-copy-button.is-copied {
  background: #f0f9eb;
  color: #67c23a;
  opacity: 1;
}

.asr-sample-copy-toast {
  position: fixed;
  z-index: 4000;
  left: 50%;
  top: 72px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 9px 15px;
  border: 1px solid #e1f3d8;
  border-radius: 6px;
  background: #f0f9eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  color: #529b2e;
  font-size: 13px;
  line-height: 20px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity .16s ease, transform .16s ease;
}

.asr-sample-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 768px) {
  .asr-order-list .asr-order-sample-copy-content {
    gap: 3px;
  }

  .asr-order-sample-copy-button {
    width: 30px;
    height: 30px;
    opacity: .8;
  }

  .asr-sample-copy-toast {
    top: 58px;
  }
}
