/* ============================================================
   ADVERITAS - Selo OAB Verificada + selos especiais + estrelas
   ============================================================ */

/* ----- Selo OAB Verificada ----- */
.oab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, #B58B30 0%, #D4A744 50%, #B58B30 100%);
    color: #fff;
    border-radius: 999px;
    line-height: 1;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(181, 139, 48, .25);
    font-weight: 600;
    flex-shrink: 0;
    text-decoration: none;
}
.oab-badge i,
.oab-badge svg { stroke-width: 2.5; }

.oab-badge--sm { width: 16px; height: 16px; padding: 0; }
.oab-badge--sm i,
.oab-badge--sm svg { width: 11px; height: 11px; }

.oab-badge--md { width: 20px; height: 20px; padding: 0; }
.oab-badge--md i,
.oab-badge--md svg { width: 14px; height: 14px; }

.oab-badge--lg {
    padding: 4px 10px 4px 8px;
    height: 26px;
    width: auto;
    border-radius: 6px;
    font-size: .78rem;
}
.oab-badge--lg i,
.oab-badge--lg svg { width: 14px; height: 14px; }
.oab-badge__text { white-space: nowrap; letter-spacing: .25px; }

/* ----- Selos especiais (badges) ----- */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    border: 1px solid transparent;
    color: #444;
    background: #f4f5f7;
}
.user-badge i, .user-badge svg { width: 12px; height: 12px; }

/* paletas por chave */
.user-badge--pioneiro  { background: #fff7ec; color: #B58B30; border-color: #f0d997; }
.user-badge--mentor    { background: #ecf3ff; color: #11315F; border-color: #b6cdf2; }
.user-badge--top100    { background: #fff0f0; color: #B23A48; border-color: #f8c2c8; }
.user-badge--curador   { background: #f0f8f1; color: #2E7D32; border-color: #b8d8bb; }
.user-badge--indicado  { background: #f6efff; color: #6c3aa6; border-color: #d6c2f0; }

.user-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* ----- Estrelas (ratings) ----- */
.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #B58B30;
    line-height: 1;
}
.rating-stars i, .rating-stars svg { width: 14px; height: 14px; }
.rating-stars--lg i, .rating-stars--lg svg { width: 18px; height: 18px; }
.rating-stars__empty { color: #ddd; }

.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #444;
}
.rating-summary__avg { font-weight: 600; }
.rating-summary__count { color: #888; font-size: .82rem; }

/* ----- Form de avaliação (estrelas clicáveis) ----- */
.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}
.rating-input input { display: none; }
.rating-input label {
    cursor: pointer;
    color: #ddd;
    font-size: 1.6rem;
    line-height: 1;
    transition: color .12s;
}
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #B58B30;
}
