/* 微信提示框样式 */
.wechat-hover {
  position: relative;
  display: inline-block;
}

.wechat-tooltip {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%) translateY(100%);
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 220px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

/* 移除鼠标悬停触发，改为JS控制 */
/* .wechat-hover:hover .wechat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(105%);
} */

/* JS控制的显示类 */
.wechat-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(105%);
}

.tooltip-content {
  padding: 20px;
  text-align: center;
}

.tooltip-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.qrcode-placeholder {
  width: 160px;
  height: 190px;
  margin: 0 auto 15px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border-radius: 4px;
  overflow: hidden;
}

.qrcode-placeholder img {
  max-width: 100%;
}

.tooltip-footer {
  font-size: 12px;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.tooltip-footer:hover {
  color: #FF9D1F;
}

.tooltip-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .wechat-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
    width: 200px;
  }
  
  .qrcode-placeholder {
    width: 140px;
    height: 140px;
  }
}