

body.page-loading {
  margin: 0;
  height: 100%;
  overflow: hidden;
  transition: none !important;
}

.splash-screen {
  display: none;
}

.page-loading .splash-screen {
  position: fixed;
  z-index: 99999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Inter, Helvetica, 'sans-serif';
  background-color: #fff;
}

/* .page-loading .splash-screen .loading-text {
  color: #99A1B7;
  margin-left: 1.25rem;
  font-size: 1.075rem;
  font-weight: 500;
} */

.page-loading .splash-screen .loading-text {
  color: #99A1B7;
  margin-left: -5.50rem;
  margin-top: -5.50rem;
  font-size: 1.075rem;
  font-weight: 500;
}

html[data-bs-theme='dark'] .page-loading .splash-screen {
  background-color: #151521;
  color: #ffffff;
}

.splash-screen .dark-logo {
  display: none;
}

.splash-screen .light-logo {
  display: block;
}

html[data-bs-theme='dark'] .splash-screen .light-logo {
  display: none;
}

html[data-bs-theme='dark'] .splash-screen .dark-logo {
  display: block;
}

/***************
*custom loader 
****************/


:root,
:root.classic {
    --custom-loader-border-colour: #eee;
    --loader-background-colour: var(--custom-loader-border-colour);
    --loader-outer-colour: #11005f;
    --loader-middle-colour: #078d0e;
    --loader-inner-colour: #f9c922;
}


.loader {
    display: block;
    position: relative;
    left: 30%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -115px 0 0 -65px; 

    border: 3px solid transparent;
    border-top-color: #3498db;
    border-top-color: var(--loader-outer-colour);
    border-radius: 50%;

    animation: spin 2s linear infinite;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}

.loader:before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: #e74c3c;
    border-top-color: var(--loader-middle-colour);
    animation: spin 3s linear infinite;
}

.loader:after {
    top: 13px;
    left: 13px;
    right: 13px;
    bottom: 13px;
    border-top-color: #f9c922;
    border-top-color: var(--loader-inner-colour);
    animation: spin 1.5s linear infinite;
}

.loading-msg {
    display: block;
    position: relative;
    width: 400px;
    left: calc(50% - 200px);
    top: calc(50% + 50px);
    text-align: center;
    opacity: 0;
    font-size: 18px;
}

.loading-msg.loading {
    opacity: 1;
    transition: all 0.1s ease-in;
}

.loading-error {
    display: block;
    position: relative;
    width: 600px;
    left: calc(50% - 300px);
    top: 10%;
}

 
/* Animations */

@keyframes spin {
    0%   {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bump {
	from {
        opacity: 0;
        transform: translate3d(0, 200px, 0);
    }
}

/*end custom loader*/


/*
.loader {
  width: 2rem;
  height: 2rem;
  border: 0.185rem solid #1B84FF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 0.65s linear infinite;
}

@keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
*/

.loader-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1.25rem;
}