* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #08090b;
  color: #f6f7f9;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-page {
  width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px 1fr;
  background: #101114;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 18px 13px 16px;
  background: linear-gradient(180deg, #050608 0%, #090a0d 52%, #050608 100%);
  border-right: 1px solid #24252a;
}

.brand {
  margin: 0 6px 20px;
}

.logo {
  width: 132px;
  height: auto;
  display: block;
}

.portal {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  align-items: center;
  margin: 0 4px 19px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #57585e;
  background: linear-gradient(145deg, #17191e, #050506);
}

.profile strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.profile small {
  color: #ef3333;
  font-size: 10px;
  font-weight: 800;
}

.nav {
  display: grid;
  gap: 4px;
}

.nav a {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #e1e1e1;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.nav a.active {
  background: #c21515;
  color: #fff;
}

.nav .indent {
  min-height: 26px;
  padding-left: 38px;
  color: #b8bac0;
  font-size: 10px;
  font-weight: 700;
}

.main {
  min-width: 0;
  padding: 18px 20px 22px;
  background:
    radial-gradient(circle at 70% 0%, rgba(128, 128, 128, .10), transparent 30%),
    #101114;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 900;
}

.title {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid #2a2d34;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.42)),
    url("asset/banner-member.png") center / cover no-repeat;
}

.title small {
  color: #ff3438;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.title h1 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.title p {
  max-width: 720px;
  color: #d2d6df;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.stat,
.panel {
  border: 1px solid #2a2d34;
  border-radius: 8px;
  background: linear-gradient(180deg, #181a1f, #121418);
}

.stat {
  min-height: 95px;
  padding: 15px;
}

.stat span {
  display: block;
  color: #b7bac2;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 25px;
}

.stat small {
  color: #21d07a;
  font-size: 10px;
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 14px;
}

.panel {
  padding: 15px;
}

.panel h2 {
  margin-bottom: 13px;
  font-size: 16px;
  text-transform: uppercase;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
}

.search,
.select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #30343d;
  border-radius: 6px;
  background: #0b0c10;
  color: #fff;
  outline: 0;
}

.select {
  min-width: 135px;
}

.table {
  display: grid;
  gap: 0;
  font-size: 11px;
}

.row {
  display: grid;
  grid-template-columns: 1.2fr .85fr .8fr .8fr .75fr;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  border-bottom: 1px solid #292c34;
}

.row.header {
  color: #b7bac2;
  font-weight: 900;
  text-transform: uppercase;
}

.row:last-child {
  border-bottom: 0;
}

.badge {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #233329;
  color: #21d07a;
  font-size: 10px;
  font-weight: 900;
}

.badge.red {
  background: #35191b;
  color: #ff454a;
}

.list {
  display: grid;
  gap: 10px;
}

.item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  padding-bottom: 10px;
  border-bottom: 1px solid #292c34;
  font-size: 12px;
}

.item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.thumb {
  width: 44px;
  height: 44px;
  border-radius: 7px;
  background: #242832 center / cover no-repeat;
}

.thumb.member {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #f4f4f4 0 7px, transparent 8px),
    radial-gradient(circle at 50% 100%, #d9d9d9 0 18px, transparent 19px),
    #171a20;
}

.thumb.event {
  background-image: url("asset/update-konser.png");
}

.thumb.live {
  background-image: url("asset/live-stream-sample.png");
}

.item strong {
  display: block;
  margin-bottom: 4px;
}

.item small {
  color: #aeb2bd;
  font-size: 10px;
  font-weight: 700;
}

.btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 5px;
  background: #c91418;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.btn.secondary {
  background: #fff;
  color: #111318;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-card {
  min-height: 150px;
  padding: 14px;
  border: 1px solid #292c34;
  border-radius: 8px;
  background: #101216;
}

.mini-card h3 {
  margin-bottom: 8px;
  font-size: 14px;
}

.mini-card p {
  color: #b8bcc6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

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

  .sidebar {
    display: none;
  }

  .stats,
  .grid,
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .main {
    padding: 14px;
  }

  .stats,
  .grid,
  .cards,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 9px 0;
  }
}
