/* 自定义浮动栏目卡片样式 */
.sharebox.card-style {
  list-style: none;
  background-color: transparent;
  border-radius: 15px 15px 15px 15px;
  box-shadow: 0 4px 10px 1px rgba(0, 0, 0, 0.3);
  width: 75px;
  overflow: visible; /* 改为visible以显示弹出层 */
  padding: 0;
  margin-right: 2%;
  bottom: 21%;
}

.sharebox.card-style .share-item-start {
  height: 15px;
  background-color: rgba(255,255,255,0.7);
  border-radius: 15px 15px 0 0;
}
.sharebox.card-style .share-item-end {
  height: 15px;
  background-color: rgba(255,255,255,0.7);
  border-radius: 0 0 15px 15px;
}

.sharebox.card-style .share-item2,
.sharebox.card-style .share-item4,
.sharebox.card-style .share-item5,
.sharebox.card-style .share-item6, 
.sharebox.card-style .share-item7 {
  position: relative;
  background-color: rgba(255,255,255,0.7);
  height: 70px;
  cursor: pointer;
  border-bottom: 1px solid rgba(240,240,240,0.5);
  transition: all 0.3s ease;
}

/* 信用报告特殊样式 - 红底白字 */
.sharebox.card-style .share-item3 {
  background-color: #BE1B2F;
}

.sharebox.card-style .share-item3:hover {
  background-color: #D00707;
}

.sharebox.card-style .share-item2:hover,
.sharebox.card-style .share-item4:hover,
.sharebox.card-style .share-item5:hover,
.sharebox.card-style .share-item6:hover,
.sharebox.card-style .share-item7:hover {
  background-color: rgba(255,255,255,0.9);
  transform: translateX(-3px);
}

/* 添加链接样式 */
.sharebox.card-style a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #333;
}

/* 自定义图标样式 */
.sharebox.card-style .item3-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_xybg.png") no-repeat center center;
}

.sharebox.card-style .item4-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_xyxf.png") no-repeat center center;
}

.sharebox.card-style .item6-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_yysq.png") no-repeat center center;
}
.sharebox.card-style .item7-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_gzh.png") no-repeat center center;
}
.sharebox.card-style .item8-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_sxApp.png") no-repeat center center;
}

.sharebox.card-style .item9-bg {
  width: 100%;
  height: 40px;
  background: url("../../xywz/files/img/home/side_xyd.png") no-repeat center center;
}

.sharebox.card-style .share_title {
  font-size: 12px;
  text-align: center;
  color: #333;
  margin-top: 5px;
}

/* 信用报告文字颜色为白色 */
.sharebox.card-style .share-item3 .share_title {
  color: #ffffff;
}

/* 微信公众号二维码弹出层样式 */
.sharebox.card-style .share-item7 {
  position: relative;
  cursor: pointer;
}

.sharebox.card-style .weixin-qrcode-popup {
  display: none;
  position: fixed;
  right: 130px;
  top: 66%;
  transform: translateY(-50%);
  width: 150px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10000;
}

.sharebox.card-style .weixin-qrcode-popup::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.sharebox.card-style .share-item7:hover .weixin-qrcode-popup {
  display: block;
}

/* 当鼠标悬浮在弹出层本身时也保持显示 */
.sharebox.card-style .weixin-qrcode-popup:hover {
  display: block;
}

.sharebox.card-style .qrcode-container {
  text-align: center;
}

.sharebox.card-style .qrcode-title {
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}

.sharebox.card-style .qrcode-image {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto;
}
