.rating-stars {
    display: inline-block;
    direction: rtl;
    margin-top: 5px;  /* Zmniejszony odstęp */
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    color: #ddd;
    font-size: 42px;  /* Powiększone gwiazdki */
    padding: 0 2px;
    cursor: pointer;
    float: right;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input[type="radio"]:checked ~ label {
    color: #ffd700;
}

.comment-rating {
    color: #ffd700;
    font-size: 34px!important;  /* Powiększone gwiazdki w komentarzach */
    margin-bottom: 10px;
}

.comment-form-rating {
    order: -1; /* To przesunie element na początek */
    font-weight: bold;
    margin-bottom: 25px;
}

.comment-form-rating label {
	font-weight: bold!important;
    display: block;
    margin-bottom: 3px;  /* Zmniejszony odstęp */
    font-weight: normal;
}

.rating-error {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* PODSUMOWANIE OCEN */

.drug-rating-summary {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    max-width: 1000px;
    border: 1px solid #ddd;
}

.drug-rating-summary h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.rating-label {
    width: 100px;
    font-size: 14px;
    color: #333;
    flex-shrink: 0;
}

.rating-progress {
    flex-grow: 1;
    height: 16px;
    background: #f0f0f0;
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.rating-progress-bar {
    height: 100%;
    background: #ffd700;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.rating-percentage {
    width: 50px;
    text-align: right;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}