/* ---- Public hardware/software wallet comparison page ---- */

.wc-table-wrap {
  overflow-x: auto;
  background: var(--tmw-surface);
  border: 1px solid var(--tmw-border);
  border-radius: 0.9rem;
}

.wc-table {
  border-collapse: collapse;
  font-size: 0.88rem;
}

.wc-table th,
.wc-table td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--tmw-border);
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
}

.wc-table tbody tr:last-child th,
.wc-table tbody tr:last-child td {
  border-bottom: none;
}

.wc-table tbody tr:hover td {
  background: var(--tmw-surface-alt);
}

.wc-table thead th {
  border-bottom: 2px solid var(--tmw-border);
  vertical-align: bottom;
  padding-bottom: 1rem;
}

.wc-table tbody th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tmw-text-muted);
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: var(--tmw-surface);
}

.wc-col-criteria {
  position: sticky;
  left: 0;
  background: var(--tmw-surface);
  z-index: 1;
}

.wc-col-wallet {
  min-width: 170px;
}

.wc-name {
  font-weight: 700;
  color: var(--tmw-text);
  font-size: 1rem;
}

.wc-type-badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wc-type-hardware {
  color: #6b4fbb;
  background: color-mix(in srgb, #6b4fbb 12%, transparent);
}

.wc-type-software {
  color: #1a7fbb;
  background: color-mix(in srgb, #1a7fbb 12%, transparent);
}

.wc-score {
  margin-top: 0.3rem;
  font-weight: 700;
  color: var(--tmw-orange, #f7931a);
  font-size: 1.1rem;
}

.wc-score-max {
  font-weight: 500;
  color: var(--tmw-text-muted);
  font-size: 0.75rem;
}

.wc-table td.wc-wrap-text {
  white-space: normal;
  max-width: 220px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .wc-table {
    font-size: 0.8rem;
  }

  .wc-table th,
  .wc-table td {
    padding: 0.6rem 0.75rem;
  }
}
