/* RAG Kaynaklar - Tıklanabilir Linkler */
.rag-source-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.rag-source-link:hover {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 4px;
}

.rag-source-static {
  color: #64748b;
  font-weight: 500;
}

/* Kaynak Bölümü */
.sources-section {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.sources-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-category {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid #cbd5e1;
}

.source-category h4 {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.source-item {
  padding: 8px 0;
  line-height: 1.7;
  color: #334155;
  transition: background 0.2s ease;
}

.source-item:hover {
  background: #f1f5f9;
  padding-left: 8px;
  border-radius: 6px;
}

/* Güvenilirlik Rozetleri */
.source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  margin-right: 8px;
  font-weight: 700;
}

.badge-high {
  background: #22c55e;
  color: white;
}

.badge-medium {
  background: #eab308;
  color: white;
}

.badge-low {
  background: #ef4444;
  color: white;
}

/* Responsive */
@media (max-width: 640px) {
  .sources-section {
    padding: 12px 16px;
  }
  
  .rag-source-link:hover {
    padding: 1px 4px;
  }
}

/* Dark Mode Desteği */
/* Dark Mode Desteği - Kaynaklar kısmını açık tut (Kullanıcı talebi) */
@media (prefers-color-scheme: dark) {
  .sources-section {
    background: #f8fafc; /* Açık arka plan */
    border-color: #e2e8f0;
  }
  
  .sources-section h3 {
    color: #1e293b;
  }
  
  .source-category h4 {
    color: #475569;
  }
  
  .source-item {
    color: #334155;
  }
  
  .source-item:hover {
    background: #f1f5f9;
  }
  
  .rag-source-link {
    color: #2563eb;
  }
  
  .rag-source-link:hover {
    color: #1d4ed8;
    background: #eff6ff;
  }
}
