/* Kodex Posts Likes – Public Styles */

.kpl-buttons {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
    font-family: inherit;
}

.kpl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #ccc;
    border-radius: 30px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.kpl-btn:hover {
    border-color: #999;
    color: #333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.kpl-btn .kpl-icon {
    font-size: 16px;
    line-height: 1;
}

.kpl-btn .kpl-count {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 13px;
    min-width: 24px;
    text-align: center;
    transition: background 0.2s;
}

/* Like active state */
.kpl-btn.kpl-like.kpl-active {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fff5f5;
}

.kpl-btn.kpl-like.kpl-active .kpl-count {
    background: #fde8e8;
}

.kpl-btn.kpl-like:hover .kpl-icon {
    color: #e74c3c;
}

/* Dislike active state */
.kpl-btn.kpl-dislike.kpl-active {
    border-color: #3498db;
    color: #3498db;
    background: #f0f8ff;
}

.kpl-btn.kpl-dislike.kpl-active .kpl-count {
    background: #dbeeff;
}

/* Loading state */
.kpl-btn.kpl-loading {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

/* Counter shortcode */
.kpl-counter {
    font-weight: 700;
    color: #e74c3c;
}
