/* ==========================================================================
   components.css — reusable UI pieces
   ========================================================================== */

/* ---------------------------------- Nav item ---------------------------------- */

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: #c3c9dc;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f2f3f8;
}

.nav-item-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.nav-item-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.nav-item-label {
  font-size: 14px;
  font-weight: 500;
}

.nav-item-eyebrow {
  font-size: 11.5px;
  color: #7d84a0;
}

.nav-item--active {
  background: rgba(201, 151, 43, 0.14);
  color: #fbf4e6;
}

.nav-item--active .nav-item-icon {
  background: var(--gold-500);
  color: var(--ink-900);
}

.nav-item--active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  border-radius: 2px;
  background: var(--gold-500);
}

/* ---------------------------------- Seal motif ---------------------------------- */

.seal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, var(--moss-100), var(--paper-100) 70%);
  color: var(--moss-600);
  flex-shrink: 0;
}

.seal-ring {
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  border: 1.5px dashed rgba(63, 92, 67, 0.35);
}

.seal-glyph {
  position: relative;
  z-index: 1;
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: #f4f2ec;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.btn-primary:not(:disabled):hover {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--paper-line);
  color: var(--text-600);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.btn-secondary:hover {
  border-color: var(--text-400);
  color: var(--text-900);
}

/* ---------------------------------- Placeholder card ---------------------------------- */

.placeholder-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 44px 32px 34px;
  text-align: center;
}

@media (min-width: 768px) {
  .placeholder-card {
    padding: 64px 64px 44px;
  }
}

.placeholder-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.placeholder-eyebrow {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  font-weight: 600;
}

.placeholder-heading {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-900);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .placeholder-heading {
    font-size: 28px;
  }
}

.placeholder-heading--sm {
  font-size: 19px;
  margin-top: 0;
}

.placeholder-copy {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-600);
}

.placeholder-tag {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-100);
  border: 1px solid var(--paper-line);
  color: var(--text-600);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------------------------------- Roadmap strip ---------------------------------- */

.roadmap-strip {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--paper-line);
}

.roadmap-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--paper-line);
  background: var(--paper-50);
}

.roadmap-dot-core {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.roadmap-dot--done {
  border-color: var(--moss-600);
}
.roadmap-dot--done .roadmap-dot-core {
  background: var(--moss-600);
}

.roadmap-dot--target {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-100);
}
.roadmap-dot--target .roadmap-dot-core {
  background: var(--gold-500);
}

.roadmap-dot--pending .roadmap-dot-core {
  background: var(--paper-line);
}

.roadmap-line {
  width: 40px;
  height: 1.5px;
  background: var(--paper-line);
}

@media (min-width: 640px) {
  .roadmap-line {
    width: 64px;
  }
}

.roadmap-labels {
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  margin: 10px auto 0;
  font-size: 11.5px;
  color: var(--text-400);
}
