.drop_area {
  font-family: "Roboto", sans-serif;
  width: 50%;
  max-width: 500px;
  min-width: 300px;
  aspect-ratio: 8 / 3;
  border-radius: 16px;
  border: 2px dashed var(--secondary);
  position: absolute;
  background-color: var(--tertiary);
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10%;
  user-select: none;
  box-shadow: var(--elevation-100);
  transition: top var(--long) ease-in-out;
}

.drop_highlight {
  background-color: var(--light-100);
  border-style: solid;
  transition: var(--short);
}

.drop_highlight > * {
  opacity: 0.5;
}

.drop_loading {
  background-color: var(--secondary);
  border-style: solid;
  border-color: var(--primary);
}

.drop_success {
  background-color: var(--green-tertiary);
  border-style: solid;
  border-color: var(--green-secondary);
}

.drop_error {
  background-color: var(--red-tertiary);
  border-style: solid;
  border-color: var(--red-secondary);
}

.drop_highlight > * {
  opacity: 0.5;
}

.drop_input {
  position: absolute;
  width: 0px;
  height: 0px;
  pointer-events: none;
}

.drop_area > div {
  color: var(--text);
  font-size: var(--fs-14);
}

.drop_icon {
  height: 30%;
  width: 30%;
  max-width: 80px;
  max-height: 80px;
  color: var(--primary);
  pointer-events: none;
}

.drop_check_icon {
  height: 22.5%;
  width: 22.5%;
  max-width: 60px;
  max-height: 60px;
  color: var(--green-primary);
  pointer-events: none;
}

.drop_error_icon {
  height: 20%;
  width: 20%;
  max-width: 60px;
  max-height: 60px;
  color: var(--red-primary);
  pointer-events: none;
}

.browse_button {
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--short);
}

.browse_button:hover {
  color: var(--primary-hover);
}

.drop_loader {
  display: inline-block;
  position: absolute;
  height: 50%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  user-select: none;
  pointer-events: none;
  --border: 8px;
}

.drop_loader div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 80%;
  height: 80%;
  margin: var(--border);
  border: var(--border) solid var(--primary);
  border-radius: 50%;
  animation: drop_loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--primary) transparent transparent transparent;
  pointer-events: none;
}
.drop_loader div:nth-child(1) {
  animation-delay: -0.45s;
}
.drop_loader div:nth-child(2) {
  animation-delay: -0.3s;
}
.drop_loader div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes drop_loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
