.vscode-codeql__result-table {
  display: table;
  border-collapse: collapse;
  width: 100%;
}

.vscode-codeql__table-selection-header {
  display: flex;
  padding: 0.5em 0;
  align-items: center;
  justify-content: space-between;
}

.vscode-codeql__table-selection-header-item {
  padding-left: 2em;
}

.vscode-codeql__table-selection-header select {
  border: 0;
}

.vscode-codeql__result-table-alert-extras {
  display: inline-block;
  text-align: left;
  margin-left: auto;
  background-color: transparent;
  color: inherit;
}

.vscode-codeql__result-table-toggle-diagnostics {
  display: inline-block;
}

/* Keep the checkbox and its label in horizontal alignment. */
.vscode-codeql__result-table-toggle-diagnostics label,
.vscode-codeql__result-table-toggle-diagnostics input {
  display: inline-block;
  vertical-align: middle;
}

.vscode-codeql__result-table-toggle-diagnostics input {
  margin: 3px 3px 1px 13px;
}

.vscode-codeql__result-table th {
  border-top: 1px solid rgba(88, 96, 105, 0.25);
  border-bottom: 1px solid rgba(88, 96, 105, 0.25);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Helvetica,
    Arial,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji;
  background: rgba(225, 228, 232, 0.25);
  padding: 0.25em 0.5em;
  text-align: center;
  font-weight: normal;
  opacity: 0.6;
}

.vscode-codeql__result-table .sort-asc,
.vscode-codeql__result-table .sort-desc,
.vscode-codeql__result-table .sort-none {
  cursor: pointer;
  user-select: none;
}

.vscode-codeql__result-table .sort-none::after {
  /* Want to take up the same space as the other sort directions */
  content: " ▲";
  visibility: hidden;
}

.vscode-codeql__result-table .sort-asc::after {
  content: " ▲";
}

.vscode-codeql__result-table .sort-desc::after {
  content: " ▼";
}

.vscode-codeql__result-table td {
  margin: 0;
  padding: 0;
  padding: 0.25em 0.5em;
  white-space: pre-wrap;
  text-align: left;
}

select {
  background-color: var(--vscode-dropdown-background);
  color: var(--vscode-dropdown-foreground);
  border-color: var(--vscode-dropdown-border);
  font-family: inherit;
  font-size: inherit;
}

.vscode-codeql__result-tables-graph {
  background-color: transparent;
  border-color: var(--vscode-dropdown-border);
  color: var(--vscode-editor-foreground);
  text-align: center;
  width: 100%;
}

.vscode-codeql__result-tables-updating-text {
  margin-left: 1em;
}

.vscode-codeql__result-table-row--odd {
  background-color: inherit;
}

.vscode-codeql__result-table-row--even {
  background-color: var(--vscode-textBlockQuote-background);
}

.vscode-codeql__result-table-row--selected {
  background-color: var(--vscode-editor-findMatchBackground);
}

td.vscode-codeql__icon-cell {
  text-align: center;
  position: relative;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  width: 24px;
}

td.vscode-codeql__path-index-cell {
  text-align: right;
}

/* Both of these are !important to override the
   .vscode-codeql__result-table th { text-align: center } above */
.vscode-codeql__alert-message-cell {
  text-align: left !important;
}

.vscode-codeql__location-cell {
  text-align: right !important;
}

.vscode-codeql__taxa-cell {
  text-align: left !important;
}

.vscode-codeql__taxa-cell-contents {
  background-color: transparent;
  display: grid;
}
