.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary, #e2e8f0);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid var(--color-border, #2d2d3d);
  color: var(--text-secondary, #828291);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border, #2d2d3d);
  color: var(--text-primary, #e2e8f0);
}

.actionBadge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.actionBadge[data-action="start"] {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.actionBadge[data-action="stop"] {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.writeBadge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.writeBadge[data-write="yes"] {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.writeBadge[data-write="no"] {
  background: rgba(148, 163, 184, 0.1);
  color: #828291;
}

.ip {
  font-family: monospace;
  font-size: 0.82rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pageBtn {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border, #2d2d3d);
  border-radius: 4px;
  background: transparent;
  color: var(--text-primary, #e2e8f0);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}

.pageBtn:hover:not(:disabled) {
  border-color: var(--color-accent, #22d3ee);
  background: rgba(34, 211, 238, 0.08);
}

.pageBtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pageNum {
  font-size: 0.85rem;
  color: var(--text-secondary, #828291);
}

.loading,
.error,
.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary, #828291);
}

.error {
  color: #ef4444;
}

@media (max-width: 600px) {
  .table th:nth-child(6),
  .table td:nth-child(6) {
    display: none;
  }
}
