html, body, #matrixchat { background: #1a3144; min-height: 100%; }
.mx_AuthPage {
  background-color: #1a3144 !important;
  background-image: url("/themes/element/img/backgrounds/lake.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  min-height: 100dvh !important;
  height: auto !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: auto !important;
  box-sizing: border-box !important;
}
.mx_AuthPage_modalBlur { display:none !important; }
.mx_AuthPage_modal {
  position: relative !important;
  z-index: 1;
  width: auto !important;
  max-width: calc(100vw - 32px);
  margin: 0 auto !important;
  flex: 0 0 auto;
}
.mx_AuthPage_modalContent { position: relative; z-index: 2; }
.mx_AuthHeaderLogo img {
  width: 148px !important;
  max-width: 42vw;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  background: transparent;
}
.cpd-theme-dark .mx_AuthHeaderLogo img,
html.cpd-theme-dark .mx_AuthHeaderLogo img {
  content: url("/brand/logo-dark.png");
  mix-blend-mode: lighten;
}
@media (prefers-color-scheme: dark) {
  html:not(.cpd-theme-light) .mx_AuthHeaderLogo img {
    content: url("/brand/logo-dark.png");
    mix-blend-mode: lighten;
  }
}
@media (max-width: 480px) {
  .mx_AuthHeaderLogo { display: block !important; margin: 16px auto 0 !important; }
  .mx_AuthHeaderLogo img { width: 96px !important; }
}
.mx_AuthBody_forgot-password { display: none !important; }
.mx_AuthFooter { display: none !important; }
