.rating-stars {
    display: inline-block;
    direction: rtl;
    margin-top: 5px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    color: #ddd;
    font-size: 42px;
    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;
    margin-bottom: 10px;
}

.comment-form-rating {
    order: -1;
    font-weight: bold;
    margin-bottom: 25px;
}

.comment-form-rating label {
	font-weight: bold!important;
    display: block;
    margin-bottom: 3px;
    font-weight: normal;
}

.rating-error {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* PODSUMOWANIE OCEN - WERSJA WETERYNARYJNA */

.vet-drug-rating-summary,
.drug-rating-summary {
    margin: 20px 0;
    padding: 20px;
    background: #f9fff9;
    border-radius: 8px;
    max-width: 1000px;
    border: 2px solid #2ea32e;
    box-shadow: 0 2px 4px rgba(46, 163, 46, 0.1);
}

.vet-drug-rating-summary h3,
.drug-rating-summary h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #1e7e1e;
}

.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: #e8f5e8;
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #d0e7d0;
}

.rating-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #2ea32e 100%);
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.rating-percentage {
    width: 50px;
    text-align: right;
    font-size: 14px;
    color: #1e7e1e;
    font-weight: 600;
    flex-shrink: 0;
}

/* DODATKOWE STYLE WETERYNARYJNE */

.vet-info-box {
    background: #fff8e1;
    border-left: 4px solid #ffa000;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.vet-info-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.vet-warning {
    background: #ffebee;
    border-left: 4px solid #c62828;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.vet-warning strong {
    color: #c62828;
}

/* Styl dla informacji o preparacie weterynaryjnym */
.vet-drug-meta {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.vet-drug-meta .meta-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.vet-drug-meta .meta-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vet-drug-meta .meta-label {
    font-weight: bold;
    color: #1e7e1e;
    margin-right: 8px;
}

/* Przyciski akcji w stylu weterynaryjnym */
.vet-button {
    background: #2ea32e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.vet-button:hover {
    background: #1e7e1e;
}

/* Responsywność */
@media (max-width: 768px) {
    .rating-bar {
        flex-wrap: nowrap;
    }
    
    .rating-label {
        width: 80px;
        font-size: 13px;
    }
    
    .rating-percentage {
        width: 45px;
        font-size: 13px;
    }
    
    .vet-drug-rating-summary,
    .drug-rating-summary {
        padding: 15px;
    }
}
