/*Fleek Reviews for Google Business - Clean Professional Design */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

.flgr-reviews-container {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

/* Business Header Section */
.flgr-business-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.flgr-business-icon {
  width: 48px;
  height: 48px;
  background: #4285f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.flgr-business-info {
  flex: 1;
}

.flgr-business-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

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

.flgr-overall-rating {
  font-size: 16px;
  font-weight: 500;
}

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

.flgr-business-star {
  color: #fbbf24;
  font-size: 16px;
}

.flgr-review-count {
  font-size: 14px;
}

.flgr-google-logo {
  width: 20px;
  height: 20px;
  margin-left: auto;
}

/* Review Button */
.flgr-review-button {
  background: #4285f4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.flgr-review-button:hover {
  background: #3367d6;
}

/* Slider Styles */
.flgr-reviews-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
}

.flgr-reviews-slider .swiper-wrapper {
  align-items: stretch;
}

.flgr-reviews-slider .swiper-slide {
  padding: 0 8px;
  height: auto;
}

/* Review Item Styles */
.flgr-review-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  height: 170px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
  justify-content: space-between;
}

.flgr-review-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Review Header */
.flgr-review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.flgr-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}

.flgr-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flgr-avatar-placeholder {
  background: #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.flgr-review-meta {
  flex: 1;
  min-width: 0;
}

.flgr-review-author {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.flgr-review-author a {
  color: inherit;
  text-decoration: none;
}

.flgr-review-author a:hover {
  color: #4285f4;
}

/* Rating Styles */
.flgr-review-rating {
  margin: 4px 0;
}

.flgr-stars {
  display: flex;
  gap: 1px;
  align-items: center;
}

.flgr-star {
  font-size: 14px;
  color: #e5e7eb;
}

.flgr-star-filled {
  color: #fbbf24;
}

/* Date */
.flgr-review-date {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

/* Review Content */
.flgr-review-content {
  flex: 1;
  margin-top: 8px;
}

.flgr-review-text {
  font-size: 13px;
  line-height: 1.4;
  color: #4b5563;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Google Icon in Header */
.flgr-google-icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Pagination */
.flgr-reviews-slider .swiper-pagination {
  position: static;
  margin-top: 16px;
  text-align: center;
  margin-top: 30px;
}

.flgr-reviews-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d1d5db;
  opacity: 1;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.flgr-reviews-slider .swiper-pagination-bullet-active {
  background: #4285f4;
  transform: scale(1.2);
}

/* Navigation Buttons */
.flgr-reviews-slider .swiper-button-next,
.flgr-reviews-slider .swiper-button-prev {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #6b7280;
  top: 44%;
  transform: translateY(-50%);
}

.flgr-reviews-slider .swiper-button-next:hover,
.flgr-reviews-slider .swiper-button-prev:hover {
  background: #ffffff;
  color: #4285f4;
}

.flgr-reviews-slider .swiper-button-next:after,
.flgr-reviews-slider .swiper-button-prev:after {
  font-size: 14px;
  font-weight: 600;
}

.flgr-reviews-slider .swiper-button-prev {
  left: 8px;
}

.flgr-reviews-slider .swiper-button-next {
  right: 8px;
}

/* Watermark */
.flgr-watermark {
  text-align: left;
  margin-top: 12px;
  padding-top: 8px;
  font-size: 0.5px;
  color: #9ca3af;
}

.flgr-watermark a {
  color: #4285f4;
  text-decoration: none;
}

.flgr-watermark a:hover {
  text-decoration: underline;
}

/* Grid Layout */
.flgr-layout-grid .flgr-reviews-grid {
  display: grid;
  gap: 60px 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flgr-layout-list .flgr-reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Light Theme (Default) */
.flgr-theme-light {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.flgr-theme-light .flgr-review-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1f2937;
}

.flgr-theme-light .flgr-review-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flgr-theme-light .flgr-business-header {
  border-bottom: 1px solid #f3f4f6;
}

.flgr-theme-light .flgr-business-name {
  color: #1f2937;
}

.flgr-theme-light .flgr-review-author {
  color: #1f2937;
}

.flgr-theme-light .flgr-review-text {
  color: #4b5563;
}

.flgr-theme-light .flgr-review-date {
  color: #9ca3af;
}

/* Dark Theme */
.flgr-theme-dark {
  background: #1f2937;
  color: #f9fafb;
  border: 1px solid #374151;
}

.flgr-theme-dark .flgr-review-item {
  background: #374151;
  border: 1px solid #4b5563;
  color: #f9fafb;
}

.flgr-theme-dark .flgr-review-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  background: #4b5563;
}

.flgr-theme-dark .flgr-business-header {
  border-bottom: 1px solid #4b5563;
}

.flgr-theme-dark .flgr-business-name {
  color: #f9fafb;
}

.flgr-theme-dark .flgr-review-author {
  color: #f9fafb;
}

.flgr-theme-dark .flgr-review-text {
  color: #d1d5db;
}

.flgr-theme-dark .flgr-review-date {
  color: #9ca3af;
}

.flgr-theme-dark .flgr-watermark {
  color: #9ca3af;
}

/* Glassmorphism Theme */
.flgr-theme-glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.flgr-theme-glassmorphism .flgr-review-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.2);
}

.flgr-theme-glassmorphism .flgr-review-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.flgr-theme-glassmorphism .flgr-business-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.flgr-theme-glassmorphism .flgr-business-name,
.flgr-theme-glassmorphism .flgr-review-author {
  color: #1f2937;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.flgr-theme-glassmorphism .flgr-review-text {
  color: #374151;
}

.flgr-theme-glassmorphism .flgr-review-date {
  color: #6b7280;
}

/* Minimal Theme */
.flgr-theme-minimal {
  background: transparent;
  border: none;
  padding: 0;
}

.flgr-theme-minimal .flgr-review-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 20px 0;
}

.flgr-theme-minimal .flgr-review-item:last-child {
  border-bottom: none;
}

.flgr-theme-minimal .flgr-review-item:hover {
  box-shadow: none;
  background: #f9fafb;
  padding: 20px 16px;
  margin: 0 -16px;
  border-radius: 8px;
}

.flgr-theme-minimal .flgr-business-header {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.flgr-theme-minimal .flgr-business-name {
  color: #111827;
  font-weight: 700;
}

.flgr-theme-minimal .flgr-review-author {
  color: #111827;
  font-weight: 600;
}

.flgr-theme-minimal .flgr-review-text {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

.flgr-theme-minimal .flgr-review-date {
  color: #6b7280;
}

.flgr-watermark-header {
  font-size: 12px;
  margin: 4px 0;
}

/* Navigation button theme adjustments */
.flgr-theme-dark .flgr-reviews-slider .swiper-button-next,
.flgr-theme-dark .flgr-reviews-slider .swiper-button-prev {
  background: rgba(55, 65, 81, 0.9);
  border: 1px solid #4b5563;
  color: #d1d5db;
  top: 34%;
  transform: translateY(-50%);
  margin-top: 0;
}

.flgr-theme-dark .flgr-reviews-slider .swiper-button-next:hover,
.flgr-theme-dark .flgr-reviews-slider .swiper-button-prev:hover {
  background: #4b5563;
  color: #4285f4;
}

.flgr-theme-glassmorphism .flgr-reviews-slider .swiper-button-next,
.flgr-theme-glassmorphism .flgr-reviews-slider .swiper-button-prev {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  top: 34%;
  transform: translateY(-50%);
  margin-top: 0;
}

.flgr-theme-minimal .flgr-reviews-slider .swiper-button-next,
.flgr-theme-minimal .flgr-reviews-slider .swiper-button-prev {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  top: 34%;
  transform: translateY(-50%);
  margin-top: 0;
}

.flgr-theme-dark .flgr-reviews-slider .swiper-pagination-bullet {
  background: #6b7280;
}

.flgr-theme-dark .flgr-reviews-slider .swiper-pagination-bullet-active {
  background: #4285f4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .flgr-reviews-container {
    padding: 16px;
    margin: 16px 0;
  }

  .flgr-business-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .flgr-business-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .flgr-business-name {
    font-size: 16px;
  }

  .flgr-reviews-slider .swiper-button-next,
  .flgr-reviews-slider .swiper-button-prev {
    display: none;
  }

  .flgr-layout-grid .flgr-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .flgr-reviews-slider {
    margin: 0 -4px;
  }

  .flgr-reviews-slider .swiper-slide {
    padding: 0 4px;
  }

  .flgr-review-item {
    padding: 12px;
  }
}

/* Loading State */
.flgr-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #9ca3af;
}

.flgr-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #4285f4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
