/* =============================================================================
   SIP Discovery Engine - AI Evidence Log View Styles
   ============================================================================= */

.evidence-log-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.log-toolbar {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.log-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.log-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.log-entry-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all var(--trans-fast);
}

.log-entry-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

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

.log-stage-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.stage-collection { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.stage-preprocessing { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.stage-extraction { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.stage-analysis { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.stage-synthesis { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); }
.stage-validation { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }

.log-event-type {
  font-weight: 600;
  color: #fff;
  font-size: 0.88rem;
}

.log-timestamp {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', Consolas, monospace;
}

.log-details-pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.76rem;
  color: #94a3b8;
  overflow-x: auto;
  max-height: 200px;
}

