/* ANSI Colors */
.ansi-bold {
  font-weight: bold;
}
.ansi-black {
  color: #333333;
}
.ansi-red {
  color: #cd3333;
}
.ansi-green {
  color: #33cd33;
}
.ansi-yellow {
  color: #cdcd33;
}
.ansi-blue {
  color: #3333ee;
}
.ansi-magenta {
  color: #cd33cd;
}
.ansi-cyan {
  color: #33cdcd;
}
.ansi-white {
  color: #e5e5e5;
}

/* Bright variants */
.ansi-bright-black {
  color: #7f7f7f;
}
.ansi-bright-red {
  color: #990000;
}
.ansi-bright-green {
  color: #009900;
}
.ansi-bright-yellow {
  color: #999900;
}
.ansi-bright-blue {
  color: #5c5c99;
}
.ansi-bright-magenta {
  color: #990099;
}
.ansi-bright-cyan {
  color: #009999;
}
.ansi-bright-white {
  color: #999999;
}

.log-uuid {
  min-width: 20px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* All log lines container */
.good-job-log-lines {
  overflow-x: auto;
}

/* Single log line container */
.good-job-log-line {
  font-family: monospace;
  font-size: 0.8rem;
  line-height: 1;
  margin: 2px 0;
  padding: 2px 4px;
  display: flex;
  white-space: nowrap;
  width: max-content; /* Make width match the content width */
}

.good-job-log-line:hover {
  background-color: #ccc;
}

.good-job-log-line > span {
  display: inline-block;
  white-space: pre;
}

.good-job-execution-log {
  color: #333;
  background: #f0f0f0;
}

.text-truncate-link {
  display: inline-block;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.good-job-arg-name {
  white-space: nowrap;
}

.good-job-arg-grid {
  display: grid;
  grid-template-columns: auto 1fr;
}

.good-job-arg-value,
.good-job-arg-name {
  padding: 0.35em 0.4em;
}

.good-job-arg-name,
.good-job-arg-value {
  border-bottom: 1px solid #e0e0e0;
}

.good-job-arg-row {
  display: contents;
}

.good-job-arg-row:hover > * {
  background-color: #ccc;
}

/* This ensures the last row doesn't have a bottom border */
.good-job-arg-grid .good-job-arg-row:last-child * {
  border-bottom: none;
}
