/* Styles for streaming tokens display */

.streaming-content {
}

.streaming-active {
  position: relative;
}

.streaming-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #4CAF50, #2196F3);
  animation: pulse 1.5s infinite;
  border-radius: 3px;
}

.streaming-status {
  background-color: #f0f0f0;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
  border-left: 4px solid #2196F3;
}

.generation-complete {
  border-left: 4px solid #4CAF50;
  background-color: #e8f5e9;
}

.generation-error {
  border-left: 4px solid #f44336;
  background-color: #ffebee;
}

.streaming-section {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.streaming-section h3 {
  margin: 0;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.streaming-section-content {
  padding: 15px;
  max-height: 300px;
  overflow-y: auto;
  background-color: white;
}

.section-complete {
  border-color: #4CAF50;
}

.section-complete h3 {
  background-color: #e8f5e9;
  border-bottom-color: #4CAF50;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

#onboarding-stream-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Progress indicator styles */
#claude-stream-progress {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  background-color: #f0f0f0;
  border-left: 3px solid #2196F3;
}

#claude-stream-progress.success {
  background-color: #e8f5e9;
  border-left-color: #4CAF50;
}

#claude-stream-progress.error {
  background-color: #ffebee;
  border-left-color: #f44336;
}

#claude-stream-progress.streaming {
  animation: pulse 1.5s infinite;
} 
