/* Test VM section of the job details (vmtest.js). */
.vmtest-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 12px
}
.vmtest-delivery {
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px 14px;
  margin-top:10px;
  background:#fff
}
.vmtest-head {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px
}
.vmtest-head small,.vmtest-logs small {
  color:var(--muted)
}
.vmtest-badge {
  display:inline-block;
  border-radius:999px;
  padding:1px 10px;
  font-size:12px;
  font-weight:600
}
.vmtest-active {
  background:#e7f0f6;
  color:#2c5d7c
}
.vmtest-pass {
  background:#e3f4ef;
  color:var(--teal-dark)
}
.vmtest-warn {
  background:#fff4dd;
  color:#8a5a00
}
.vmtest-fail {
  background:#fdeceb;
  color:#a3302a
}
.vmtest-line {
  margin:6px 0 0
}
.vmtest-progress {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:6px
}
.vmtest-progress progress {
  flex:1;
  max-width:280px
}
.vmtest-error {
  margin-top:8px;
  border-left:3px solid #d0554d;
  padding:6px 10px;
  background:#fff7f6;
  overflow-wrap:anywhere
}
.vmtest-error strong,.vmtest-error span {
  display:block
}
.vmtest-excerpt {
  margin-top:6px
}
.vmtest-excerpt pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-height:260px;
  overflow:auto;
  font-size:12px;
  background:var(--bg);
  border-radius:8px;
  padding:8px 10px;
  margin:6px 0 0
}
.vmtest-gallery {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:8px;
  margin-top:10px
}
.vmtest-gallery a {
  display:block;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:#0d1a22
}
.vmtest-gallery img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:contain
}
.vmtest-logs,.vmtest-notes {
  margin:10px 0 0;
  padding-left:18px
}
.vmtest-logs li {
  overflow-wrap:anywhere
}
.vmtest-logs small {
  margin-left:8px
}
.vmtest-notes {
  color:var(--muted);
  font-size:12px
}
