body.page-loading {margin: 0; height: 100%; overflow: hidden; }

.splash-screen {
    display: none;
}

.splash-screen .loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    margin:15px auto;
    position: relative;
    color: #000;
    left: -100px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
  }
  
  @keyframes shadowRolling {
    0% {
      box-shadow: 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    12% {
      box-shadow: 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    25% {
      box-shadow: 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    36% {
      box-shadow: 120px 0 black, 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0);
    }
    50% {
      box-shadow: 130px 0 black, 120px 0 black, 110px 0 black, 100px 0 black;
    }
    62% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black, 110px 0 black;
    }
    75% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black;
    }
    87% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black;
    }
    100% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0);
    }
  }
  
  @keyframes shadowRollingDark {
    0% {
      box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    12% {
      box-shadow: 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    25% {
      box-shadow: 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }
    36% {
      box-shadow: 120px 0 white, 110px 0 white, 100px 0 white, 0px 0 rgba(255, 255, 255, 0);
    }
    50% {
      box-shadow: 130px 0 white, 120px 0 white, 110px 0 white, 100px 0 white;
    }
    62% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white, 110px 0 white;
    }
    75% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white, 120px 0 white;
    }
    87% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 130px 0 white;
    }
    100% {
      box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
    }
  }
  
.page-loading .splash-screen {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Inter, Helvetica, "sans-serif";
    background-color: #F9F9F9;
    color: #5E6278;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
}

html[data-bs-theme="dark"] .page-loading .splash-screen {
    background-color: #151521;
    color: #ffffff;
}
html[data-bs-theme="dark"] .page-loading .splash-screen .loader {
    color: #FFF;
    animation: shadowRollingDark 2s linear infinite;
  }
