/* ── Gamification: Next Steps, Toggle, Achievements, Tier-Willkommen ── */

/* ── Tier: Willkommen bei whic ── */
.tier-willkommen { background: var(--whic-bg-alt); color: var(--whic-text-light); }

/* ── Next Steps ── */
#nextStepsContainer { margin-top: 16px; }
.next-steps-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--whic-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.next-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--whic-radius);
  background: var(--whic-bg-alt);
  color: var(--whic-text);
  text-decoration: none;
  font-size: 13px;
  transition: background .2s, transform .15s;
  margin-bottom: 6px;
}
.next-step:hover {
  background: var(--whic-green-pale);
  transform: translateX(2px);
}
.next-step > i:first-child {
  color: var(--whic-green);
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.next-step-text { flex: 1; }
.next-step-pts {
  font-size: 12px;
  font-weight: 600;
  color: var(--whic-green);
  white-space: nowrap;
}
.next-step > i:last-child {
  color: var(--whic-text-light);
  font-size: 12px;
  flex-shrink: 0;
}
.next-steps-done {
  font-size: 13px;
  color: var(--whic-green);
  margin: 0;
}

/* ── Gamification Toggle ── */
.gamification-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.gamification-label {
  font-size: 12px;
  color: var(--whic-text-light);
}
.gamification-options {
  display: inline-flex;
  border: 1px solid var(--whic-border);
  border-radius: var(--whic-radius);
  overflow: hidden;
}
.gam-opt {
  padding: 4px 14px;
  border: none;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  border-right: 1px solid var(--whic-border);
  transition: background .2s, color .2s;
  font-family: 'Lato', sans-serif;
  color: var(--whic-text-light);
}
.gam-opt:last-child { border-right: none; }
.gam-opt:hover { background: var(--whic-bg-alt); }
.gam-opt.active {
  background: var(--whic-green-pale);
  color: var(--whic-green);
  font-weight: 600;
}

/* ── Achievements ── */
#achievementsContainer { margin-top: 20px; }
.achievements-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--whic-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.achievement-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  border: 1px solid var(--whic-border);
  transition: all .2s;
}
.achievement-badge.unlocked {
  background: var(--whic-green-pale);
  color: var(--whic-green);
  border-color: var(--whic-green);
}
.achievement-badge.unlocked i { color: var(--whic-green); }
.achievement-badge.locked {
  background: var(--whic-bg-alt);
  color: #ccc;
  border-color: var(--whic-border);
}
.achievement-badge.locked i { color: #ccc; }
.achievement-name { white-space: nowrap; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .next-step { font-size: 12px; padding: 6px 10px; }
  .gamification-toggle { flex-wrap: wrap; }
  .achievements-grid { gap: 6px; }
  .achievement-badge { font-size: 11px; padding: 3px 10px; }
}
