/* admin.css — zone admin (tables, badges) */
/* ===================== Zone admin ===================== */
.dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; font-weight: 900; }

.admin-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.admin-wide { margin-top: 18px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.section-head h3 { margin: 0; }

.search-input {
  width: min(280px, 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.checkbox-row input { width: 18px; height: 18px; }

.table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  white-space: nowrap;
}
.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.035); }
.admin-table td.actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--border);
}
.pill.admin { color: var(--amber); border-color: rgba(255, 209, 102, 0.45); background: rgba(255, 209, 102, 0.10); }
.pill.player { color: var(--cyan); border-color: rgba(85, 216, 255, 0.4); background: rgba(85, 216, 255, 0.08); }
.pill.ok { color: var(--acid); border-color: rgba(140, 255, 102, 0.4); background: rgba(140, 255, 102, 0.08); }
.pill.banned { color: var(--danger); border-color: rgba(255, 107, 107, 0.45); background: rgba(255, 107, 107, 0.10); }

@media (max-width: 940px) {
  .admin-content { grid-template-columns: 1fr; }
}
