/* Inline Like Button for Article Cards */
.inline-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #6c757d;
    text-decoration: none;
}

.inline-like-btn:hover {
    background: #fff;
    border-color: #dc3545;
    color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.inline-like-btn.liked {
    background: #fff5f5;
    border-color: #dc3545;
    color: #dc3545;
}

.inline-like-btn.liked .like-icon {
    color: #dc3545;
    animation: heartPulse 0.3s ease;
}

.inline-like-btn .like-icon {
    font-size: 14px;
    transition: all 0.2s ease;
}

.inline-like-btn .like-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.inline-like-btn.processing {
    opacity: 0.6;
    pointer-events: none;
}

.inline-like-btn.processing .like-icon {
    animation: spin 1s linear infinite;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.inline-like-btn.pulse {
    animation: buttonPulse 0.3s ease;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .inline-like-btn {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .inline-like-btn .like-icon {
        font-size: 12px;
    }
}

