.viewRating{
    min-height: 100vh;
    padding-top: 60px;
}

.ratings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
    margin-left: 10%;
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.user-info {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #dadada;
}

.user-profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.user-Name{
    font-size: 40px;
    color: #262262;
    font-weight: bold;
}

.product-info {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin-left: 20%;
    gap: 20px;
    align-items: center;
}

.product-main-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.rating-details {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 80%;
    margin-left: 20%;
}
.pro-i-title,
.rating-details p {
    margin: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #262262;
}


@media(max-width:480px){
    .ratings-container {
        gap: 10px;
        width: 90%;
        margin-left: 5%;
    }
    .user-profile-picture {
        width: 50px;
        height: 50px;
    }
    .user-Name{
        font-size: 20px;
    }
    .product-info {
        width: 100%;
        margin-left: 0%;
        gap: 10px;
    }
    
    .product-main-image {
        width: 50px;
        height: 50px;
    }
    .pro-i-title,
.rating-details p {
    margin: 10px;
    font-size: 15px;
}
.rating-details {
    flex-direction: column;
    width: 100%;
    margin-left: 0%;
}
}