/**
 * ══════════════════════════════════════════════════════════════════════════════
 * GÖKÇEOS PROTOTYPE UI V2 — İTİBAR & MİSAFİR DENEYİMİ YÖNETİMİ CSS
 * Google Reviews, TripAdvisor, Otelz, Booking.com, AI Auto-Reply & Crisis Radar
 * ══════════════════════════════════════════════════════════════════════════════
 */

.rep-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
              #090d16;
  color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}

.rep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.rep-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rep-logo-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

.rep-title-area h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rep-title-area p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.15rem 0 0 0;
}

.rep-tabs {
  display: flex;
  background: rgba(2, 6, 23, 0.6);
  padding: 0.25rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0.25rem;
}

.rep-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
}

.rep-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.rep-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.rep-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Reviews Feed & AI Reply Box */
.rep-feed-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.25rem;
}

@media (max-width: 1050px) {
  .rep-feed-layout {
    grid-template-columns: 1fr;
  }
}

.rep-review-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition: border-color 0.2s;
}

.rep-review-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.rep-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rep-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.rep-platform-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rep-tag-google { background: rgba(234, 67, 53, 0.15); color: #f87171; border: 1px solid rgba(234, 67, 53, 0.3); }
.rep-tag-tripadvisor { background: rgba(0, 175, 135, 0.15); color: #34d399; border: 1px solid rgba(0, 175, 135, 0.3); }
.rep-tag-booking { background: rgba(0, 53, 128, 0.25); color: #60a5fa; border: 1px solid rgba(0, 53, 128, 0.4); }
.rep-tag-otelz { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* Score Breakdown Bar */
.rep-score-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rep-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.rep-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.2rem;
}

.rep-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}
