.sort-header {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.sort-header:hover {
  color: white;
}

.filter-pill,
.proc-pill {
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  transition: all 150ms ease;
}

.filter-pill {
  background: rgb(15 23 42);
  color: rgb(203 213 225);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.filter-pill:hover {
  border-color: rgb(103 232 249 / 0.7);
  color: white;
}

.filter-pill.active,
.proc-pill.active {
  background: rgb(34 211 238);
  color: rgb(8 47 73);
  font-weight: 700;
}

.proc-pill {
  color: rgb(203 213 225);
}

.proc-pill:not(.active):hover {
  color: white;
  background: rgb(30 41 59);
}

.cell-muted {
  color: rgb(148 163 184);
}


/* Compact table layout: keep every column visible without horizontal scrolling. */
.items-table-cell,
.sort-header {
  overflow: hidden;
  text-overflow: ellipsis;
}

.items-table-cell {
  white-space: nowrap;
}

.sort-header {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.compact-cell {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.wrap-cell {
  white-space: normal;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .sort-header,
  .compact-cell {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}


.copy-cell {
  cursor: pointer;
  color: rgb(103 232 249);
  font-weight: 600;
}

.copy-cell:hover {
  background: rgb(8 47 73 / 0.45);
  color: white;
}

.copy-cell.copied {
  background: rgb(34 197 94 / 0.25);
  color: rgb(187 247 208);
}


.level-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(2 6 23);
  padding: 0.5rem 0.65rem;
  color: white;
  outline: none;
}

.level-input:focus {
  border-color: rgb(34 211 238);
}


.trifecta-button {
  transition: all 150ms ease;
}

.trifecta-button:hover {
  color: white;
  background: rgb(15 23 42);
}

.trifecta-button.active {
  background: rgb(34 211 238);
  color: rgb(8 47 73);
}

.trifecta-button.active span {
  color: rgb(8 47 73);
}


.realm-pill {
  border-radius: 9999px;
  background: rgb(15 23 42);
  border: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(203 213 225);
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  transition: all 150ms ease;
}

.realm-pill:hover {
  border-color: rgb(103 232 249 / 0.7);
  color: white;
}

.realm-pill.active {
  background: rgb(34 211 238);
  color: rgb(8 47 73);
  font-weight: 700;
}
