.zpl-upload {
  /* Default */
  @apply flex flex-col gap-sm;

  #btn {
    @apply dark:bg-surface-dark dark:hover:bg-surface-dark-hover;
  }

  &-title {
    /* Default */
    @apply text-text text-ls-h3 font-bold;

    /* dark */
    @apply dark:text-text-dark;
  }
  &-restriction {
    /* Default */
    @apply list-none flex flex-col gap-2xs;

    li {
      /* Default */
      @apply text-b3 text-text-soft;

      /* dark */
      @apply dark:text-text-dark-soft;
    }
  }
  &-box {
    .loading {
      .dropzone {
        @apply pt-2xl px-md pb-[36px] bg-surface border border-border rounded-sm flex flex-col items-center gap-lg;
        @apply dark:bg-surface-dark dark:border-border-dark;
      }
    }
  }
}
.zpl-dropzone {
  /* Default */
  @apply h-[140px] bg-surface border border-dashed border-border rounded-sm;
  @apply py-2xl px-md font-sans;

  /* dark */
  @apply dark:bg-surface-dark dark:border-border-dark;

  /* hover */
  @apply hover:bg-surface-hover;
  @apply dark:hover:bg-surface-dark-hover;

  &.dz-drag-hover {
    @apply bg-surface-active;
    @apply dark:bg-surface-dark-active;
    .dz-message {
      @apply opacity-100;
    }
  }

  /* disabled */
  &.disabled {
    @apply pointer-events-none cursor-not-allowed bg-surface-disabled;

    /* dark */
    @apply bg-surface-dark-disabled;

    .zpl-dropzone-text {
      @apply text-text-disabled;

      /* dark */
      @apply dark:text-text-dark-disabled;
    }
  }
  &-text {
    /* Default */
    @apply mt-md text-b3 text-text-soft;
    /* dark */
    @apply dark:text-text-dark-soft;
  }
  &.active {
    @apply bg-surface-active;

    /* dark */
    @apply bg-surface-dark-active;
  }
  input {
    /* Default */
    @apply opacity-0 absolute top-0 right-0 w-full h-full cursor-pointer;
  }
  button {
    /* Default */
    @apply relative z-10;
  }
  .dz-message {
    @apply flex flex-col items-center relative m-0;
  }
}
.zpl-none-dropzone {
  @apply p-0 border-0 min-h-0 max-w-fit font-sans rounded-lg;
  .dz-message {
    @apply m-0;
  }
}
