/**
 * Post Like Count - Frontend Styles
 */

.post-like-count-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
}

.post-like-count-button.compact {
    margin-top: 10px;
    padding: 6px 12px;
    font-size: 12px;
}

.post-like-count-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    color: #333;
    transition: color 0.2s ease;
}

.post-like-count-btn:hover {
    color: #0073aa;
}

.post-like-count-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.post-like-count-btn.loading {
    opacity: 0.6;
    cursor: wait;
}

.post-like-count-btn.liked {
    color: #0073aa;
}

.post-like-count-icon {
    font-size: 1.2em;
    line-height: 1;
}

.post-like-count-button.compact .post-like-count-icon {
    font-size: 1em;
}

.post-like-count-text {
    font-weight: 500;
}

.post-like-count-number {
    font-weight: 600;
    color: #555;
    min-width: 20px;
    text-align: center;
}

.post-like-count-error {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-like-count-button {
        padding: 8px 12px;
        font-size: 13px;
    }
}
