/* Navigation Cards */
.nav-card {
  composes: card from './cards.css';
  border-radius: var(--radius);
  gap: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-width: 0;
  outline: none;
  position: relative;
  padding: 18px;
}

.nav-card:hover,
.nav-card:focus-visible,
.nav-card.active {
  box-shadow:
    0 20px 40px rgba(22, 24, 36, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(71, 113, 186, 0.55), rgba(49, 53, 70, 0.9));
}

.nav-card-icon {
  display: none;
}

.nav-card-content {
  composes: card-body from './cards.css';
  gap: 10px;
  text-align: left;
}

.nav-card-title {
  composes: card-title from './cards.css';
  font-size: 1.05rem;
  text-align: left;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.nav-card-description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: left;
}

.nav-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-card-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(91, 59, 227, 0.16);
  border: 1px solid rgba(138, 99, 255, 0.38);
  color: var(--text);
  font-size: 0.86rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-card-metric strong {
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.nav-card-metric small {
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.theme-metric {
  position: relative;
  overflow: hidden;
}

.theme-metric-swatches {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.theme-metric-swatches .swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5b3be3, #4b0082);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-metric-swatches .swatch.alt {
  background: linear-gradient(135deg, rgba(70, 74, 92, 0.9), rgba(49, 53, 70, 0.92));
}

.back-button {
  align-self: flex-start;
  background: rgba(91, 59, 227, 0.18);
  border: 1px solid rgba(138, 99, 255, 0.42);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-weight: 600;
}

.back-button:hover {
  color: var(--text);
  border-color: rgba(138, 99, 255, 0.62);
  background: rgba(91, 59, 227, 0.28);
  box-shadow: 0 10px 26px rgb(27, 75, 171);
}