/* ─── Bag3D Vision – 커스텀 스타일 ──────────────────────────────────────── */

body { background: #f4f6fb; font-family: 'Segoe UI', sans-serif; }

/* 스텝 배지 */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── 드롭 존 ─────────────────────────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed #adb5bd;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: #0d6efd;
  background: #f0f5ff;
}
.drop-zone.uploaded {
  border-color: #198754;
  background: #f0fff4;
}

/* ─── AI 엔진 카드 ────────────────────────────────────────────────────────── */
.engine-card {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.engine-card:hover  { border-color: #86b7fe; background: #f8f9ff; }
.engine-card.selected {
  border-color: #0d6efd;
  background: #e8f0fe;
}
.engine-card.selected .engine-check { display: inline-block !important; }

/* ─── 색상 스와치 ─────────────────────────────────────────────────────────── */
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.color-swatch:hover    { transform: scale(1.15); }
.color-swatch.selected { border-color: #0d6efd; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0d6efd; }

/* ─── 렌더링 스테이지 ────────────────────────────────────────────────────── */
.stage-item { color: #adb5bd; transition: color .3s; }
.stage-item.active  { color: #0d6efd; font-weight: 600; }
.stage-item.done    { color: #198754; }
.stage-item.active .bi::before  { content: "\f54d"; /* bi-arrow-right-circle */ }
.stage-item.done   .bi::before  { content: "\f270"; /* bi-check-circle-fill */ }

/* ─── 결과 이미지 ─────────────────────────────────────────────────────────── */
.result-img-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: box-shadow .2s;
}
.result-img-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.result-img-card img   { width: 100%; height: 220px; object-fit: cover; }
.result-img-card .angle-label {
  font-size: .75rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  position: absolute;
  bottom: 8px;
  left: 8px;
}

/* ─── 카드 헤더 ───────────────────────────────────────────────────────────── */
.card-header {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: .75rem 1rem;
}
