/* 分享按钮样式 */

/* 分享按钮容器 */
.ShareButton {
    padding: 10px 20px;
    color: #fff;
    background: #64BFAE;
    text-align: center;
    position: fixed;
    right: 20px;
    bottom: 20px; /* 默认位于返回顶部按钮的位置 */
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.4) none repeat scroll 0;
    filter: Alpha(opacity=40);
    z-index: 999;
    display: block; /* 确保分享按钮始终显示 */
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.ShareButton:hover {
    background: rgba(0, 0, 0, 0.6);
    filter: Alpha(opacity=60);
}

/* 当返回顶部按钮显示时，分享按钮的位置 */
.ShareButton.shifted {
    bottom: 70px; /* 位于返回顶部按钮上方 */
}

/* 分享选项容器 */
.share-options {
    position: absolute;
    right: 100%;
    bottom: 0;
    display: none;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 15px 15px 5px 15px; /* 减小底部内边距 */
    width: 120px;
    margin-right: 10px;
}

/* 分享项目 */
.share-option {
    margin: 5px 0 3px 0; /* 减小底部外边距 */
    cursor: pointer;
    text-align: center;
    transition: opacity 0.3s ease;
}

.share-option:hover {
    opacity: 0.8;
}

.share-option span {
    display: block;
    padding: 8px 10px;
    margin: 0 !important;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
}

/* 朋友圈分享按钮特殊样式 */
.share-option[data-platform="朋友圈"] span {
    background-color: #62c354 !important;
}

/* 复制链接按钮特殊样式 */
.share-option[data-platform="复制链接"] span {
    background-color: #4A6CF7 !important;
}

/* 固定按钮容器 */
.fixed-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}