body {
  font-family: "Be Vietnam Pro", Inter, sans-serif;
}

.auth-shell {
  max-width: 520px;
}

.auth-card,
.topup-card,
.metric-card,
.dashboard-hero {
  border: 1px solid rgba(120, 130, 160, 0.16);
  box-shadow: 0 14px 40px rgba(30, 35, 90, 0.08);
}

.auth-mark,
.admin-brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7f4 100%);
}

.metric-card {
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}

.metric-card span {
  display: block;
  color: #6b7280;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.demo-warning {
  border-left: 4px solid #f59e0b;
}

.topup-panel {
  padding: 24px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.admin-shell {
  min-height: 100vh;
  display: flex;
  background: #f5f7fb;
}

.admin-sidebar {
  width: 270px;
  background: #111827;
  color: #fff;
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-bottom: 28px;
}

.admin-brand:hover,
.admin-nav a:hover {
  color: #fff;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.admin-nav a.active,
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.admin-main {
  flex: 1;
  min-width: 0;
  padding: 28px;
}

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

.chart-card canvas {
  min-height: 220px;
}

.service-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 168px;
  padding: 18px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(120, 130, 160, 0.16);
  color: #111827;
  text-align: center;
  box-shadow: 0 10px 26px rgba(30, 35, 90, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  color: #111827;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(30, 35, 90, 0.12);
}

.service-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: #f8fafc;
}

.service-logo img {
  max-width: 56px;
  max-height: 48px;
  object-fit: contain;
}

.service-card small {
  color: #0f9f6e;
  font-weight: 600;
}

@media (max-width: 900px) {
  .dashboard-hero,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
  }

  .admin-main {
    padding: 18px;
  }
}
