/* Compact Horizontal Progress Bar - Override */
.progress-celebration {
  margin: 1rem 0 !important;
  padding: 1rem !important;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border-radius: 12px !important;
  border: 2px solid #0284c7 !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  flex-direction: unset !important;
  max-width: unset !important;
  overflow: unset !important;
}

.progress-bar-container {
  position: relative;
  width: 100%;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #3b82f6 50%, #f59e0b 100%);
  border-radius: 4px;
  width: 33.33%; /* Quiz completed = 1/3 */
  transition: width 0.5s ease;
  animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.8); }
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.step-icon {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

/* Progress Step States */
.progress-step.completed .step-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  animation: checkmark-bounce 0.6s ease-out;
}

.progress-step.current .step-icon {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  animation: current-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.progress-step.upcoming .step-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  animation: gift-anticipation 2s ease-in-out infinite;
}

.progress-step.completed .step-label {
  color: #22c55e;
  font-weight: 700;
}

.progress-step.current .step-label {
  color: #3b82f6;
  font-weight: 700;
}

.progress-step.upcoming .step-label {
  color: #f59e0b;
  font-weight: 600;
}

@keyframes current-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes gift-anticipation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

/* Mobile Optimizations */
@media (max-width: 500px) {
  .progress-celebration {
    margin: 0.8rem 0 !important;
    padding: 0.8rem !important;
  }
  
  .progress-bar {
    height: 6px;
    margin-bottom: 0.8rem;
  }
  
  .step-icon {
    font-size: 1rem;
    width: 1.6rem;
    height: 1.6rem;
    margin-bottom: 0.2rem;
  }
  
  .step-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 400px) {
  .progress-celebration {
    padding: 0.6rem !important;
  }
  
  .progress-bar {
    height: 5px;
    margin-bottom: 0.6rem;
  }
  
  .step-icon {
    font-size: 0.9rem;
    width: 1.4rem;
    height: 1.4rem;
  }
  
  .step-label {
    font-size: 0.6rem;
  }
}

@media (max-width: 350px) {
  .step-icon {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
  }
  
  .step-label {
    font-size: 0.55rem;
  }
} 