/* Footer styles */
.footer {
  background-color: black;
  width: 100%;
}
.footer .footer-cpr-container {
  font-size: 12px;
  color: #ffffff;
  line-height: 1.75;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
  flex-direction: column;
  padding-left: 50px;
  padding-right: 50px;
}
.footer .footer-cookie {
  color: #fff;
  padding-bottom: 12px;
  margin: 0;
  cursor: pointer;
}
.footer .footer-cpr-container span {
  width: 100%;

  text-align: center;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px #fff solid;
}
.chat-widget {
  z-index: 2147483647;
  position: fixed;
  bottom: 85px;
  right: -186px;
  width: 245px; /* 默认宽度 */
  height: 54px; /* 高度与宽度一致 */
  background-color: #027299;
  border-radius: 26.91px 0 0 26.91px;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  overflow: hidden;
  transition: right 0.5s ease;
  cursor: pointer;
}

.chat-widget a {
  display: flex;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.chat-widget:hover {
  right: 0px;
}
.chat-icon-container {
  padding: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-icon-container .chat-icon-bkg {
  width: 42px;
  height: 42px;
}

.chat-icon-container .chat-icon {
  width: 22px;
  height: 22px;
  position: absolute;
}

.chat-content {
  color: #fff;
  margin-left: 6px;
  text-align: left;
  font-size: 11px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-weight: 100;
  letter-spacing: 0.99px;
  line-height: 1.6;
}
.chat-content .chat-content-first {
  font-weight: 500;
}

/* 遮罩层，固定全屏 */
#wechat-qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center; /* 居中对齐 */
}

/* 弹窗内容 */
#wechat-qr-modal-content {
  width: 460px;
  /* background: white; */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

/* 图片尺寸设置 */
#wechat-qr-modal-image {
  display: block;
  margin: 0 auto;
  height: auto;
}

/* 图片在不同屏幕尺寸下的大小 */
@media (min-width: 768px) {
  #wechat-qr-modal-image {
    width: 420px;
  }
}

@media (max-width: 768px) {
  #wechat-qr-modal-image {
    width: 100%; /* 自动缩放，保持 3:2 比例 */
    max-width: 420px;
  }
}

/* 关闭按钮样式 */
#wechat-qr-modal-close {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0; /* 居中且和图片有间距 */
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  padding: 0;
}

/* 关闭按钮悬停效果 */
#wechat-qr-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* 叉号样式 */
#wechat-qr-modal-close::before,
#wechat-qr-modal-close::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 1px;
  background-color: white;
  border-radius: 1px;
}

/* 叉号旋转 */
#wechat-qr-modal-close::before {
  transform: rotate(45deg);
}
#wechat-qr-modal-close::after {
  transform: rotate(-45deg);
}

/* .chat-widget:hover .chat-content {
  display: block; 
} */
@media screen and (min-width: 1440px) {
  .footer_mobile_container {
    display: none;
  }
  .footer_pc_container {
    display: block;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .footer_mobile_container {
    display: none;
  }
  .footer_pc_container {
    display: block;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .footer_mobile_container {
    display: none;
  }
  .footer_pc_container {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .footer .footer-cpr-container {
    padding-left: 0;
    padding-right: 0;
  }
  .footer_pc_container {
    display: none;
  }
  .footer_mobile_container {
    display: block;
  }
}
