.achievements-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.achievements-main { flex: 2 1 400px; }
.achievements-side  { flex: 1 1 220px; }

.badge-category {
  margin-bottom: 32px;
}

.badge-category h2 {
  font-size: 1.1rem;
  color: #2c6e49;
  border-bottom: 2px solid #2c6e49;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.badge-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.badge-card img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}

.badge-card {
  flex: 1 1 160px;
  border: 1px solid #cccccc;
  padding: 16px;
  text-align: center;
  background-color: #f9f9f9;
}

.badge-card.locked {
  background-color: #eeeeee;
  cursor: pointer;
}

.badge-card.earned {
  background-color: #f0f7f3;
  border-color: #2c6e49;
  opacity: 1;
}

.badge-card h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.badge-card p {
  font-size: 0.78rem;
  color: #444444;
  margin-bottom: 10px;
  line-height: 1.5;
}

.badge-status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border: 1px solid #cccccc;
}

.earned-label {
  background-color: #d4edda;
  border-color: #2c6e49;
  color: #2c6e49;
}

.locked-label {
  background-color: #eeeeee;
  color: #666666;
}

.progress-panel {
  border: 1px solid #cccccc;
  padding: 20px;
  background-color: #ffffff;
}

.progress-panel h2 {
  font-size: 1.1rem;
  color: #2c6e49;
  border-bottom: 2px solid #2c6e49;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.progress-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 6px 0;
  border-bottom: 1px solid #eeeeee;
}

.progress-stat:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .achievements-layout {
    flex-direction: column;
  }

  .badge-grid {
    flex-direction: column;
  }
}