/* Photo to 3D Section Styles */
#photo-to-3d {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Pipeline Steps */
.pipeline-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.875rem;
}

.step-label {
  font-size: 0.875rem;
  color: #333;
}

.pipeline-arrow {
  color: #dc3545;
  font-size: 1.25rem;
  margin: 0 0.25rem;
}

/* Dropzone */
.dropzone-area {
  border: 2px dashed #dee2e6;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropzone-area:hover,
.dropzone-area.dragover {
  border-color: #0d6efd;
  background: #f0f7ff;
}

.clickable-info {
  cursor: pointer;
}

.clickable-info:hover {
  text-decoration: underline;
}

/* Photo Preview */
.photo-preview {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.photo-preview img {
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-preview .btn {
  opacity: 0;
  transition: opacity 0.2s;
  padding: 0.15rem 0.4rem;
  font-size: 0.75rem;
}

.photo-preview:hover .btn {
  opacity: 1;
}

/* Model Viewer */
model-viewer {
  border-radius: 8px;
  overflow: hidden;
}

/* Progress Container */
.progress-container {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Progress Bubble */
.progress-wrapper {
    padding-top: 30px;
}

.progress-bubble {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4A90D9 0%, #5CC6C8 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: left 0.3s ease-out;
}

.progress-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #5CC6C8;
}

/* Stage Indicators */
.stage-indicator {
    color: #adb5bd;
    transition: color 0.3s;
}

.stage-indicator.active {
    color: #4A90D9;
    font-weight: 600;
}

.stage-indicator.completed {
    color: #28a745;
}

.stage-indicator i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Quota Card */
#quota-card-luma {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#quota-card-luma:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#quota-progress-bar-luma {
    transition: width 1s ease-in-out;
}

/* Steps Indicator in Progress Area */
#progress-area-luma .bi {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: inline-block;
}

#progress-area-luma .text-success .bi {
    animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Realign Tips for Best Results text */
.tips-title {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.tips-section-container .card-body {
    padding: 1.5rem !important; /* Match p-4 of quota card */
}

/* Ensure consistent alignment with other cards */
.quota-display-card .card-body {
    padding: 1.5rem !important;
}

/* Responsive */
@media (max-width: 768px) {
  .pipeline-step {
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  .pipeline-arrow {
    display: none;
  }
}
