.oj-submission-detail-row > td {
  background: #f8fafc;
}

.oj-table .oj-badge-button {
  border: 0;
}

.oj-recent-submissions-user-col {
  min-width: 110px;
  width: 110px;
}

.oj-submission-id-actions {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  white-space: nowrap;
}

.oj-submission-submitted-actions {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  white-space: nowrap;
}

.oj-submission-inline-detail {
  background: #f8fafc;
  border-left: 3px solid var(--oj-accent);
}

.oj-code-pre,
.oj-pre {
  border-radius: 6px;
}

.oj-code-pre {
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre;
}

.oj-inline-toggle {
  color: var(--oj-accent);
  font-weight: 750;
  padding: 0;
  text-decoration: none;
}

@media (min-width: 1600px) {
  .oj-submissions-layout {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: min(1500px, calc(100vw - 48px));
  }

  .oj-submissions-layout .oj-table-scroll-lg {
    max-height: min(800px, calc(100vh - 180px));
  }

  .oj-recent-submissions-user-col {
    min-width: 180px;
    width: 180px;
  }
}
