.dimofinf-rating {
    margin: 20px 0;
    font-family: Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

.rating-stars {
    display: inline-block;
    font-size: 24px;
}

.star {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    display: inline-block;
}

.star.full {
    color: #ffd700;
}

.star.partial {
    color: #ccc;
}

.star.partial::before {
    content: '★';
    position: absolute;
    color: #ffd700;
    overflow: hidden;
    right: 0;
}

.star.partial-10::before { width: 10%; }
.star.partial-20::before { width: 20%; }
.star.partial-30::before { width: 30%; }
.star.partial-40::before { width: 40%; }
.star.partial-50::before { width: 50%; }
.star.partial-60::before { width: 60%; }
.star.partial-70::before { width: 70%; }
.star.partial-80::before { width: 80%; }
.star.partial-90::before { width: 90%; }

.star.empty {
    color: #ccc;
}

.star:hover,
.star.active {
    color: #ffd700;
}

.star.disabled {
    cursor: not-allowed;
    display:inline;
}

.rating-info {
    margin-top: 10px;
    font-size: 16px;
}

.average-rating {
    font-weight: bold;
    margin-right: 10px;
}

.rating-message {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}