/* Premium Reviews Theme */
:root {
    --review-gold: #ffc107;
    --review-text: #2d3436;
    --review-sub: #636e72;
    --verified-badge: #00b894;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reviews-grid-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) {
    .reviews-grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Summary Card */
.review-summary-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 24px;
}

.overall-rating-big {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--review-text);
    line-height: 1;
    margin-bottom: 8px;
}

.overall-stars {
    color: var(--review-gold);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.total-count {
    color: var(--review-sub);
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: block;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--review-sub);
}

.bar-label {
    min-width: 30px;
    background: #f8f9fa;
    /* Little badge */
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: #f1f2f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--review-gold);
    border-radius: 4px;
    width: 0%;
    /* JS will set this */
    transition: width 0.6s ease-out;
}

/* Review List */
.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card-premium {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Random gradients for variety - JS can assign classes */
.avatar-1 {
    background: linear-gradient(135deg, #ff7675, #d63031);
}

.avatar-2 {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.avatar-3 {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.avatar-4 {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
}

.reviewer-details h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--review-text);
}

.review-date {
    font-size: 0.8rem;
    color: var(--review-sub);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--verified-badge);
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 184, 148, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 4px;
}

.review-stars {
    color: var(--review-gold);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.review-body {
    color: var(--review-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-body.empty {
    font-style: italic;
    color: var(--review-sub);
}

/* Empty State */
.no-reviews-placeholder {
    text-align: center;
    padding: 48px;
    background: #f8f9fa;
    border-radius: 16px;
    color: var(--review-sub);
}