/* Floating Google Reviews Widget */
.google-reviews-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 280px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  transform: translateY(0);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #eee;
}

.google-reviews-float.collapsed {
  transform: translateY(calc(100% - 45px));
}

.reviews-header {
  background: #4285F4;
  color: white;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.reviews-header img {
  margin-right: 10px;
}

.reviews-header span {
  flex-grow: 1;
  font-weight: 500;
}

.close-reviews {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 10px;
}

.reviews-content {
  padding: 15px;
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.stars {
  color: #FFD700;
  font-size: 18px;
  letter-spacing: 2px;
}

.score {
  font-weight: bold;
  margin-left: 8px;
  font-size: 18px;
}

.review-count {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.review-snippet p {
  font-style: italic;
  margin-bottom: 5px;
  line-height: 1.4;
}

.review-snippet span {
  color: #666;
  font-size: 13px;
}

.view-all-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f8f9fa;
  color: #4285F4;
  text-decoration: none;
  font-weight: 500;
  border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .google-reviews-float {
    width: 260px;
    left: 10px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .google-reviews-float {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .google-reviews-float.collapsed {
    transform: translateY(calc(100% - 40px));
  }
}