/*
 * Dropzone fallback styles.
 * Keep this minimal so uploads remain usable if vendor dropzone.css is not loaded.
 */

.dropzone {
  min-height: 150px;
  border: 2px dashed rgba(0, 0, 0, 0.3);
  background: #fff;
  padding: 20px;
}

.dropzone.dz-clickable {
  cursor: pointer;
}

.dropzone .dz-message {
  text-align: center;
  margin: 2em 0;
}

.dropzone .dz-message .dz-button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.dropzone .dz-preview {
  display: inline-block;
  margin: 12px;
  min-height: 100px;
  position: relative;
  vertical-align: top;
}

.dropzone .dz-preview .dz-image {
  border-radius: 14px;
  display: block;
  height: 120px;
  overflow: hidden;
  width: 120px;
}

.dropzone .dz-preview .dz-image img {
  display: block;
  max-width: 100%;
}

.dropzone .dz-preview .dz-progress {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  height: 12px;
  left: 50%;
  margin-left: -40px;
  margin-top: -6px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  width: 80px;
}

.dropzone .dz-preview .dz-progress .dz-upload {
  background: #3a3a3a;
  display: block;
  height: 100%;
  width: 0;
}

.dropzone .dz-preview .dz-error-message {
  background: #be2626;
  border-radius: 8px;
  color: #fff;
  display: none;
  font-size: 13px;
  left: -10px;
  padding: 0.5em 1.2em;
  position: absolute;
  top: 130px;
  width: 140px;
  z-index: 10;
}

.dropzone .dz-preview.dz-error .dz-error-message {
  display: block;
}
