/* Progress counter and bar styles */

#progress-section,
.progress-section {
  padding: 1.5rem 1rem 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Progress label row with count and percent */
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.progress-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-md);
}

.progress-percent {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
}

/* Legacy count element */
.progress-label .count {
  font-weight: 700;
}

/* Progress bar track */
.progress-bar-track,
#progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Progress bar fill */
.progress-bar-fill,
#progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border-radius: var(--radius-sm);
  transition: width var(--transition-normal);
  min-width: 0;
  width: 0;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Animated fill effect */
.progress-bar-fill.animate {
  animation: fillPulse 0.6s ease-out;
}

@keyframes fillPulse {
  0% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
  }
  100% {
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
  }
}

/* Sub-stats row */
.progress-sub-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.progress-sub-stats span {
  display: flex;
  gap: 0.3rem;
}

.progress-sub-stats strong {
  color: var(--color-text);
}

/* Percentage text */
.progress-percentage {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-top: 0.5rem;
}
