/* comment-actions devine flex cu Reply la stânga și voturi la dreapta */
.comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.cvote-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.cvote-buttons button {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-radius: 6px;
    transition: background 0.2s;
    position: relative;
    height: 36px;
}

.cvote-buttons button:hover {
    background: rgba(0,0,0,0.05);
}

.cvote-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.cvote-count {
    font-size: 1.6rem;
    font-weight: bold;
    color: #111;
    line-height: 1;
}

.cvote-like.voted {
    background: rgba(40,167,69,0.12);
}

.cvote-dislike.voted {
    background: rgba(220,53,69,0.12);
}

.cvote-buttons button[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    margin-bottom: 4px;
    transition: opacity 0.2s;
}

.cvote-buttons button[data-tooltip]:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .cvote-buttons button[data-tooltip]::after {
        display: none;
    }
}
