/* Floating Share Bar */
.floating-share-bar {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.share-button:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.share-button.facebook {
    background: #1877f2;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.linkedin {
    background: #0a66c2;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button.email {
    background: #ea4335;
}

.share-button.copy {
    background: #6c757d;
}

.share-tooltip {
    position: absolute;
    right: 65px;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.share-button:hover .share-tooltip {
    opacity: 1;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .floating-share-bar {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 10px;
        transform: translateX(-50%);
        flex-direction: row;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .share-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .share-tooltip {
        display: none;
    }
}

/* Toast notification */
.share-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.share-toast.show {
    opacity: 1;
    transform: translateY(0);
}
