/* Shared modal/sheet backdrop. Camera masks and frosted navigation are separate. */
:root {
  --app-backdrop-rgb: 0, 0, 0;
  --app-backdrop-opacity: .45;
  --app-backdrop-color: rgba(var(--app-backdrop-rgb), var(--app-backdrop-opacity));
}

/* Bootstrap applies opacity to the element; keep its background opaque. */
.modal-backdrop {
  --bs-backdrop-bg: rgb(var(--app-backdrop-rgb));
  --bs-backdrop-opacity: var(--app-backdrop-opacity);
  background-color: var(--bs-backdrop-bg);
}
.modal-backdrop.fade,
.modal-backdrop.show {
  opacity: var(--app-backdrop-opacity);
  transition: none;
  animation: none;
}

.member-menu-layer__backdrop,
.vendor-cashier-sheet__backdrop,
.portal-confirm-sheet__backdrop {
  background: var(--app-backdrop-color);
  opacity: 1;
  transition: none;
  animation: none;
}
.cafe-settings-dialog::backdrop {
  background: var(--app-backdrop-color);
  opacity: 1;
  transition: none;
  animation: none;
}
