/* Layout specific to pokeger — not part of the shared design system,
   only cross-project tokens/components come from main.css. */

/* ─────────────────────────────────────────────
   Stats
   ───────────────────────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.stat-card {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-2);
}

.stat-detail {
  font-size: 11px;
  color: var(--text-3);
}

.stat-bar-wrap {
  width: 100%;
  height: 4px;
  margin-top: var(--space-1);
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
}

.stat-bar {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.5s ease;
}

/* ─────────────────────────────────────────────
   Filter bar
   ───────────────────────────────────────────── */
.filter-bar {
  margin-bottom: var(--space-5);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.filter-chip-remove {
  color: var(--text-3);
}

.filter-chip-remove:hover {
  color: var(--danger);
  text-decoration: none;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.filter-form select,
.filter-form input[type="text"] {
  padding: var(--space-2) var(--space-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
}

/* ─────────────────────────────────────────────
   Pokemon table
   ───────────────────────────────────────────── */
.pokemon-table {
  overflow-x: auto;
}

.pokemon-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pokemon-table th,
.pokemon-table td {
  padding: var(--space-2) var(--space-3);
  text-align: center;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.pokemon-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pokemon-table tbody tr:hover {
  background: var(--bg-2);
}

.pokemon-table-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.pokemon-table-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.empty-state {
  padding: var(--space-7) var(--space-4);
  text-align: center;
  color: var(--text-3);
  white-space: normal;
}
