.page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page__main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(clamp(16px, 4vw, 32px), env(safe-area-inset-top))
    max(var(--page-pad-x), env(safe-area-inset-right))
    max(clamp(16px, 4vw, 28px), env(safe-area-inset-bottom))
    max(var(--page-pad-x), env(safe-area-inset-left));
  box-sizing: border-box;
}

.page__sheet {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.page__foot-hints {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 18px;
  margin: 0;
  padding-top: 12px;
  font-family: var(--mainFont);
  font-size: clamp(11px, 3.2vw, 14px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--graphicActionPrimary);
  pointer-events: none;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.page__foot-hint {
  white-space: nowrap;
}

.page__foot-sep {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.page--auth .page__main {
  background-color: var(--bgPrimary);
  background-image: url("../assets/ozon-id-bg.svg");
  background-repeat: no-repeat;
  background-position: 50% 42%;
  background-size: min(1520px, 140vw) auto;
}

@media (max-width: 599px) {
  .page__main {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .page--auth .page__main {
    background-size: min(1100px, 260vw) auto;
    background-position: 52% 28%;
  }

  .page__foot-hints {
    gap: 6px 12px;
    padding-top: 8px;
  }
}
