:root {
  --loader-body: white;
}

.dark-loader {
  --loader-body: #222222;
}

.loader {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10;
  width: 100%;
  height: 100vh;
  background-color: var(--loader-body);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
}

.loader.none {
  display: none !important;
}


.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: #096a2e;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}









.submit-loader-black {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background-color: black;
}

.submit-loader-red {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background-color: rgb(247, 74, 74);
}

.submit-loader-green {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background-color: rgb(84, 201, 84);
}

.submit-spinner,
.submit-spinner div,
.submit-spinner div:after {
  box-sizing: border-box;
}

.submit-spinner {
  color: white;
  display: inline-block;
  position: relative;
  width: 36px;  /* Adjusted size */
  height: 36px; /* Adjusted size */
}

.submit-spinner div {
  transform-origin: 18px 18px; /* Center of 36px */
  animation: submit-spinner 1.2s linear infinite;
}

.submit-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 1.44px;  /* Scaled from 3.2px */
  left: 13.2px; /* Scaled from 36.8px */
  width: 2.4px; /* Scaled from 6.4px */
  height: 7.2px; /* Scaled from 17.6px */
  border-radius: 20%;
  background: white;
}

.submit-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.submit-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.submit-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.submit-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.submit-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.submit-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.submit-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.submit-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.submit-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.submit-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.submit-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.submit-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes submit-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}



.submit-loader-small-grey {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background-color: #ccc;
}


.submit-spinner-small,
.submit-spinner-small div,
.submit-spinner-small div:after {
  box-sizing: border-box;
}

.submit-spinner-small {
  color: white;
  display: inline-block;
  position: relative;
  width: 24px;  /* Scaled down from 36px */
  height: 24px; /* Scaled down from 36px */
}

.submit-spinner-small div {
  transform-origin: 12px 12px; /* Center of 24px */
  animation: submit-spinner-small 1.2s linear infinite;
}

.submit-spinner-small div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 0.96px;   /* 2/3 of 1.44px */
  left: 8.8px;   /* 2/3 of 13.2px */
  width: 1.6px;  /* 2/3 of 2.4px */
  height: 4.8px; /* 2/3 of 7.2px */
  border-radius: 20%;
  background: white;
}

.submit-spinner-small div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}

.submit-spinner-small div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}

.submit-spinner-small div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}

.submit-spinner-small div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}

.submit-spinner-small div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}

.submit-spinner-small div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}

.submit-spinner-small div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}

.submit-spinner-small div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}

.submit-spinner-small div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}

.submit-spinner-small div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}

.submit-spinner-small div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}

.submit-spinner-small div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}

@keyframes submit-spinner-small {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}