/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.log-line {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 2px 0;
}

.log-line:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.log-timestamp {
  user-select: none;
}

.logs-nowrap .log-line {
  white-space: nowrap;
  word-break: normal;
}

.logs-nowrap {
  overflow-x: auto;
}

.sidebar-margin {
  margin-left: 0;
}

@media (min-width: 1024px) {
  .sidebar-margin {
    margin-left: 18rem;
  }
}

.diff-add {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.diff-del {
  background-color: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.diff-hunk {
  color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.1);
}

.diff-header {
  color: #a78bfa;
  font-weight: 600;
}

.diff-meta {
  color: #94a3b8;
  font-weight: 600;
}

.diff-ctx {
  color: #cbd5e1;
}

.diff-line:hover {
  filter: brightness(1.2);
}