/* Review Summary - Complete Rewrite */ I plasma
.review-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating-overview {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.average-rating {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    min-width: 250px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

.rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.rating-stars .star {
    font-size: 2.5rem;
    color: #ddd;
    transition: all 0.2s ease;
    display: inline-block;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
}

.rating-stars .star.filled {
    color: #ffc107;
    text-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}

.rating-stars .star.half {
    color: #ffc107;
    text-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}

.rating-text {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

.rating-breakdown {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rating-breakdown h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 18px 0;
    padding: 5px 0;
}

.rating-bar .star-label {
    width: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.rating-bar .progress-container {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.rating-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ffb300);
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.rating-bar .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    border-radius: 10px;
}

.rating-bar .count {
    width: 45px;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    min-width: 45px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rating-overview {
        flex-direction: column;
        gap: 20px;
    }
    
    .average-rating {
        min-width: auto;
        width: 100%;
    }
    
    .rating-breakdown {
        width: 100%;
    }
}
