/* Review Widget Styling */

.review-widget-container {
    max-width: 500px;   /* of wat je wilt */
    margin: 0 auto;     /* center op de pagina */
}
.widget {
  font-family: Arial, sans-serif;
  background: white;
  max-width: 680px;
  margin: 40px auto;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* Header */
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.widget-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-logo {
  width: 36px;
  height: 36px;
}

.header-info .title {
  font-size: 18px;
  font-weight: bold;
  color: #222;
}

.header-info .subtitle {
  font-size: 13px;
  color: #888;
}

.rating-block {
  text-align: center;
}

.rating-number {
  font-size: 40px;
  font-weight: bold;
  color: #222;
  line-height: 1;
}

.stars-row {
  color: #fbbc04;
  font-size: 20px;
  letter-spacing: 2px;
  margin: 4px 0;
}

.rating-count {
  font-size: 12px;
  color: #888;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid #eee;
  margin-bottom: 24px;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.review-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #eee;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}

.reviewer-info .name {
  font-size: 14px;
  font-weight: bold;
  color: #222;
}

.reviewer-info .date {
  font-size: 12px;
  color: #aaa;
}

.review-stars {
  color: #fbbc04;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.review-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* CTA Button */
.cta-block {
  text-align: center;
}

.cta-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4285f4;
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  transition: background 0.2s;
}

.review-btn:hover {
  background: #3071e8;
}

/* Powered text */
.powered {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: #ccc;
}

/* Safe box-sizing for widget only */
.widget * {
  box-sizing: border-box;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .widget-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .rating-block {
    margin-top: 12px;
  }
}