html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0b1020;
  color: #e7eeff;
}

/* ===== NAV ===== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: rgba(18, 26, 51, 0.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.brand {
  font-weight: 700;
  letter-spacing: .3px;
}
.nav-right {
  display: flex;
  gap: 10px;
}

/* Liens nav */
.navlink {
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #e7eeff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.navlink:hover { background: rgba(255,255,255,.12); }
.navlink.admin {
  background: rgba(110,168,254,.25);
  border-color: rgba(110,168,254,.45);
}

/* Actif */
.navlink.active {
  outline: 2px solid rgba(110,168,254,.35);
}

/* ===== LAYOUT ===== */
.wrap {
  min-height: calc(100% - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 24px;
  border-radius: 14px;
  background: #121a33;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  text-align: center;
}

h1 { margin: 0 0 12px; font-size: 20px; }

.status { font-size: 18px; font-weight: 800; margin: 12px 0; }
.ok { color: #51cf66; }
.err { color: #ff6b6b; }

.muted { font-size: 13px; color: #9aa7c7; }

.time {
  margin-top: 10px;
  font-size: 14px;
  color: #cfd8ff;
  font-weight: 700;
}
.time.stale { color: #9aa7c7; opacity: .75; }

button {
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: #6ea8fe;
  color: #0b1020;
  font-weight: 800;
  cursor: pointer;
}
button:hover { opacity: .9; }

hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 16px 0;
}

.admin-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}
.admin-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
