body {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #372012;
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  font-size: 14px;
  color: #333333;
}
/* 滚动条样式 */
/* 自定义整个滚动条 */
.scrollbar::-webkit-scrollbar {
    width: 8px;
    background-color: #909399;
    border-radius: 4px;
}
/* 自定义滚动条轨道 */
.scrollbar::-webkit-scrollbar-track {
    background-color: #f5f7fa;
    border-radius: 4px;
}
/* 自定义滚动条的滑块（thumb） */
.scrollbar::-webkit-scrollbar-thumb {
    background-color: #909399;
    border-radius: 4px;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.layui-fluid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 750px;
  min-width: 320px;
  min-height: 100vh;
  padding: 0 0 40px;
  background-color: #372012;
}
.title {
  min-width: 320px;
  margin-bottom: 40px;
  font-family: Source Han Sans CN;
  font-weight: 800;
  font-size: 50px;
  color: #FFE6C6;
  text-align: center;
}
.form,
.form-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 320px;
  width: calc(100% - 212px);
  margin-bottom: 20px;
}
.layui-input {
  width: 100%;
  height: 60px;
  padding-left: 0;
  border: 1px solid #FFFFFF;
  border-radius: 999px;
  font-family: Source Han Sans CN;
  font-weight: 800;
  font-size: 18px;
  color: #959595;
  text-align: center;
}
.layui-input:focus {
  border-color: #FFFFFF !important;
  box-shadow: 0 0 0 3px transparent !important;
}
.query-btn {
  width: 100%;
  height: 60px;
  background: #F5C465;
  border-radius: 999px;
  font-family: Source Han Sans CN;
  font-weight: 800;
  font-size: 24px;
  color: #372012;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
}
/* 查询结果样式 */
.activate-code {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 320px;
  width: calc(100% - 70px);
  height: 62px;
  background-image: url('../imgs/activateCodeBg.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 20px;
  color: #522D10;
  text-align: center;
  line-height: 62px;
}
.activate-data {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-width: 320px;
  width: calc(100% - 70px);
  margin: 24px 0;
}
.data-item {
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #E3BB95;
  text-align: center;
}
.item-value {
  font-size: 34px;
}
.item-title,
.unit {
  font-weight: 400;
  font-size: 14px;
}
.line {
  position: relative;
  width: 1px;
  height: 130px;
}
.line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 65px;
  border-radius: 1px;
  background: linear-gradient(to bottom, #372012, #664836 50%);
}
.line::after {
  content: '';
  position: absolute;
  top: 65px;
  left: 0;
  width: 1px;
  height: 65px;
  border-radius: 1px;
  background: linear-gradient(to top, #372012, #664836 50%);
}
.activate-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  width: calc(100% - 70px);
  min-height: 300px;
  padding: 25px 30px;
  box-sizing: border-box;
  background: linear-gradient(0deg, #372012 0%, #664836 100%);
  border-radius: 10px;
  border: 3px solid #FEE2C5;
  overflow-y: auto;
}
.activate-wrapper .tabs {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0;
  margin: 0 20px 20px;
  background-color: #372012;
  border: 1px solid #FEE2C5;
  color: #E3BB95;
  box-sizing: border-box;
}
.tabs .tab-item {
  flex: 1;
  height: 56px;
  line-height: 56px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  font-size: 16px;
  color: #E3BB95;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.tabs .tab-item.layui-this {
  background-color: #FEE2C5;
  color: #372012;
}
.label-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.label-header .label-item {
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 18px;
  color: rgba(255, 230, 198, 0.8);
}
.activate-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.activate-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  border-bottom: 1px solid #9A724C;
  border-radius: 1px;
  font-family: Source Han Sans CN;
  color: #FFE6C6;
}
.activate-list .item:first-child {
  margin-top: 0;
}
.activate-list .item .info {
  display: flex;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 18px;
}
.activate-list .item .info .avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-color: #F5C465;
  border-radius: 30px;
  vertical-align: middle;
}
.activate-list .item .info .name {
  min-width: 90px;
  font-weight: bold;
  font-size: 18px;
}
.activate-list .item .time {
  font-weight: 400;
  font-size: 14px;
}
.activate-list .item .time p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.empty p {
  font-family: Source Han Sans CN;
  font-size: 14px;
  color: #E3BB95;
  text-align: center;
}