.product-images-field {
  margin-bottom: 1rem;
}

.product-images-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  color: rgb(64 64 64);
}

.dark .product-images-label {
  color: rgb(229 229 229);
}

.product-images-help {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  line-height: 1.1rem;
  color: rgb(115 115 115);
}

.dark .product-images-help {
  color: rgb(163 163 163);
}

.product-images-preview-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 92px;
  padding: 0.65rem;
  border: 1px solid rgb(212 212 212);
  border-radius: 0.5rem;
  background: rgb(250 250 250);
}

.dark .product-images-preview-wrap {
  border-color: rgb(82 82 82);
  background: rgb(38 38 38);
}

.product-images-preview {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0.4rem;
  background: white;
  border: 1px solid rgb(229 229 229);
}

.product-images-meta {
  min-width: 0;
}

.product-images-filename {
  overflow: hidden;
  max-width: 320px;
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(64 64 64);
}

.dark .product-images-filename {
  color: rgb(229 229 229);
}

.product-images-size {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: rgb(115 115 115);
}

.product-images-empty {
  padding: 1rem;
  border: 1px dashed rgb(212 212 212);
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(115 115 115);
}

.dark .product-images-empty {
  border-color: rgb(82 82 82);
  color: rgb(163 163 163);
}

.product-images-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.product-images-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.3rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.product-images-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.product-images-button-primary {
  color: rgb(38 38 38);
  border-color: rgb(212 212 212);
  background: white;
}

.dark .product-images-button-primary {
  color: white;
  border-color: rgb(82 82 82);
  background: rgb(64 64 64);
}

.product-images-button-danger {
  color: rgb(185 28 28);
  background: rgb(254 242 242);
  border-color: rgb(254 202 202);
}

.dark .product-images-button-danger {
  color: rgb(254 202 202);
  background: rgba(127, 29, 29, 0.25);
  border-color: rgba(248, 113, 113, 0.35);
}

.product-images-file-input {
  display: none;
}

.product-images-error {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  line-height: 1.1rem;
  color: rgb(185 28 28);
}

.product-images-index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-images-index-thumb {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid rgb(229 229 229);
  background: white;
}

.product-images-index-empty {
  color: rgb(163 163 163);
}

/* The native Concord text field is used only as a Vue v-model bridge. */
.product-images-token-input {
  display: none !important;
}
