/* 公共配置 */
* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none !important;
  margin: 0 !important;
}

a {
  text-decoration: none !important;
}

/* 修改滚动条样式 */
::-webkit-scrollbar {
  width: 15px;
  height: 4px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.1);
  transition: .2s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* loading样式 */
#loading {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  background-color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

#loading img {
  width: 5rem;
}

/* 关闭input[number]箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/* toast样式 */
.mess {
  padding: 10px 15px;
  border-radius: 8px;
  background: #6F6F6F;
  color: #ffffff;
  font-size: 16px;
  text-align: justify;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
}