.direct-upload {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0px 8px;
}

.no-pointer-events {
  pointer-events: none;
}

.direct-upload--pending,
.direct-upload__progress {
  width: 40px;
  height: 40px;
  border: 5px solid #2196f3;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.direct-upload--complete {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 14px;
}

.direct-upload--complete .upload-complete-check {
  display: block;
}

.direct-upload--error {
  border-color: red;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
