/* Main login page layout */
.error404 {
  background-color: var(--theme-light-color);
  min-height: 100vh;
  position: relative;
}

/* Overlay for background */
.error404::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--theme-primary-trans-color);
  z-index: 1;
}

/* Ensure content appears above overlay */
.error404 .container-fluid {
  position: relative;
  z-index: 2;
}

/* Mobile background */
@media (max-width: 575px) {
  .error404 {
    background-image: var(--login-page-background-mobile);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

/* Tablet background */
@media (min-width: 576px) and (max-width: 991px) {
  .error404 {
    background-image: var(--login-page-background-tablet);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

/* Desktop background */
@media (min-width: 992px) {
  .error404 {
    background-image: var(--login-page-background);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}
