/* สไตล์สำหรับปุ่มไลค์ */
.list_right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.like-button {
    display: inline-flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 3px 8px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    margin-left: 10px;
    color: #666;
    font-size: 0.85em;
    cursor: pointer;
}

.like-button:hover {
    background-color: #f1f1f1;
}

.like-button.liked {
    background-color: #fee6e3;
    border-color: #e74c3c;
    color: #e74c3c;
}

.like-button i {
    margin-right: 5px;
    font-size: 1.1em;
}

.like-button.liked i {
    animation: heartBeat 0.6s;
}

.like-count {
    font-weight: normal;
}

.login-required {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Animation */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ปรับแต่งเพิ่มเติม */
.list_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.news-date {
    font-size: 0.85em;
    color: #888;
} 