/**
 * Social Share Styles
 * Clean, modern design matching the project style
 */

.social-share-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 32px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.author-container .social-share-container{
    background-color: #fff;
    box-shadow: none;
    border: none;
    padding: 0;
}

.social-share-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Button Styles */
.social-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.social-share-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

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

.social-share-button:active {
    transform: translateY(0);
}

.social-share-button-label {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* Brand Colors for Each Network */
.social-share-twitter {
    color: #1DA1F2;
}

.social-share-twitter:hover {
    background: #1DA1F2;
    color: #ffffff;
}

.social-share-facebook {
    color: #1877F2;
}

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

.social-share-linkedin {
    color: #0A66C2;
}

.social-share-linkedin:hover {
    background: #0A66C2;
    color: #ffffff;
}

.social-share-reddit {
    color: #FF4500;
}

.social-share-reddit:hover {
    background: #FF4500;
    color: #ffffff;
}

.social-share-email {
    color: #777777;
}

.social-share-email:hover {
    background: #777777;
    color: #ffffff;
}

.social-share-copy {
    color: #666666;
}

.social-share-copy:hover {
    background: #666666;
    color: #ffffff;
}

/* Copy Link Feedback */
.social-share-copy.copied::after {
    content: 'Copied!';
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
}
@media (max-width: 1280px) {
    .social-share-buttons {
        gap: 8px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .social-share-container {
        width: max-content;
        margin-left: 40px;
        margin-right: 40px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .social-share-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .social-share-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .social-share-button {
        padding: 10px;
    }

    .social-share-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-share-container {
        padding: 16px;
    }


    /* Hide labels on very small screens */
    .social-share-button-label {
        display: none;
    }
}
