.bottomContainer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;

  max-height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  pointer-events: none;

  > *:not(.bottomContainerActions) {
    position: relative;
    z-index: 1;
  }
}

.bottomContainerActions {
  width: 100%;

  padding: 1rem;
  padding-bottom: calc(1rem + var(--ion-safe-area-bottom, 0));

  color: white;
  background: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  :global(.pswp--ui-visible) & {
    pointer-events: auto;
  }
}

.withBg {
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;

    background: linear-gradient(0deg, rgba(0, 0, 0, 1), transparent);

    pointer-events: none;
  }

  > * {
    position: relative;
    z-index: 1;
  }
}
