.table-responsive {
  min-height: 0.01%;
  overflow-x: auto;
}

.list-table {
  color: var(--text-primary);
}

.list-table .table-header {
  height: 30px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.list-table .table-body {
  cursor: pointer;
}

.list-table .table-body .table-tr {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

/* .list-table .table-body .table-tr:last-child,
.list-table .table-body .table-tr:first-child {
  border-bottom: none;
} */

.list-table .table-body .table-tr:hover,
.list-table .table-body .table-tr.on-context {
  background-color: var(--accent-background-secondary);
}

.list-table .table-body .table-tr .table-td {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-primary);
  height: 38px;
  cursor: pointer;
  border: none;
}

.list-table .table-body .table-tr .table-td .name {
  overflow: hidden;
}

.list-table .table-body .table-tr .table-td .file-protocol-sticker {
  box-shadow: 0px 0px 2px var(--accent-color);
  height: 25px;
  width: 25px;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  padding: 2px;
}

html[data-theme="dark"]
  .list-table
  .table-body
  .table-tr
  .table-td
  .file-protocol-sticker
  img {
  filter: invert(100%);
}

.list-table .table-body .table-tr .table-td .down-icon,
.list-table .table-body .table-tr .table-td .folder-icon,
.list-table .table-body .table-tr .table-td .default-icon {
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--accent-color);
  margin-right: 0.5rem;
}

.list-table .table-body .table-tr .table-td .default-icon {
  font-size: 1.25rem;
  color: rgb(225, 225, 225);
  width: 1em;
}

.list-table .table-body .table-tr .table-td .icon-image {
  margin-right: 0.5rem;
  height: 1rem;
  width: 1rem;
  object-fit: contain;
  user-select: none;
}

.table thead {
  background-color: var(--accent-background-secondary);
}

.table thead td,
.table thead th {
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}
