/* Review Image Styles */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-image-thumbnail {
    border-radius: 8px;
    transition: transform 0.2s;
}

.review-image-thumbnail:hover {
    transform: scale(1.05);
}

/* Additional styles for Temu-like design */
.review-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.2s;
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.review-header {
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.review-rating {
    font-size: 1.1rem;
}

.review-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-details {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.pros-cons {
    margin-bottom: 1rem;
}

.pros-cons:last-child {
    margin-bottom: 0;
}

.review-helpful {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-helpful button {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .review-card {
        padding: 1rem;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .review-images {
        justify-content: center;
    }

    .review-image-thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Review Section Styles */
.review-summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #dee2e6;
}

.average-rating-display { text-align: center; }

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ffc107;
    line-height: 1;
}

.rating-stars { font-size: 1.5rem; margin: 0.5rem 0; }
.rating-text { color: #6c757d; font-size: 0.9rem; }

.rating-breakdown { padding: 0 1rem; }
.rating-row { display: flex; align-items: center; margin-bottom: 0.5rem; }
.rating-label { width: 60px; font-size: 0.9rem; }

.rating-bar {
    flex-grow: 1;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 0 0.5rem;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #fd7e14 100%);
    transition: width 0.3s ease;
}

.rating-count { width: 40px; text-align: right; font-size: 0.9rem; color: #6c757d; }

/* Duplicate classes from the component (kept for completeness) */
.reviewer-name { font-weight: 600; margin-bottom: 0.25rem; }
.review-date { font-size: 0.85rem; color: #6c757d; }
.featured-badge { background-color: #fff3cd; color: #856404; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.75rem; font-weight: 500; }

/* Star rating form styles */
.star-rating { direction: rtl; display: inline-flex; gap: 0.25rem; }
.star-rating input[type="radio"] { display: none; }
.star-rating label { color: #ddd; font-size: 1.5rem; cursor: pointer; transition: color 0.2s; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input[type="radio"]:checked ~ label { color: #ffc107; }

.review-cta { padding: 1rem; background: #e7f3ff; border-radius: 8px; border: 1px solid #b3d9ff; }
