/* Social Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-light, #f1f5f9);
}

.share-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-secondary, #475569);
    margin-right: 4px;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

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

/* Platform-specific colors on hover */
.share-button.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

.share-button.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: white;
}

.share-button.email:hover {
    background: #EA4335;
    border-color: #EA4335;
    color: white;
}

.share-button.copy:hover {
    background: var(--color-accent, #6366f1);
    border-color: var(--color-accent, #6366f1);
    color: white;
}

.share-button.copy.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* Share button tooltip */
.share-button {
    position: relative;
}

.share-button::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: var(--color-text, #0f172a);
    color: white;
    font-size: 0.75rem;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.share-button:hover::after {
    opacity: 1;
}

/* Dark mode */
[data-theme="dark"] .share-button {
    background: var(--color-surface, #14141f);
}

[data-theme="dark"] .share-buttons {
    border-top-color: var(--color-border, #1e1e2d);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-button {
        width: 32px;
        height: 32px;
    }
    
    .share-button svg {
        width: 16px;
        height: 16px;
    }
}
