.vf-photo-upload-wrap {
  margin-top: 16px;
}

.vf-photo-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.vf-photo-dropzone:hover,
.vf-photo-dropzone.is-dragover {
  border-color: #2563eb;
  background: #eff6ff;
}

.vf-photo-dropzone:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.vf-photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.vf-photo-dropzone-icon {
  font-size: 22px;
  line-height: 1;
  color: #2563eb;
  margin-bottom: 6px;
}

.vf-photo-dropzone-text {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.vf-photo-error {
  margin-top: 10px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
}

.vf-photo-previews {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.vf-photo-item {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.vf-photo-item.is-error {
  border-color: #fecaca;
  background: #fef2f2;
}

.vf-photo-thumb {
  width: 100%;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.vf-photo-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #cbd5e1;
}

.vf-photo-name {
  margin: 6px 0 0;
  font-size: 12px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vf-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  cursor: pointer;
  line-height: 22px;
  font-size: 16px;
  text-align: center;
  padding: 0;
}

.vf-photo-remove:hover {
  background: rgba(185, 28, 28, 0.9);
}

.vf-photo-progress {
  margin-top: 6px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #dbeafe;
  overflow: hidden;
}

.vf-photo-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
  transition: width 0.2s ease;
}

.vf-photo-status {
  margin: 6px 0 0;
  font-size: 11px;
  color: #475569;
}

.vf-photo-status-error {
  color: #b91c1c;
}

@media (max-width: 767px) {
  .vf-photo-dropzone {
    padding: 14px 10px;
  }

  .vf-photo-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
