/* 基础重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 去除列表样式 */
ul,
ol {
  list-style: none;
}

/* 去除链接默认样式 */
a {
  text-decoration: none;
  color: inherit;
}

/* 去除按钮默认样式 */
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

/* 去除表单元素默认样式 */
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

/* 图片设置为块级元素并去除底部间隙 */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 去除表格默认间距 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 设置基础字体和行高 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.5;
}

.gradual {
  background: -webkit-linear-gradient(
    right,
    #47a6ff,
    #3575fe,
    #6c27e2,
    #8e3cff
  ); /* 定义渐变 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hidden {
  display: none;
}

textarea {
  resize: none; /* 禁止拖动调整大小 */
}

.parting-line {
  width: 100%;
  height: 1px;
  background-color: #e4e4e4;
}

#message-info-container {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999999;
  transform: translate(-50%, -50%);
  min-width: 80px;
  height: 40px;
  display: none;
}

.notification {
  padding: 4px 20px;
  border-radius: 10px;
}

.primary {
  background-color: #ecf5ff;
  color: #409eff;
}

.success {
  background-color: #f0f9eb;
  color: #67c23a;
}

.warning {
  background-color: #fdf6ec;
  color: #e6a23c;
}

.error {
  background-color: #fef0f0;
  color: #f56c6c;
}

.info {
  background-color: #f4f4f5;
  color: #909399;
}

/* 适用于所有现代浏览器 */
input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
}

#mask-layer {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.2);
}

.weiChat {
  width: 53px;
  height: 53px;
  position: fixed;
  right: 1px;
  top: 50%;
  z-index: 999;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
  background-image: url("../image/weichat.png");
  cursor: pointer;
}

.right-qr-wrap {
  width: 200px;
  height: 222px;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
  border-radius: 24px;
  background-color: #fff;
  position: fixed;
  right: 15px;
  top: calc(50% + 58px);
  z-index: 999;
}

.right-qr-wrap .footer-qr {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
}

.right-qr-wrap p {
  width: 100%;
  position: absolute;
  top: 167px;
  left: 0;
  text-align: center;
}

.ellipsis {
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 超出隐藏 */
  text-overflow: ellipsis; /* 显示省略号 */
}
