@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

/* === BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #F5F3EF;
  --text: #1A1A1A;
  --text-muted: #666;
  --font: 'IBM Plex Mono', monospace;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 80px 24px 60px;
}

.container {
  max-width: 480px;
  margin: 0 auto;
}

/* === NAV BAR (injected by nav.js) === */
.nn-nav-bar {
  background: var(--bg);
  padding: 14px 24px 0;
}

.nn-nav-bar .nn-rule {
  margin: 14px 0 0;
}

.nn-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0;
}

.nn-nav-back {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.nn-nav-back:hover {
  color: var(--text-muted);
}

.nn-nav-title {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.nn-nav-logout {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 16px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.nn-nav-logout:hover {
  opacity: 1;
}

.nn-rule {
  border: none;
  border-top: 1px solid var(--text);
  margin: 32px 0;
}

/* === INDEX PAGE === */
.nn-heading {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.nn-links {
  list-style: none;
}

.nn-links li {
  margin-bottom: 10px;
}

.nn-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.15s;
}

.nn-links a:hover {
  color: var(--text-muted);
}

.nn-links a::before {
  content: "· ";
}

/* === FORMS (shared by login + admin) === */
.nn-input {
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d4d0ca;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s;
}

.nn-input:focus {
  border-color: var(--text);
}

.nn-btn {
  padding: 9px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--text);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.nn-btn:hover {
  opacity: 0.8;
}
