
/* Google Maps Reviews - Frontend Styles */
.gmr-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gmr-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gmr-review-item {
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.gmr-review-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

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

.gmr-reviewer-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.gmr-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid #f0f2f5;
}

.gmr-avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.gmr-reviewer-details {
    flex: 1;
    min-width: 0;
}

.gmr-reviewer-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1c1e21;
    line-height: 1.2;
}

.gmr-review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gmr-star {
    color: #dadce0;
    font-size: 16px;
    line-height: 1;
}

.gmr-star.gmr-filled {
    color: #fbbc04;
}

.gmr-rating-text {
    font-size: 12px;
    color: #5f6368;
    margin-left: 4px;
    font-weight: 500;
}

.gmr-review-date {
    font-size: 12px;
    color: #5f6368;
    white-space: nowrap;
    margin-left: 15px;
}

.gmr-review-text {
    line-height: 1.6;
    color: #3c4043;
    font-size: 14px;
    margin-top: 12px;
}

.gmr-error {
    background: #fef7f0;
    border: 1px solid #fcbf49;
    border-radius: 8px;
    padding: 15px;
    color: #b05000;
    font-weight: 500;
}

.gmr-no-reviews {
    background: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #5f6368;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gmr-review-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .gmr-review-date {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .gmr-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .gmr-reviewer-avatar {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .gmr-review-item {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .gmr-container {
        margin: 15px 0;
    }
    
    .gmr-reviewer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .gmr-reviewer-avatar {
        margin-right: 0;
    }
}
