body {
  background: #f5f5f5;
  /* background: #fff; */
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  width: 6px;
  background: rgba(#101f1c, 0.1);
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.5);
  background-clip: padding-box;
  min-height: 28px;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
  transition: background-color 0.3s;
  cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(144, 147, 153, 0.3);
}

.jianbian {
  background: none !important;
}

/* 侧边栏 */
.mid_left {
  position: relative;
  width: 80px !important;
}

.mid_left .mid_li {
  transform: scale(0.9);
  margin: auto;
  margin-top: 20px;
  padding: 5px;
  width: 60px;
  height: 60px;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  cursor: pointer;
  /* font-family: ; */
}
.mid_left .mid_li span {
  font-size: 14px;
}

.mid_left .kefu1 {
  position: fixed;
  bottom: 30px;
  width: 80px;
  height: 50px;
  font-size: 13px;
  z-index: 10;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.mid_left .kefu1 img {
  margin-bottom: 10px;
  width: 30px;
}

.mid_left .active {
  background-color: #f7f7f7;
  border-radius: 5px;
}

.mid_left .mid_li img {
  margin-bottom: 10px;
  width: 30px;
  height: 30px;
}

.mid_left .mid_li text {
  font-size: 14px;
}

/* 内容区域 */
.neirong {
  margin-top: 0;
  width: 95vw;
  height: auto;
}

.neirong > div {
  display: none;
}

.neirong .active {
  display: block;
}

.image-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.image-viewer {
  position: relative;
  width: 35vw;
  height: 35vw;
  /* height: auto; */
  overflow: hidden;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  user-select: none;
  background-size: 32px 32px;
  background-position: 0px 0px, 16px 16px;
  background-image: linear-gradient(
      45deg,
      rgb(235, 235, 235) 25%,
      transparent 25%,
      transparent 75%,
      rgb(235, 235, 235) 75%,
      rgb(235, 235, 235)
    ),
    linear-gradient(
      45deg,
      rgb(235, 235, 235) 25%,
      transparent 25%,
      transparent 75%,
      rgb(235, 235, 235) 75%,
      rgb(235, 235, 235)
    );
}

.image-viewer_old {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  z-index: 55;
}

.image-viewer_new {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.image-viewer_new img,
.image-viewer_old img {
  width: 35vw;
  height: 35vw;
  object-fit: cover;
}

.image-viewer_line {
  z-index: 99;
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: rgb(255, 255, 255);

  transform: translateX(-50%);
  cursor: pointer;
}

.image-viewer_line::after {
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: url(../assets/handleBar.svg) no-repeat 50%;
  border-radius: 50%;
  background-size: cover;
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.5);
}

.el-button.vip-btn {
  background-image: -webkit-gradient(linear, left top, right top, from(#eb7d0a), to(#f04831));
  background-image: linear-gradient(90deg, #eb7d0a, #f04831);
  border: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  height: 40px;
  width: 120px;
  margin-right: 20px;
  border-radius: 45px;
  margin-top: 20px;
  float: left;
}
.header .navs .login .vip-btn span {
  color: #fff;
}

/* 新增弹框遮罩层样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.progress-container {
  width: 100%;
  margin: 15px 0;
}

.progress-bar {
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background-color: #4CAF50;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 错误弹框样式 */
.error-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.error-modal-content {
  background-color: #fff;
  border-radius: 20px;
  width: 500px;
  /*height: 160px;*/
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column; /* 改为垂直排列 */
  text-align: center;     /* 文字居中 */
  padding: 20px;
}

.error-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.error-message {
  color: #333;
  font-size: 16px;
  /*margin-left: 15px;*/
  line-height: 1.5;
  /*max-width: 300px;      !* 限制文字宽度 *!*/
}

.koutu_home_three_item:hover{
  cursor: pointer;
}
