/* Social Share Bar Styles */
#social-share-bar {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: transparent;
    padding: 10px;
}

/* Desktop: Vertical, Left Side */
@media (min-width: 768px) {
    #social-share-bar {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        border-radius: 0 12px 12px 0;
        background-color: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding: 16px 10px;
    }
}

/* Mobile: Horizontal, Bottom Sticky */
@media (max-width: 767px) {
    #social-share-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        background-color: white;
        border-top: 1px solid #e5e7eb;
        padding: 12px 16px;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
        /* Ensure it sits above other bottom elements */
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #f3f4f6;
    border-radius: 50%;
    color: #4b5563; /* Gray-600 */
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.share-btn:hover {
    transform: scale(1.1);
    background-color: #e5e7eb;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Brand Colors on Hover */
.share-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.share-facebook:hover {
    background-color: #1877F2;
    color: white;
}

.share-x:hover {
    background-color: #000000;
    color: white;
}

.share-copy:hover {
    background-color: #F59E0B; /* Ninja Gold */
    color: white;
}

/* Toast Notification for Copy */
#copy-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #1F2937;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
    #copy-toast {
        bottom: 40px;
        left: 80px; /* Near the bar */
        transform: translateX(0) translateY(20px);
    }
    #copy-toast.show {
        transform: translateX(0) translateY(0);
    }
}
