html, body { background: #0C0D10; }
body { background-image:
  radial-gradient(1200px 600px at 10% -10%, rgba(212,175,55,0.08), transparent 55%),
  radial-gradient(900px 500px at 110% 10%, rgba(139,92,246,0.06), transparent 55%);
}
* { -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2A2E39; border-radius: 999px; }

/* Glass card */
.glass {
  background: linear-gradient(140deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 22px;
}
.glass-strong { background: rgba(22,24,29,0.85); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(20px); border-radius: 22px; }

/* Sidebar */
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.nav-item:hover { background: rgba(255,255,255,0.04); color: white; }
.nav-item.is-active {
  background: linear-gradient(140deg, rgba(212,175,55,0.16), rgba(212,175,55,0.06));
  color: #EEDD99;
  border: 1px solid rgba(212,175,55,0.35);
}
.nav-item svg { flex-shrink: 0; }

/* Metric card */
.metric {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
}
.metric .label { color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.metric .value { font-family: "Plus Jakarta Sans"; font-size: 30px; font-weight: 800; margin-top: 6px; }
.metric .trend { font-size: 11px; color: #10B981; margin-top: 4px; }

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table thead th {
  text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.table tbody tr:hover { background: rgba(255,255,255,0.02); }

/* Badge */
.badge { display: inline-flex; align-items: center; gap:4px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge.active { background: rgba(16,185,129,0.15); color: #10B981; border: 1px solid rgba(16,185,129,0.35); }
.badge.pending { background: rgba(212,175,55,0.15); color: #EEDD99; border: 1px solid rgba(212,175,55,0.35); }
.badge.danger { background: rgba(220,38,38,0.15); color: #F87171; border: 1px solid rgba(220,38,38,0.35); }
.badge.muted { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.1); }

/* Buttons */
.btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: #D4AF37; color: #0C0D10; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary { background: rgba(255,255,255,0.06); color: white; border: 1px solid rgba(255,255,255,0.08); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-danger { background: rgba(220,38,38,0.15); color: #F87171; border: 1px solid rgba(220,38,38,0.35); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); }
.btn-ghost:hover { color: white; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Input */
.input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.input:focus { border-color: rgba(212,175,55,0.5); }
.input::placeholder { color: rgba(255,255,255,0.35); }

/* Bar chart */
.bar-chart { display:flex; align-items:flex-end; gap: 8px; height: 160px; padding: 12px 0; }
.bar-chart .bar {
  flex: 1; background: linear-gradient(180deg, #D4AF37, #8C7124);
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  position: relative;
  transition: transform .2s;
}
.bar-chart .bar:hover { transform: scaleY(1.05); }
.bar-chart .bar span {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; color: rgba(255,255,255,0.7);
}

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.15); border-top-color: #D4AF37; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.avatar { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #8B5CF6, #EC4899); display:flex; align-items:center; justify-content:center; font-weight: 800; color: white; }
.avatar.gold { background: linear-gradient(135deg, #D4AF37, #F59E0B); color: #0C0D10; }
.avatar.blue { background: linear-gradient(135deg, #22D3EE, #3B82F6); }
