/* Stats & Reviews Page Styles */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 2px solid rgba(255, 140, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 140, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 140, 0, 0.08) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 140, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.review-card {
    background: #140e1d;
    border: 1px solid #c37809;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.review-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 140, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF8C00;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-weight: 600;
    color: #e4e3e3;
    margin-bottom: 0.25rem;
}

.review-role {
    font-size: 0.85rem;
    color: #999;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-shrink: 0;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.star.filled {
    color: #FF8C00;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin: 1rem 0;
    flex-grow: 1;
}

.review-date {
    font-size: 0.85rem;
    color: #bbb;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.no-reviews {
    background: rgba(255, 140, 0, 0.05);
    border: 2px dashed rgba(255, 140, 0, 0.2);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: #999;
}

.no-reviews p {
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-icon {
        margin: 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .review-header {
        flex-wrap: wrap;
    }

    .review-rating {
        width: 100%;
        justify-content: flex-start;
    }

    .review-name,
    .review-role,
    .review-text {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}
