/* Social Share Sticky Buttons */
.sss-share-buttons {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.sss-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
}

.sss-share-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.sss-share-btn svg {
    width: 60%;
    height: 60%;
}

/* Facebook */
.sss-facebook {
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
}

.sss-facebook:hover {
    background: linear-gradient(135deg, #365899 0%, #2d4373 100%);
}

/* Twitter/X */
.sss-twitter {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.sss-twitter:hover {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
}

/* Instagram */
.sss-instagram {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.sss-instagram:hover {
    background: linear-gradient(135deg, #6A2E94 0%, #E01A1A 50%, #E39F3E 100%);
}

/* TikTok */
.sss-tiktok {
    background: linear-gradient(135deg, #000000 0%, #EE1D52 50%, #69C9D0 100%);
}

.sss-tiktok:hover {
    background: linear-gradient(135deg, #EE1D52 0%, #000000 50%, #69C9D0 100%);
}

/* Telegram */
.sss-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.sss-telegram:hover {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

/* Viber */
.sss-viber {
    background: linear-gradient(135deg, #665CAC 0%, #7C529E 100%);
}

.sss-viber:hover {
    background: linear-gradient(135deg, #7C529E 0%, #665CAC 100%);
}

/* WhatsApp */
.sss-whatsapp {
    background: #25D366;
}

.sss-whatsapp:hover {
    background: #1EBE57;
}

/* Tooltip on hover */
.sss-share-btn::after {
    content: attr(title);
    position: absolute;
    right: 110%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 12px;
}

.sss-share-btn:hover::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Note: Mobile positioning is now controlled via inline styles in the template */
    /* This allows for customizable mobile positioning through admin settings */
    
    /* Hide desktop-only buttons on mobile */
    .sss-share-btn:not(.sss-show-mobile) {
        display: none !important;
    }
}

/* Hide mobile-only buttons on desktop */
@media (min-width: 769px) {
    .sss-share-btn:not(.sss-show-desktop) {
        display: none !important;
    }
}

/* Copy notification */
.sss-copy-notification {
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    z-index: 99999;
    font-size: 14px;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
