:root {
  --bg: #1a1d21;
  --bg-card: #25282c;
  --border: #3d4248;
  --text: #e4e6e8;
  --text-muted: #8b9199;
  --primary: #4a9eff;
  --primary-hover: #6bb0ff;
  --danger: #e5534b;
}

* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); margin: 0; padding: 0; line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.header { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.site-title { margin: 0; font-size: 1.25rem; }
.site-subtitle { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--text-muted); }

.main-content { padding: 2rem 0; }
.info-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 1.25rem; margin-bottom: 1rem; }

.btn { display: inline-block; padding: 0.5rem 1rem; background: var(--primary); color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.btn:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }
tr:hover td { background: rgba(255,255,255,0.02); }

input[type="text"], input[type="password"], input[type="number"] {
  width: 100%; padding: 0.6rem 0.75rem; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); border-radius: 4px; font-family: inherit;
}
label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-muted); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 1.25rem; }
.stat-card .value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
