/* Frontend Styles for Google Reviews Display */

.gra-reviews-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.gra-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.gra-business-name {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.gra-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

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

.gra-star {
    font-size: 20px;
    line-height: 1;
}

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

.gra-star-half {
    color: #fbbf24;
    opacity: 0.6;
}

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

.gra-rating-number {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.gra-review-count {
    font-size: 14px;
    color: #6b7280;
}

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

.gra-review-item {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
}

.gra-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

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

.gra-reviewer-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.gra-reviewer-name {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.gra-review-time {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
}

.gra-review-rating {
    flex-shrink: 0;
}

.gra-review-rating .gra-star {
    font-size: 16px;
}

.gra-review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

/* Footer */
.gra-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.gra-view-all-link {
    display: inline-block;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid #3b82f6;
    border-radius: 6px;
    transition: all 0.2s;
}

.gra-view-all-link:hover {
    background: #3b82f6;
    color: white;
}

/* Minimal Layout */
.gra-reviews-container[data-layout="minimal"] {
    padding: 20px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.gra-reviews-container[data-layout="minimal"] .gra-review-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #3b82f6;
}

/* List Layout */
.gra-reviews-container[data-layout="list"] .gra-review-item {
    border-radius: 0;
    border-left: none;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}

.gra-reviews-container[data-layout="list"] .gra-review-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 640px) {
    .gra-reviews-container {
        padding: 20px;
    }
    
    .gra-business-name {
        font-size: 22px;
    }
    
    .gra-review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .gra-rating-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}
