* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  padding: 20px;
}

.review-tracker {
  max-width: 1200px;
  margin: 0 auto;
}

.tracker-header {
  margin-bottom: 32px;
}

.tracker-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.header-stats {
  display: flex;
  gap: 24px;
  color: #94a3b8;
  font-size: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: #1e293b;
  border-radius: 12px;
  border: 1px solid #334155;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.search-input::placeholder {
  color: #64748b;
}

.filters {
  display: flex;
  gap: 12px;
}

.filters select {
  flex: 1;
  padding: 10px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 14px;
}

.filters select:focus {
  outline: none;
  border-color: #3b82f6;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: #1e293b;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #334155;
  border-left: 4px solid #3b82f6;
}

.review-card.status-pending {
  border-left-color: #f59e0b;
}

.review-card.status-responded {
  border-left-color: #10b981;
}

.review-card.status-flagged {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

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

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-name {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.star {
  color: #334155;
  font-size: 18px;
}

.star.filled {
  color: #fbbf24;
}

.review-badges {
  display: flex;
  gap: 8px;
}

.source-badge,
.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}

.source-google {
  background: rgba(234, 67, 53, 0.15);
  color: #f87171;
}

.source-yelp {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.source-facebook {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.source-internal {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-responded {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-flagged {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.review-info {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.review-id {
  color: #3b82f6;
  font-weight: 600;
}

.separator {
  color: #334155;
}

.review-comment {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.review-response {
  background: #0f172a;
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid #10b981;
  margin-top: 16px;
}

.response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.response-label {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.response-date {
  font-size: 12px;
  color: #64748b;
}

.response-text {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.review-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #334155;
}

.review-actions button {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-respond {
  background: #3b82f6;
  color: white;
}

.btn-respond:hover {
  background: #2563eb;
}

.btn-flag {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid #ef4444;
}

.btn-flag:hover {
  background: rgba(239, 68, 68, 0.2);
}
