.dropzone-directive {
  position: fixed;
  bottom: calc(21pt + env(safe-area-inset-bottom, 0));
  left: 0;
  right: 0;
  z-index: 10001;
  display: none;
  justify-content: center;
  color: rgba(var(--font-color));
  overflow: visible;
  opacity: 0;
  transition: opacity 420ms ease;
}

.dropzone-directive.is-visible {
  display: flex;
  opacity: 1;
}

.dropzone-directive .backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background-color: rgba(var(--background-backdrop));
}

.dropzone-directive .content {
  border-radius: var(--default-radius-large);
  width: fit-content;
  max-width: var(--max-content-width);
  height: fit-content;
  box-sizing: border-box;
  padding: 8px;
  background: rgba(var(--background-content));
  display: flex;
  flex-direction: column;
  overflow: auto;
  flex-grow: 1;
  position: relative;
  z-index: 10002;
}

.dropzone-directive .dropzone-directive-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12pt;
}

.dropzone-directive .dropzone-directive-toolbar button {
  margin: 0;
}

.dropzone-directive .dropzone-directive-content .dropzone {
  border: 1px dashed rgba(var(--primary-color));
  background: transparent;
  border-radius: var(--default-radius-large);
  padding: 0;
}

.dropzone-directive .dropzone-directive-content .dropzone .dz-remove {
  text-decoration: none;
  color: rgba(var(--font-color));
  text-shadow: 0 0 4px rgba(var(--font-color-invert));
}

.dropzone-directive .dropzone-directive-content .dropzone .dz-preview .dz-progress {
  top: unset;
  bottom: 8px;
}

.dropzone-directive .dropzone-directive-content .dropzone .dz-preview .dz-error-message {
  display: none;
}

.dropzone-directive .dropzone-directive-content .dropzone .dz-preview .dz-image img {
  width: 100%;
  height: 100%;
}