:root {
  --bm-bg: #0b1020;
  --bm-panel: #121a2d;
  --bm-panel-2: #17223a;
  --bm-border: rgba(255, 255, 255, .10);
  --bm-text: #f4f7fb;
  --bm-muted: #9aa8bf;
  --bm-accent: #6d7cff;
  --bm-accent-2: #8d6bff;
  --bm-success: #41d58a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  padding: 22px;
  background: radial-gradient(circle at top, #17223a 0, var(--bm-bg) 45%, #070b15 100%);
  color: var(--bm-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bm-admins {
  max-width: 1180px;
  margin: 0 auto;
  line-height: 1.45;
}

.bm-admins__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 34px 36px;
  border: 1px solid var(--bm-border);
  border-radius: 22px 22px 0 0;
  background: radial-gradient(circle at 85% 15%, rgba(141, 107, 255, .32), transparent 30%), radial-gradient(circle at 10% 100%, rgba(109, 124, 255, .22), transparent 32%), linear-gradient(135deg, #141d38 0%, var(--bm-bg) 100%);
  box-shadow: 0 20px 55px rgba(2, 5, 15, .28);
}

.bm-admins__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #aeb8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bm-admins h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.bm-admins__hero p {
  margin: 10px 0 0;
  color: var(--bm-muted);
  font-size: 15px;
}

.bm-admins__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(65, 213, 138, .24);
  border-radius: 999px;
  background: rgba(65, 213, 138, .08);
  color: #a9f2cb;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bm-admins__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bm-success);
  box-shadow: 0 0 0 4px rgba(65, 213, 138, .13), 0 0 16px rgba(65, 213, 138, .7);
}

.bm-admins__table-wrap {
  overflow-x: auto;
  border-right: 1px solid var(--bm-border);
  border-left: 1px solid var(--bm-border);
  background: var(--bm-panel);
}

.bm-admins__table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
}

.bm-admins__table th,
.bm-admins__table td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--bm-border);
  text-align: left;
  vertical-align: middle;
}

.bm-admins__table th {
  background: rgba(255, 255, 255, .035);
  color: #b9c4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bm-admins__table th:first-child,
.bm-admins__table td:first-child { width: 26%; }
.bm-admins__table th:nth-child(2),
.bm-admins__table td:nth-child(2) { width: 54%; }
.bm-admins__vk-col,
.bm-admins__table td:last-child { width: 20%; text-align: right; }

.bm-admins__table tbody tr { transition: background-color .18s ease; }
.bm-admins__table tbody tr:hover { background: linear-gradient(90deg, rgba(109, 124, 255, .08), rgba(141, 107, 255, .04)); }
.bm-admins__table td { color: var(--bm-text); font-size: 15px; }
.bm-admins__table td:first-child { color: #dfe5ff; font-weight: 750; }
.bm-admins__table td:nth-child(2) { color: #c1cada; }

.bm-admins__vk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 8px 12px;
  border: 1px solid rgba(109, 124, 255, .4);
  border-radius: 10px;
  background: rgba(109, 124, 255, .1);
  color: #cbd1ff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.bm-admins__vk:hover { background: linear-gradient(135deg, rgba(109, 124, 255, .28), rgba(141, 107, 255, .28)); color: #fff; }

.bm-admins__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--bm-border);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: var(--bm-panel-2);
  color: var(--bm-muted);
  font-size: 12px;
}

.bm-admins__footer strong { color: #d7dcff; }

@media (max-width: 720px) {
  body { padding: 10px; }
  .bm-admins__hero { display: block; padding: 26px 22px; }
  .bm-admins__badge { margin-top: 18px; }
  .bm-admins__table-wrap { overflow: visible; border: 0; }
  .bm-admins__table { min-width: 0; }
  .bm-admins__table thead { display: none; }
  .bm-admins__table,
  .bm-admins__table tbody,
  .bm-admins__table tr,
  .bm-admins__table td { display: block; width: 100% !important; }
  .bm-admins__table tr { margin: 10px 0; padding: 12px 16px; border: 1px solid var(--bm-border); border-radius: 16px; background: var(--bm-panel); }
  .bm-admins__table td,
  .bm-admins__table td:last-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; border: 0; text-align: right; }
  .bm-admins__table td::before { content: attr(data-label); color: var(--bm-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
  .bm-admins__footer { display: block; padding: 15px 18px; border-radius: 0 0 16px 16px; }
  .bm-admins__footer span { display: block; }
  .bm-admins__footer span + span { margin-top: 6px; }
}
