.basic-wizard-header,
.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.wizard-brand h2 {
  margin: 0;
  font-size: 28px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.step span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.step p {
  margin: 0;
}

.step.active {
  color: var(--teal);
}

.step.active span {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.step-line {
  width: 30px;
  height: 1px;
  background: #b8c7cc;
}

.basic-info-panel.narrow-panel {
  max-width: 720px;
}

.basic-info-panel {
  border-radius: 8px;
}

.basic-info-actions {
  border-top: 0;
}

.photo-upload-section {
  display: block;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.photo-group {
  padding: 0;
  border: 0;
  background: transparent;
}

.photo-group + .photo-group {
  margin-top: 24px;
}

.photo-group-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.photo-preview {
  position: relative;
  display: block;
  width: 100%;
  min-height: 130px;
  border: 2px dashed #b8c7cc;
  border-radius: 8px;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  pointer-events: none;
}

.photo-placeholder svg {
  color: #a0b5bd;
}

.photo-placeholder span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.photo-placeholder small {
  color: var(--muted);
  font-size: 12px;
}

.photo-remove {
  width: 100%;
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 700;
}

.photo-remove:hover {
  color: #fff;
  background: var(--red);
}

@media (max-width: 760px) {
  .basic-wizard-header,
  .wizard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .step-indicator {
    width: 100%;
    justify-content: center;
  }

  .photo-upload-section {
    padding: 16px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .photo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    min-height: 0;
    aspect-ratio: auto;
    border-color: #7f8c8d;
  }

  .photo-placeholder {
    position: static;
    flex-direction: row;
    gap: 10px;
  }

  .photo-placeholder svg {
    width: 26px;
    height: 26px;
  }

  .photo-placeholder small {
    font-size: 13px;
    color: #7f8c8d;
  }

  .basic-info-actions {
    flex-direction: column-reverse;
  }

  .basic-info-actions .primary-button,
  .basic-info-actions .secondary-button {
    width: 100%;
  }
}
