.image-preview {
  width: 200px;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #f8fafc;
  border: 2px dotted #94a3b8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.image-preview:hover {
  border-color: #3b82f6;
}

.image-preview input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.image-preview label {
  position: absolute;
  z-index: 1;
  padding: 6px 12px;
  background-color: #e2e8f0;
  color: #1e293b;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  text-transform: capitalize;
  pointer-events: none;
  transition: all 0.3s ease;
}

.image-preview:hover label {
  background-color: #d3d6da;
  color: black;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
