/* gbr-frontend.css */

.gbr-reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gbr-review-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.gbr-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.gbr-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.gbr-author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.gbr-author-image-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285F4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}

.gbr-header-meta {
    display: flex;
    flex-direction: column;
}

.gbr-author-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}

.gbr-publish-time {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.gbr-rating-stars {
    margin-bottom: 12px;
    color: #fbbc04; /* Google star yellow */
    font-size: 18px;
    letter-spacing: 2px;
}

.gbr-star-empty {
    color: #e0e0e0;
}

.gbr-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    flex-grow: 1;
}

/* Error states */
.gbr-error, .gbr-no-reviews {
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
}

.gbr-no-reviews {
    background: #e2e3e5;
    color: #383d41;
    border-color: #d6d8db;
}

/* View More Button */
.gbr-view-more-container {
    text-align: center;
    margin-top: 20px;
}

.gbr-view-more-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #4285F4;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.gbr-view-more-btn:hover {
    background: #3367d6;
    color: #fff;
}
