/**
 * Shared UMS authentication background
 * Used by Login, Sign Up, and Forgot Password pages.
 * Presentation only — does not alter forms or auth logic.
 *
 * Background is a watermark-style layer (~20% intensity)
 * so login card / meter overview remain primary focus.
 */

body.bdl-login-body,
body.bdl-auth-body {
  background-color: #FFFFFF;
  background-image: none;
  position: relative;
}

body.bdl-auth-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
}

/* Dedicated illustration layer — low opacity, behind all UI */
body.bdl-login-body::before,
body.bdl-auth-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../images/auth-bg-utility.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.22;
}

/* Soft white wash so the page stays predominantly white */
body.bdl-login-body::after,
body.bdl-auth-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.18);
}

/* Keep primary UI above the background layers */
body.bdl-login-body > *,
body.bdl-auth-body > * {
  position: relative;
  z-index: 1;
}
