/*通用类*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  width: 100%;
  margin: 0 auto;
  font-family: "Microsoft Yahei";
  background: #fff;
  overflow-x: hidden;
  text-align: justify;
  color: #333;
  font-size: 16px;
}
.wb {
  background: #fff;
}
.container {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}
.container-fluid {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
img {
  border: none;
}
h1,
h2,
h3 {
  font-weight: normal;
}
a {
  color: #333;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
input,
textarea,
select {
  font-family: "Microsoft Yahei";
  font-size: 1em;
  outline: none;
  margin: 0;
  padding: 0;
}
input::-webkit-input-placeholder {
  color: #979797 !important;
}
textarea::-webkit-input-placeholder {
  color: #979797 !important;
}
input[type='button'],
input[type='text'],
input[type='search'],
input[type='submit'],
input[type='reset'],
input[type='date'],
input[type='time'],
input[type='number'] {
  -webkit-appearance: none;
}
select {
  -webkit-appearance: none;
}
textarea {
  -webkit-appearance: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style-type: none;
}
em {
  font-style: normal;
}
.lt {
  float: left;
}
.rt {
  float: right;
}
input.sub,
label {
  border: none;
  cursor: pointer;
}
input,
textarea {
  font-family: "Microsoft Yahei";
  outline: none;
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
}
td,
th {
  padding: 0;
}
.clear::before {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clear::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端下拉菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  padding: 16px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a.active {
  color: #dc2626;
}
.mobile-menu .mobile-user-info {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu .mobile-user-info .user-name {
  color: #666;
}
.mobile-menu .mobile-user-info .logout-btn {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
