/**
 * ========== 小程序/H5 分享组件样式 ==========
 */

/* 浮动分享按钮 */
.share-float-btn {
display:none;
    position: fixed;
    right: 16px;
    bottom: 110px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.45);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.share-float-btn:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* 分享引导遮罩 */
.share-tip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    -webkit-tap-highlight-color: transparent;
}
.share-tip-box {
    margin: 8px 18px 0 0;
    text-align: right;
}
.share-tip-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #fff;
    margin-left: auto;
    margin-right: 18px;
}
.share-tip-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    text-align: center;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.share-tip-content svg {
    margin-bottom: 12px;
}
.share-tip-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}
.share-tip-content b {
    color: #4caf50;
}

/* Toast 提示 */
.share-toast {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.share-toast.show {
    opacity: 1;
}
