/* ── Variables ─────────────────────────────────────────── */
:root {
  --ng-red:    #c0392b;
  --ng-red-dk: #a93226;
  --ng-dark:   #111111;
  --ng-mid:    #2c2c2c;
  --ng-muted:  #6c757d;
  --ng-border: #e3e3e3;
  --ng-bg:     #f5f5f3;
}

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--ng-bg);
  color: #1a1a1a;
}

/* ── Navbar ────────────────────────────────────────────── */
.ng-navbar {
  background: var(--ng-dark);
  border-bottom: 3px solid var(--ng-red);
  padding: 0;
}
.ng-navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff !important;
  letter-spacing: -0.5px;
  padding: 0.6rem 1rem;
}
.ng-navbar .navbar-brand span {
  color: var(--ng-red);
}
.ng-navbar .nav-link {
  color: #ccc !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1rem 1rem !important;
  transition: color 0.15s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.ng-navbar .nav-link:hover,
.ng-navbar .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--ng-red);
}
.ng-navbar .btn-outline-ng {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  border: 1px solid #555;
  color: #ccc;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.15s;
}
.ng-navbar .btn-outline-ng:hover {
  background: var(--ng-red);
  border-color: var(--ng-red);
  color: #fff;
}
.ng-navbar .btn-solid-ng {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  background: var(--ng-red);
  border: 1px solid var(--ng-red);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
}
.ng-navbar .btn-solid-ng:hover {
  background: var(--ng-red-dk);
  border-color: var(--ng-red-dk);
}
.ng-user-pill {
  font-size: 0.82rem;
  color: #aaa;
}
.ng-user-pill strong {
  color: #fff;
}
.ng-user-pill a {
  color: var(--ng-red);
  text-decoration: none;
  font-weight: 600;
}
.ng-user-pill a:hover { text-decoration: underline; }

/* ── Tag search picker ─────────────────────────────────────── */
.tag-search-wrap { position: relative; }
.tag-search-input-wrap { position: relative; }
.tag-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 3px 3px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tag-dropdown-item {
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  cursor: pointer;
  color: #444;
  transition: background 0.1s, color 0.1s;
}
.tag-dropdown-item:hover { background: #fdf5f4; color: var(--ng-red); }
.tag-dropdown-item.already-selected { color: #bbb; pointer-events: none; font-style: italic; }
.tag-dropdown-empty {
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
  color: #aaa;
  font-style: italic;
}
.tag-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  min-height: 0;
}
.tag-chip-sel {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.77rem;
  padding: 0.18rem 0.45rem 0.18rem 0.55rem;
  border: 1px solid var(--ng-red);
  border-radius: 3px;
  background: var(--ng-red);
  color: #fff;
  user-select: none;
}
.tag-chip-sel button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
}
.tag-chip-sel button:hover { color: #fff; }
