/**
 * AdminLogsPage Styles
 *
 * Log viewer specific styles: monospace container, color coding, controls.
 */

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.loadGroup {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.controlLabel {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.countInput {
  width: 100px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  text-align: center;
}

.countInput:focus {
  outline: none;
  border-color: var(--primary-color, #f25843);
  box-shadow: 0 0 0 3px rgba(242, 88, 67, 0.1);
}

.refreshGroup {
  display: flex;
  align-items: center;
}

.toggleLabel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.toggleLabel input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: var(--primary-color, #f25843);
}

.logContainer {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: var(--bg-tertiary, #1e1e1e);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
}

:global(.dark-theme) .logContainer {
  background: #0d1117;
  border-color: #30363d;
}

:global(:not(.dark-theme)) .logContainer {
  background: #fafafa;
}

.logLine {
  white-space: pre-wrap;
  word-break: break-all;
  padding: 1px 0;
  color: var(--text-primary);
}

.logLine:hover {
  background: var(--bg-secondary, rgba(255, 255, 255, 0.04));
}

.logDirHint {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: monospace;
}
