/* Global Event Log — Live Feed Styles */
.event-log-wrapper { max-width: 800px; margin: 0 auto; padding: 1rem; }
.event-log-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.event-log-header h3 { margin: 0; font-size: 1.3rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid #444; background: transparent; color: inherit; cursor: pointer; font-size: 0.8rem; transition: all 0.2s; }
.chip:hover { background: rgba(255,255,255,0.1); }
.chip.active { background: #3b82f6; color: white; border-color: #3b82f6; }
.event-stats-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 0.75rem; background: rgba(255,255,255,0.05); border-radius: 0.5rem; font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.75rem; }
.event-feed { display: flex; flex-direction: column; gap: 0.3rem; max-height: 600px; overflow-y: auto; }
.event-item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 0.4rem; background: rgba(255,255,255,0.03); transition: background 0.2s; }
.event-item:hover { background: rgba(255,255,255,0.07); }
.event-item.highlight { background: rgba(251,191,36,0.08); }
.event-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.event-content { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.event-desc { font-size: 0.85rem; line-height: 1.3; }
.event-meta { font-size: 0.7rem; color: #6b7280; }
.empty-feed { text-align: center; padding: 2rem; color: #6b7280; font-size: 0.9rem; }
.loading { text-align: center; padding: 2rem; color: #6b7280; }

/* Dark mode */
.dark .chip { border-color: #555; }
.dark .chip.active { background: #2563eb; border-color: #2563eb; }
.dark .event-stats-bar { background: rgba(255,255,255,0.05); }
.dark .event-item { background: rgba(255,255,255,0.03); }
.dark .event-item:hover { background: rgba(255,255,255,0.07); }
.dark .event-item.highlight { background: rgba(251,191,36,0.08); }

/* Light mode */
.light .chip { border-color: #d1d5db; color: #374151; }
.light .chip.active { background: #3b82f6; color: white; }
.light .event-stats-bar { background: #f3f4f6; }
.light .event-item { background: #f9fafb; }
.light .event-item:hover { background: #f3f4f6; }
.light .event-item.highlight { background: #fef9c3; }
.light .event-desc { color: #1f2937; }
.light .event-meta { color: #9ca3af; }

/* Mobile */
@media (max-width: 768px) {
  .event-log-header { flex-direction: column; }
  .filter-chips { justify-content: center; }
  .chip { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
  .event-feed { max-height: 400px; }
}
