/* 二维码气泡组件样式 */
.qr-bubble {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
  min-width: 150px;
}

.qr-bubble::before {
  content: '';
  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 #fff;
  pointer-events: none;
}

/* 创建一个不可见的连接区域，从按钮下边缘到气泡上边缘（包含箭头区域） */
.qr-bubble::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  pointer-events: auto;
}

.qr-bubble .bubble-text {
  font-size: 14px;
  color: #4C555E;
  margin: 0 0 5px;
  line-height: 22px;
}

.qr-bubble .bubble-text:first-child {
  margin-top: 5px;
}

.qr-bubble .bubble-text:last-child {
  margin-bottom: 0;
}

.qr-bubble .bubble-qr {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .qr-bubble{
    min-width:120px;
  }
  .qr-bubble .bubble-qr {
    width: 120px;
    height: 120px;
  }
  .qr-bubble .bubble-text{
    font-size: 12px;
  }
}

