.wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-fonce);
}

.zone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed #cccccc;
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.zone:hover {
  border-color: var(--vert-moyen);
  background: var(--gris-clair);
}

.zoneLoading {
  cursor: wait;
}

.placeholder,
.preview,
.pdfThumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris-clair);
  color: var(--gris-moyen);
  object-fit: cover;
}

.pdfIcon {
  color: var(--erreur);
}

.spinner {
  animation: rotation 0.8s linear infinite;
}

.info {
  min-width: 0;
}

.infoText {
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-fonce);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.infoHint {
  font-size: 12px;
  color: var(--gris-moyen);
}

.clearBtn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--erreur);
  color: var(--blanc);
  border: 2px solid var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.input {
  display: none;
}

@keyframes rotation {
  to {
    transform: rotate(360deg);
  }
}
