/* Social Share Buttons Styles */

.social-share {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.social-share h3 {
    font-size: 1.2em;
    color: #1d2127;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #fff;
}

.share-btn i {
    font-size: 16px;
}

/* Facebook */
.share-btn.facebook {
    background: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

/* Twitter/X */
.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1a91da;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

/* LinkedIn */
.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.linkedin:hover {
    background: #006097;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

/* Reddit */
.share-btn.reddit {
    background: #ff4500;
}

.share-btn.reddit:hover {
    background: #e63e00;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

/* WhatsApp */
.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Email */
.share-btn.email {
    background: #ea4335;
}

.share-btn.email:hover {
    background: #d33426;
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.3);
}

/* Copy Link */
.share-btn.copy-link {
    background: #6c757d;
}

.share-btn.copy-link:hover {
    background: #5a6268;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Floating Share Button */
.floating-share {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-share .share-btn {
    width: 50px;
    height: 50px;
    min-width: auto;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.floating-share .share-btn i {
    font-size: 18px;
}

.floating-share .share-btn span {
    display: none;
}

/* Share Count */
.share-count {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 15px;
}

/* Success Message */
.share-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px 20px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

.share-success.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        padding: 10px 16px;
        min-width: 100px;
        font-size: 13px;
    }
    
    .floating-share {
        right: 10px;
    }
    
    .floating-share .share-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .floating-share {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .social-share {
        border-color: #444;
    }
    
    .share-count {
        background: #2d3748;
        border-color: #4a5568;
        color: #a0aec0;
    }
}

/* Print Styles */
@media print {
    .social-share,
    .floating-share {
        display: none;
    }
}
