/* Shared desktop workspace backdrop for merchant and admin dashboards. */
.platform-body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background-color: var(--bg);
}

.platform-body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(115deg, rgb(255 255 255 / 7%), rgb(247 243 255 / 3%)),
    url("platform-background-light.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

html:not(.theme-light) .platform-body::before {
  background-image: url("platform-background-dark.webp");
}

@media (max-width: 700px) {
  .platform-body::before {
    background-position: 18% center;
  }
}

@media print {
  .platform-body::before {
    display: none;
  }
}
