
/* Social Share Component Styles */
.social-share-component {
    position: relative;
    z-index: 1000;
}

/* Floating Position */
.social-share-floating {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-share-floating .social-share-buttons {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.social-share-floating.active .social-share-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.social-share-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff9d, #00d4aa);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 157, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-share-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 255, 157, 0.4);
}

.share-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 255, 157, 0.3);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Inline Position */
.social-share-inline .social-share-buttons {
    display: block;
}

/* Sticky Position */
.social-share-sticky {
    position: sticky;
    top: 20px;
    margin: 20px 0;
}

/* Share Buttons Container */
.social-share-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-share-inline .social-share-items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

/* Share Buttons */
.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--brand-color);
    color: white;
    text-decoration: none;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Labels */
.social-share-inline .social-share-btn {
    width: auto;
    padding: 8px 16px;
    border-radius: 25px;
}

.social-share-label {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.social-share-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
}

.social-share-inline .social-share-title {
    text-align: left;
    margin-bottom: 10px;
    margin-right: 15px;
    display: inline-block;
}

/* Sizes */
.social-share-small .social-share-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

.social-share-large .social-share-btn {
    width: 55px;
    height: 55px;
    font-size: 20px;
}

/* Animation */
.social-share-animated .social-share-btn:nth-child(1) { animation-delay: 0.1s; }
.social-share-animated .social-share-btn:nth-child(2) { animation-delay: 0.2s; }
.social-share-animated .social-share-btn:nth-child(3) { animation-delay: 0.3s; }
.social-share-animated .social-share-btn:nth-child(4) { animation-delay: 0.4s; }
.social-share-animated .social-share-btn:nth-child(5) { animation-delay: 0.5s; }
.social-share-animated .social-share-btn:nth-child(6) { animation-delay: 0.6s; }
.social-share-animated .social-share-btn:nth-child(7) { animation-delay: 0.7s; }

.social-share-animated.active .social-share-btn {
    animation: slideInLeft 0.3s ease forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.copy-notification.show {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .social-share-floating {
        left: 10px;
    }
    
    .social-share-toggle {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .social-share-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Stop at footer */
.social-share-floating.stop-at-footer {
    position: absolute;
    bottom: 20px;
    top: auto;
    transform: none;
}
