.barschel-file-drop-zone__root {
  width: 100%;
}

.barschel-file-drop-zone__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.barschel-file-drop-zone {
  position: relative;
  width: 100%;
  min-height: 5.25rem;
  border: 1px dashed var(--bs-border-color, rgba(0, 0, 0, .15));
  border-radius: var(--bs-border-radius, .5rem);
  background: var(--bs-body-bg, #fff);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.barschel-file-drop-zone:hover,
.barschel-file-drop-zone:focus-within,
.barschel-file-drop-zone.is-dragover {
  border-color: var(--bs-primary, #0d6efd);
  background: var(--bs-light-bg-subtle, #f8f9fa);
  box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb, 13, 110, 253), .1);
}

.barschel-file-drop-zone--compact {
  min-height: 4.25rem;
}

.barschel-file-drop-zone--disabled {
  opacity: .65;
  pointer-events: none;
}

.barschel-file-drop-zone__control {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: transparent;
  cursor: pointer;
  z-index: 2;
}

.barschel-file-drop-zone__control::file-selector-button,
.barschel-file-drop-zone__control::-webkit-file-upload-button {
  visibility: hidden;
  width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.barschel-file-drop-zone__body {
  position: relative;
  z-index: 1;
  padding: .85rem 1rem;
}

.barschel-file-drop-zone--compact .barschel-file-drop-zone__body {
  padding: .65rem .85rem;
}

.barschel-file-drop-zone__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.barschel-file-drop-zone__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--bs-primary, #0d6efd);
  background: rgba(var(--bs-primary-rgb, 13, 110, 253), .1);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.barschel-file-drop-zone--compact .barschel-file-drop-zone__icon {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.barschel-file-drop-zone__aside {
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .barschel-file-drop-zone__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
