
.gestion-images {
  border: 2px dashed #ced4da;
  border-radius: 0.25rem;
  padding: 0.75rem;
  transition: border-color 0.15s, background-color 0.15s;
}
.gestion-images--survol {
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.06);
}
.gestion-images__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
}
.gestion-images__miniature {
  position: relative;
  width: 120px;
  height: 120px;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: #f8f9fa;
  cursor: grab;
  user-select: none;
}
.gestion-images__miniature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.gestion-images__miniature--deplacee {
  opacity: 0.4;
}
.gestion-images__numero, .gestion-images__badge {
  position: absolute;
  top: 4px;
  padding: 0 6px;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #fff;
}
.gestion-images__numero {
  left: 4px;
  background-color: rgba(0, 0, 0, 0.6);
}
.gestion-images__badge {
  right: 4px;
  background-color: #28a745;
}
.gestion-images__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.55);
}
.gestion-images__actions button {
  flex: 1;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.gestion-images__actions button:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.2);
}
.gestion-images__actions button:disabled {
  opacity: 0.3;
  cursor: default;
}
.gestion-images__supprimer:hover:not(:disabled) {
  background-color: #dc3545 !important;
}
.gestion-images__depot {
  text-align: center;
  color: #6c757d;
}
.gestion-images__depot i {
  margin-right: 0.5rem;
}
.gestion-images__depot .btn-link {
  vertical-align: baseline;
}
.gestion-images__messages {
  margin: 0.75rem 0 0 0;
  font-size: 0.875rem;
}
