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

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #f4f5f7;
  color: #212529;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.site-nav {
  background: #fff;
  border-bottom: 1px solid #dee2e6;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-nav .brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
}

.site-nav .nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ── Page wrap ── */
.page-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* ── Card ── */
.card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  padding: 2rem;
  width: 100%;
  max-width: 480px;
}

.card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.card .subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary   { background: #0d6efd; color: #fff; }
.btn-primary:hover { background: #0b5ed7; }
.btn-secondary { background: #e9ecef; color: #212529; }
.btn-secondary:hover { background: #dee2e6; }
.btn-ghost     { background: none; color: #6c757d; border: 1px solid #dee2e6; }
.btn-ghost:hover { background: #f8f9fa; }

/* ── Hero (index) ── */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p   { color: #6c757d; margin-bottom: 2rem; }

/* ── Dashboard info row ── */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #495057;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: #6c757d; font-size: 0.85rem; }

/* ── Hidden ── */
.hidden { display: none !important; }
