/**
 * G2 Reviews Display Styles
 */

.g2-reviews-container {
    max-width: 100%;
    margin: 2rem 0;
}

.g2-reviews-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g2-review-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.g2-review-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.g2-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.g2-review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.g2-stars {
    display: inline-flex;
    gap: 2px;
}

.g2-star {
    font-size: 1.25rem;
    line-height: 1;
}

.g2-star-full {
    color: #fbbf24;
}

.g2-star-half {
    color: #fbbf24;
    opacity: 0.5;
}

.g2-star-empty {
    color: #d1d5db;
}

.g2-rating-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
}

.g2-review-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.g2-review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.g2-review-author {
    font-weight: 500;
}

.g2-review-company::before {
    content: "•";
    margin-right: 0.5rem;
}

.g2-reviews-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 1rem;
    color: #991b1b;
    margin: 1rem 0;
}

.g2-reviews-empty {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    color: #6b7280;
    margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 640px) {
    .g2-review-item {
        padding: 1rem;
    }
    
    .g2-review-title {
        font-size: 1rem;
    }
    
    .g2-star {
        font-size: 1rem;
    }
}