
.rating-overview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
	width: 100%;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 10px;
		
}

.rating-number {
    font-size: 2em;
    font-weight: bold;
    color: #333;
}

.stars-display {
    display: flex;
    gap: 5px;

}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star.filled {
    color: #ffd700;
    transform: scale(1.1);
}

.star:hover {
    transform: scale(1.2);
}

.rating-bars {
    flex: 1;
    min-width: 350px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.bar-label {
    width: 60px;
    font-size: 14px;
    color: #666;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.bar-count {
    width: 40px;
    text-align: right;
    font-size: 11px;
    color: #999;
}

.review-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

}

.form-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 50%;
    padding: 9px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.star-rating-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.star-input {
    font-size: 25px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-input:hover,
.star-input.active {
    color: #ffd700;  /* gold color */
    transform: scale(1.2);
}


.reviews-list {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.review-item {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviewer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 30%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

.filter-sort {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

@media (max-width: 768px) {
    .rating-overview {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-bars {
        width: 50%;
    }
}