:root {
  --bg-main: #020617;
  --bg-soft: #020617cc;
  --bg-card: #020617;
  --border: #1e293b;
  --text-main: #e5e7eb;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --success: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: radial-gradient(1200px at top, #0f172a, #020617);
  color: var(--text-main);
  min-height: 100vh;
}

/* Layout */
.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #020617, #020617f0);
  border-right: 1px solid var(--border);
  padding: 28px 22px;
}

.sidebar h2 {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 40px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .2s ease;
}

.nav a:hover,
.nav a.active {
  background: #0f172a;
  color: var(--accent);
}

/* Main */
.main {
  flex: 1;
  padding: 36px 48px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.header h1 {
  font-size: 28px;
}

.user {
  color: var(--text-muted);
}

/* Stats grid */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.stat {
  background: linear-gradient(180deg, #020617, #020617ee);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: 18px;
}

.stat h4 {
  font-size: 14px;
  color: var(--text-muted);
}

.stat p {
  font-size: 30px;
  margin-top: 12px;
}

/* Section */
.section {
  background: linear-gradient(180deg, #020617, #020617f5);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.section h3 {
  margin-bottom: 18px;
}
