
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  background: var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.step-dot.active {
  background: var(--primary);
  color: #fff;
}
.step-dot.done {
  background: var(--primary-light);
  color: var(--primary);
}
.step-line {
  width: 32px;
  height: 2px;
  background: var(--border);
}
.step-line.done {
  background: var(--primary);
}

/* ==================== 鍥剧墖??煎叆妯℃佹?? ==================== */
.image-import-modal {
  max-width: 600px;
}
.image-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.image-upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.image-upload-zone.dragging {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-style: solid;
}
.image-upload-zone p {
  margin: 0;
  font-size: 15px;
  color: var(--text-primary);
}
.image-upload-zone span {
  font-size: 12px;
  color: var(--text-secondary);
}
.preview-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--radius-base);
  object-fit: contain;
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: var(--radius-md);
}
.image-upload-zone.has-image:hover .image-overlay {
  opacity: 1;
}

.ocr-action-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* ==================== OCR棰勮�堝崱鐗�?? ==================== */
.ocr-preview-card {
  margin-top: 20px;
  padding: 20px;
  background: var(--card-background);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}
.ocr-preview-card .preview-hint {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 14px;
}

.ocr-preview-card .train-number.ocr-editable {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ocr-preview-card .train-number.ocr-editable:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 30%, transparent);
}

.ocr-preview-card .ticket-time .preview-field {
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: background 0.15s;
  padding: 2px 6px;
  margin: -2px -6px;
}
.ocr-preview-card .ticket-time .preview-field:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.ocr-preview-card .ticket-time .time.preview-field:hover {
  color: var(--primary);
}

.ocr-preview-card .ticket-info-card.ocr-info-card {
  margin-top: 0;
  margin-bottom: 0;
}

.ocr-preview-card .ticket-header {
  margin-bottom: 14px;
}

.preview-field-inline {
  cursor: pointer;
  padding: 2px 6px;
  margin: -2px -2px;
  border-radius: var(--radius-xs);
  transition: background 0.15s;
}
.preview-field-inline:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.ocr-preview-card .preview-field-inline input,
.ocr-preview-card .preview-field-inline select {
  font-family: inherit;
  font-size: inherit;
  padding: 2px 6px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-xs);
  outline: none;
  background: var(--card-background);
  color: var(--text-primary);
  width: auto;
  min-width: 60px;
}

