/* Article Like Button Styles */
.article_like_button {
    display: block; /* Match other buttons in article_foot_tool_item */
    padding: 0; /* Remove padding to match <a> tags */
    border: none; /* Remove border to match <a> tags */
    border-radius: 0; /* Remove border radius */
    background-color: transparent; /* Match <a> tags */
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none; /* Remove button default styling */
}

.article_like_button:hover {
    opacity: 0.8; /* Simple hover effect like other buttons */
}

.article_like_button:disabled {
    opacity: 0.6;
    cursor: default;
}

.article_like_button.liked {
    /* Liked state - add background and border */
    background-color: #e3f2fd !important;
    /* border: 1px solid #2196f3 !important; */
    border-radius: 4px !important;
}

.article_like_button.liked .like-icon {
    color: #2196f3 !important;
    fill: #2196f3 !important;
    filter: hue-rotate(200deg) saturate(2);
}

.article_like_button.liked .like-count {
    color: #2196f3 !important;
    font-weight: 600 !important;
}

/* Removed - no background needed */

.like-icon {
    width: 24px;
    height: 24px;
    color: #666;
    fill: #666;
    transition: all 0.2s ease;
    display: inline-block; /* Make icon inline */
    vertical-align: middle; /* Align with text */
}

.like-count {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    display: inline-block; /* Make count inline */
    vertical-align: middle; /* Align with icon */
    margin-left: 4px; /* Add small spacing between icon and count */
}

.like-count.positive {
    font-weight: 500 !important;
    color: #666 !important;
}

.like-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.like-message.success {
    background-color: #4caf50;
}

.like-message.error {
    background-color: #f44336;
}

.like-message.info {
    background-color: #2196f3;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Article Like Item */
.article_like_item {
    list-style: none;
}

/* Comment Status Text */
.comment-status-text {
    color: #9f9f9f;
    font-size: 12px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .article_like_button {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .like-icon {
        width: 18px;
        height: 18px;
    }
    
    .like-count {
        font-size: 12px;
    }
}
