/* Progress Indicator Styles */

.progress-container {
  position: fixed;
  top: 140px; /* Below header */
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #263238;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: 200px;
  display: none; /* Hidden by default, shown via JS */
}

.progress-container.visible {
  display: block;
}

.progress-title {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #263238;
  margin: 0 0 10px 0;
  text-align: center;
}

.progress-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.progress-step {
  display: flex;
  align-items: center;
  margin: 8px 0;
  font-size: 12px;
  color: #666;
  font-family: Verdana, sans-serif;
}

.progress-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  font-weight: bold;
  margin-right: 8px;
  flex-shrink: 0;
}

.progress-step.active .step-number {
  background: #b0dde4;
  color: #263238;
}

.progress-step.completed .step-number {
  background: #4caf50;
  color: white;
}

.progress-step .step-label {
  flex: 1;
  line-height: 1.3;
}

.progress-step.active .step-label {
  font-weight: bold;
  color: #263238;
}

.progress-step.completed .step-label {
  color: #333;
}

/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .progress-container {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 10px 15px;
  }
  
  .progress-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .progress-step {
    flex-direction: column;
    margin: 0;
    text-align: center;
  }
  
  .progress-step .step-number {
    margin-right: 0;
    margin-bottom: 4px;
  }
  
  .progress-step .step-label {
    font-size: 10px;
    display: none; /* Hide labels on mobile to save space */
  }
  
  .progress-step.active .step-label {
    display: block; /* Show only active label */
  }
  
  .progress-title {
    display: none; /* Hide title on mobile */
  }
}

/* Hide on very small screens */
@media only screen and (max-width: 480px) {
  .progress-container {
    padding: 8px 10px;
  }
  
  .progress-step .step-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}
