.photo-upload-area {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.photo-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  flex-shrink: 0;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #787e87;
  border: none;
  border-radius: 50%;
  width: 20px;
  color: white;
  height: 20px;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  line-height: 18px;
  padding-bottom: 3px;
  z-index: 1000;
}

.upload-placeholder {
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #fafbfc;
  color: #888;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: width 0.2s, height 0.2s;
  flex-shrink: 0;
  font-size: 15px;
  gap: 4px;
}

.upload-placeholder.full-width {
  width: 100%;
  min-height: 120px;
  height: 120px;
  max-width: 400px;
}

.upload-placeholder:not(.full-width) {
  width: 64px;
  height: 64px;
  min-height: unset;
  max-width: unset;
}

.upload-placeholder:not(.full-width) div {
  font-size: 12px;
}

.upload-placeholder .plus-icon {
  font-size: 1.5em;
}

.image-upload-step {
  display: none;
}

.image-upload-step .buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.image-upload-step .no-photos {
  margin-left: 2px;
  border-radius: var(--Radius-rounded-md, 6px);
  border: 1px solid var(--Border---border, #e4e4e7);
  background: transparent;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),
    0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

.image-upload-step .next {
  min-width: fit-content !important;
}

.photo-error {
  margin-top: -7px !important;
}

.photo-thumb-wrapper {
  position: relative;
}
