/* ibn.ge Article Rating Widget */

/* Compact inline reaction bar (lives in the post footer, left side) */
.ibn-rating-widget {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: left;
}

.ibn-rating-label {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.ibn-rating-buttons {
    display: flex;
    gap: 8px;
}

.ibn-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    transition: all .2s ease;
    line-height: 1;
    font-family: inherit;
}

.ibn-vote-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform .2s;
}

.ibn-vote-btn:hover:not(:disabled) {
    border-color: rgba(85, 65, 248, .35);
    color: var(--color-primary, #5541f8);
    background: #eef2ff;
}

.ibn-vote-up.ibn-voted {
    border-color: rgba(85, 65, 248, .35);
    color: var(--color-primary, #5541f8);
    background: #eef2ff;
}

.ibn-vote-down.ibn-voted {
    border-color: #94a3b8;
    color: #94a3b8;
    background: #f8fafc;
}

.ibn-vote-btn:disabled {
    cursor: default;
    opacity: .8;
}

.ibn-rating-loading .ibn-vote-btn {
    pointer-events: none;
    opacity: .5;
}

.ibn-rating-thanks {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 480px) {
    .ibn-rating-widget { gap: 8px; }
    .ibn-rating-label { width: 100%; }
}
