/* 
 * ESTILOS PARA IMAGENS DE CLASSIFICAÇÃO INDICATIVA
 * ================================================
 * 
 * NOTA: Sombras mantêm rgba(0,0,0) para garantir contraste
 * em todos os temas. Backgrounds transparentes usam variáveis RGB.
 */
.classification-image {
    width: 38px;
    height: 38px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Sombra sempre escura */
}

/* Tamanhos específicos para diferentes contextos */
.film-card .classification-image,
.list-item .classification-image {
    width: 32px;
    height: 32px;
}

/* Posicionamento específico para cards de filme/jogo (visualização de grade) */
.film-poster-container .classification-image {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 32px;
    height: 32px;
    background-color: rgba(var(--cor-fundo-rgb, 255, 255, 255), 0.9);
    border-radius: 6px;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* Sombra sempre escura */
}

.modal-poster-container .classification-image {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

.filme-header .classification-image,
.jogo-header .classification-image,
.game-details .classification-image {
    width: 51px;
    height: 51px;
    margin-right: 8px;
}

/* Para manter compatibilidade com elementos que ainda usam as classes antigas */
.classification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* Responsividade */
@media (max-width: 768px) {
    .classification-image {
        width: 32px;
        height: 32px;
    }

    .film-card .classification-image,
    .list-item .classification-image {
        width: 26px;
        height: 26px;
    }

    .film-poster-container .classification-image {
        width: 26px;
        height: 26px;
        top: 6px;
        right: 6px;
    }

    .modal-poster-container .classification-image {
        width: 38px;
        height: 38px;
    }

    .filme-header .classification-image,
    .jogo-header .classification-image,
    .game-details .classification-image {
        width: 45px;
        height: 45px;
    }
}