/* Log message styles - list/table layout */
.logMessage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-primary);
  background-color: var(--color-surface);
  transition: background-color 0.2s ease;
}

.logMessage:hover {
  background-color: var(--color-highlight-gray);
}

.logMetadata {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logContent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logText {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.logSummary {
  padding: 8px 12px;
  border-radius: var(--object-radius-small);
  font-size: 12px;
  line-height: 1.5;
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

.logSummary strong {
  color: var(--color-secondary);
  font-weight: 600;
}

.logDocuments {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark theme support */
[data-theme="dark"] .logMessage {
  border-bottom-color: var(--color-primary);
}

[data-theme="dark"] .logMessage:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .logMetadata {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .logSummary {
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .logDocuments {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 640px) {
  .logMessage {
    padding: 10px 12px;
  }
  
  .logText {
    font-size: 13px;
  }
}

