/* Floating flash/toast notifications. */
.filescan-notification {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  width: min(28rem, calc(100vw - 3rem));
  margin: 0 !important;
  box-shadow: var(--prn-shadow-md) !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

.filescan-notification.is-dismissing {
  opacity: 0;
  transform: translateY(.75rem);
  pointer-events: none;
}

/* Keep the destructive action panel on the same surface system as the review form. */
.filescan-drop-box {
  border-color: var(--prn-border) !important;
  background: var(--prn-surface) !important;
  box-shadow: var(--prn-shadow-md) !important;
  padding: 1.5rem !important;
}

.filescan-drop-box .level {
  align-items: center;
}

.filescan-drop-box .title,
.filescan-drop-box .help {
  margin-bottom: 0;
}

.filescan-drop-box .button {
  min-height: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem;
}

@media screen and (max-width: 768px) {
  .filescan-notification {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
  }
}

/* PRN FileScan floating toast and drop-panel normalization */
.filescan-notification {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  width: min(28rem, calc(100vw - 3rem));
  margin: 0 !important;
  box-shadow: var(--prn-shadow-md) !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

.filescan-notification.is-dismissing {
  opacity: 0;
  transform: translateY(.75rem);
  pointer-events: none;
}

.filescan-drop-box {
  border-color: var(--prn-border) !important;
  background: var(--prn-surface) !important;
  box-shadow: var(--prn-shadow-md) !important;
  padding: 1.5rem !important;
}

.filescan-drop-box .level {
  align-items: center;
}

.filescan-drop-box .title,
.filescan-drop-box .help {
  margin-bottom: 0;
}

.filescan-drop-box .button {
  min-height: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem;
}

@media screen and (max-width: 768px) {
  .filescan-notification {
    left: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
  }
}

