.directive-chat-dropzone-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.directive-chat-dropzone {
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
  padding: 8px;
  overflow: hidden;
}

.directive-chat-dropzone .dropzone {
  display: flex;
  flex: 1;
  background-color: transparent;
  box-sizing: border-box;
  border: 1px dashed rgba(var(--primary-color));
  border-radius: var(--default-radius);
  padding: 0;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 0;
  flex-wrap: wrap;
  overflow: auto;
}

.directive-chat-dropzone .dropzone:not(.dz-started) .dz-message {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.directive-chat-dropzone .dropzone .dz-preview {
  position: relative;
  display: flex;
  margin: 4px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  flex: 1;
  flex-basis: calc(50% - 16px);
}

.directive-chat-dropzone .dropzone .dz-preview .dz-image {
  border-radius: 0;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.directive-chat-dropzone .dropzone .dz-preview .dz-image img {
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  box-sizing: border-box;
  object-fit: scale-down;
}

.directive-chat-dropzone .dropzone .dz-preview .dz-progress, .directive-chat-dropzone .dropzone .dz-preview .dz-details .dz-size {
  display: none;
}

.directive-chat-dropzone .dropzone .dz-preview:hover .dz-image img {
  filter: blur(0);
  transform: inherit;
}

.directive-chat-dropzone-wrapper .directive-chat-dropzone-progress {
  display: flex;
  box-sizing: border-box;
  height: 5px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.directive-chat-dropzone-wrapper .directive-chat-dropzone-progress .dropzone-progress-bar {
  text-align: center;
  height: 100%;
  background-color: rgba(var(--primary-color));
  transition: width 420ms ease;
  animation-name: progressAnimation;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

@-webkit-keyframes progressAnimation {
  0% {
    background-color: rgba(var(--primary-color));
  }
  50.0% {
    background-color: rgba(var(--primary-color-light));
  }
  100.0% {
    background-color: rgba(var(--primary-color));
  }
}

@-moz-keyframes progressAnimation {
  0% {
    background-color: rgba(var(--primary-color));
  }
  50.0% {
    background-color: rgba(var(--primary-color-light));
  }
  100.0% {
    background-color: rgba(var(--primary-color));
  }
}

@-o-keyframes progressAnimation {
  0% {
    background-color: rgba(var(--primary-color));
  }
  50.0% {
    background-color: rgba(var(--primary-color-light));
  }
  100.0% {
    background-color: rgba(var(--primary-color));
  }
}

@keyframes progressAnimation {
  0% {
    background-color: rgba(var(--primary-color));
  }
  50.0% {
    background-color: rgba(var(--primary-color-light));
  }
  100.0% {
    background-color: rgba(var(--primary-color));
  }
}