/* ============================================================
   DASHBOARD.CSS
   ============================================================ */

.stat-card {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.stat-card-value {
  font-family: var(--font-mono);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.stat-card-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-delta {
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
}
.stat-card-delta.up { color: var(--signal-up); }
.stat-card-delta.down { color: var(--signal-down); }

.path-card {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  border-left: 3px solid var(--path-color, var(--accent-primary));
}
.path-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.path-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--path-color, var(--accent-primary)) 18%, transparent);
  color: var(--path-color, var(--accent-primary));
  font-size: 1.2rem;
}

.progress-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-inset);
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--path-color, var(--accent-primary));
  transition: width var(--dur-slow) var(--ease-out);
}

.path-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.activity-feed {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
}
.activity-item:last-child { border-bottom: none; }

.activity-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.activity-time {
  margin-left: auto;
  color: var(--text-disabled);
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.achievement-toast {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-panel-raised);
  border: 1px solid var(--signal-warn);
  box-shadow: 0 0 0 1px rgba(255,180,84,0.2), var(--shadow-raised);
  border-radius: var(--radius-lg);
  min-width: 300px;
  animation: toast-in var(--dur-slow) var(--ease-out);
}

.achievement-toast-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--signal-warn-dim);
  color: var(--signal-warn);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.achievement-toast-title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--signal-warn);
  font-weight: 700;
}
