/* Roby Casino Comments & Reviews Styles */

/* Comments Widget */
.comments-widget {
  margin: 40px 0;
}

.comments-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.comment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.author-name {
  font-weight: 600;
  color: #111827;
  font-size: 15px;
}

.author-city {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 13px;
}

.author-city svg {
  width: 12px;
  height: 12px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 14px;
  font-weight: 600;
}

.comment-rating svg {
  width: 14px;
  height: 14px;
}

.comment-date {
  font-size: 13px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 6px;
}

.comment-text {
  color: #374151;
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

/* Reviews Widget */
.reviews-widget {
  margin: 40px 0;
}

.reviews-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a1a1a;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.review-header {
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reviewer-name {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
}

.reviewer-city {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6b7280;
  font-size: 14px;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-rating {
  display: flex;
  align-items: center;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #d1d5db;
}

.star.filled {
  color: #f59e0b;
}

.review-date {
  font-size: 13px;
  color: #6b7280;
  background: #f9fafb;
  padding: 4px 12px;
  border-radius: 6px;
}

.review-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
}

.review-text {
  color: #374151;
  line-height: 1.7;
  font-size: 15px;
  margin: 0 0 24px 0;
}

.review-pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.review-pros,
.review-cons {
  padding: 16px;
  border-radius: 10px;
}

.review-pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.review-cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.pros-title,
.cons-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.pros-title {
  color: #15803d;
}

.cons-title {
  color: #dc2626;
}

.pros-title svg,
.cons-title svg {
  width: 16px;
  height: 16px;
}

.pros-list,
.cons-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.pros-list li {
  color: #166534;
}

.cons-list li {
  color: #991b1b;
}

.pros-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #15803d;
  font-weight: bold;
}

.cons-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #dc2626;
  font-weight: bold;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.helpful-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.helpful-button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.helpful-button svg {
  width: 16px;
  height: 16px;
}

/* Loading States */
.comments-loading,
.reviews-loading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-skeleton,
.review-skeleton {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.skeleton-header,
.skeleton-title,
.skeleton-text {
  height: 16px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-header {
  width: 40%;
}

.skeleton-title {
  width: 60%;
  height: 20px;
}

.skeleton-text {
  width: 100%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Empty States */
.empty-message {
  text-align: center;
  padding: 48px 20px;
  color: #6b7280;
  font-size: 16px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px dashed #d1d5db;
}

/* Error State */
.comments-widget.error,
.reviews-widget.error {
  padding: 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  text-align: center;
  color: #991b1b;
}

/* Responsive */
@media (max-width: 768px) {
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-meta {
    width: 100%;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .reviews-title {
    font-size: 24px;
  }
  
  .review-pros-cons {
    grid-template-columns: 1fr;
  }
  
  .review-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
