/**
 * resultados-final.css
 * Estilos específicos para a classificação final consolidada (Júri Técnico + Voto Popular).
 */

.ranking-row-card.rank-final {
    display: grid;
    grid-template-columns: 60px 70px 2.2fr 3.3fr 160px;
    align-items: center;
    gap: 1.5rem;
}

@media screen and (max-width: 900px) {
    .ranking-row-card.rank-final {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.8rem;
        gap: 1rem;
    }
}

.final-score-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 900px) {
    .final-score-breakdown {
        width: 100%;
        align-items: center;
    }
}

.final-score-item {
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.final-score-label {
    font-weight: 600;
    color: var(--text-light);
}

.final-score-val {
    font-weight: 700;
    color: var(--primary-color);
}

.final-score-votes {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

.final-total-score-box {
    text-align: right;
    min-width: 130px;
}

@media screen and (max-width: 900px) {
    .final-total-score-box {
        text-align: center;
    }
}

.final-total-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffd700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #630821 100%);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    display: inline-block;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(138, 21, 56, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.final-total-label {
    font-size: 0.72rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    display: block;
    font-weight: 700;
}

/* Lightbox Observações dos Jurados */
.lightbox-reviews-container {
    width: 85%;
    max-width: 700px;
    margin: 1.5rem auto 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    color: #f7fafc;
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeIn 0.4s ease;
}

.lightbox-reviews-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
    margin-bottom: 0.8rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 4px;
}

.review-item {
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 0.8rem;
}

.review-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.review-jurado-name {
    color: #fbd38d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-scores-detail {
    color: #cbd5e0;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.4;
    color: #e2e8f0;
    font-style: italic;
    background: rgba(0,0,0,0.15);
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 4px;
}
