.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);
}

.roleBadge {
  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;
}

.roleBadge[data-role="admin"] {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

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

.viewAsBtn {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--color-accent, #22d3ee);
  border-radius: 4px;
  background: transparent;
  color: var(--color-accent, #22d3ee);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}

.viewAsBtn:hover {
  background: var(--color-accent, #22d3ee);
  color: var(--color-bg, #0f0f1a);
}

.viewAsBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.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(2),
  .table td:nth-child(2) {
    display: none;
  }
}
