/* Social Share Styles */
.social-share {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background-color: #fafbfc;
    transition: all 0.2s ease;
}

.social-share:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-share-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.social-share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
}

.social-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-share-button svg {
    flex-shrink: 0;
}

/* Twitter */
.social-share-button.twitter {
    background-color: #1da1f2;
    color: white;
}

.social-share-button.twitter:hover {
    background-color: #0d8bd9;
    color: white;
}

/* Facebook */
.social-share-button.facebook {
    background-color: #1877f2;
    color: white;
}

.social-share-button.facebook:hover {
    background-color: #0b5ccc;
    color: white;
}

/* LinkedIn */
.social-share-button.linkedin {
    background-color: #0077b5;
    color: white;
}

.social-share-button.linkedin:hover {
    background-color: #005885;
    color: white;
}

/* WhatsApp */
.social-share-button.whatsapp {
    background-color: #25d366;
    color: white;
}

.social-share-button.whatsapp:hover {
    background-color: #1aab4b;
    color: white;
}

/* Reddit */
.social-share-button.reddit {
    background-color: #ff4500;
    color: white;
}

.social-share-button.reddit:hover {
    background-color: #cc3700;
    color: white;
}

/* Copy Link */
.social-share-button.copy-link {
    background-color: #6b7280;
    color: white;
}

.social-share-button.copy-link:hover {
    background-color: #4b5563;
    color: white;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .social-share {
        background-color: #1a202c;
        border-color: #2d3748;
    }

    .social-share-title {
        color: #e2e8f0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .social-share-button {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .social-share {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .social-share-buttons {
        gap: 0.5rem;
    }

    .social-share-button {
        padding: 0.625rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Animation for the copy success state */
.social-share-button.copy-link.copied {
    background-color: #10b981 !important;
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
