/* eldLogs.css */
#eldDropzone {
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

#eldDropzone.dragover {
  background-color: rgba(0, 123, 255, 0.1);
  border-color: #007bff;
}

#eldFilterPills {
  margin-bottom: 15px;
}

.eld-pill {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.eld-pill.active {
  background: var(--primary-color, #007bff);
  color: white;
  border-color: var(--primary-color, #007bff);
}

.eld-pill .badge {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
}

.eld-pill.active .badge {
  background: rgba(255, 255, 255, 0.2);
}

.eld-timeline-node {
  display: flex;
  margin-bottom: 15px;
  position: relative;
}

.eld-timeline-line {
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: -15px;
  width: 2px;
  background: var(--border-color);
}

.eld-timeline-node:last-child .eld-timeline-line {
  display: none;
}

.eld-timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--bg-subtle);
  border: 2px solid var(--border-color);
  z-index: 1;
}

.eld-timeline-content {
  margin-left: 15px;
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 15px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.eld-timeline-content:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.eld-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.eld-timeline-time {
  font-weight: bold;
  font-size: 13px;
  color: var(--text-color);
}

.eld-timeline-module {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

.eld-timeline-message {
  font-size: 14px;
  word-break: break-word;
}

.eld-timeline-asset {
  display: inline-block;
  font-size: 11px;
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  padding: 2px 6px;
  border-radius: 10px;
  margin-right: 5px;
}

.eld-raw-log {
  display: none;
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 12px;
  margin-top: 10px;
  overflow-x: auto;
  position: relative;
}

.eld-raw-log.expanded {
  display: block;
}

.eld-copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #ccc;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.eld-copy-btn:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}
