@keyframes ballRotate {
  0% {
    transform: rotate(0) scale(1)
  }

  50% {
    transform: rotate(180deg) scale(.6)
  }

  100% {
    transform: rotate(360deg) scale(1)
  }
}
.loading{
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 99999;
}

.loader {
  position: relative;
  width: 25px;
  height: 25px;
  top: 45%;
  left: 50%;
  border-radius: 100%;
  background-color: #3ba4fa;
  animation: ballRotate 1.3s 0s cubic-bezier(.7, -.13, .22, .86) infinite;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;

  &::after, &::before {
    position: absolute;
    width: 25px;
    height: 25px;
    margin: 2px;
    content: '';
    opacity: .8;
    border-radius: 100%;
    background-color: #8ed6ff;
  }

  &::before {
    top: 0;
    left: -40px
  }

  &::after {
    top: 0;
    left: 37px
  }
}


.checkbox {
    --blue: #006874;
    --g08: #E1E5EB;
    --g04: #848ea1;
  }

  .checkbox .tgl {
    display: none;
  }
  .checkbox .tgl,
  .checkbox .tgl:after,
  .checkbox .tgl:before,
  .checkbox .tgl *,
  .checkbox .tgl *:after,
  .checkbox .tgl *:before,
  .checkbox .tgl + .tgl-btn {
    box-sizing: border-box;
  }
  .checkbox .tgl::selection,
  .checkbox .tgl:after::selection,
  .checkbox .tgl:before::selection,
  .checkbox .tgl *::selection,
  .checkbox .tgl *:after::selection,
  .checkbox .tgl *:before::selection,
  .checkbox .tgl + .tgl-btn::selection {
    background: none;
  }
  .checkbox .tgl + .tgl-btn {
    outline: 0;
    display: inline-block;
    width: 87px;
    height: 33px;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
  }
  .checkbox .tgl + .tgl-btn:after,
  .checkbox .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 33px;
    height: 33px;
  }
  .checkbox .tgl + .tgl-btn:after {
    left: -4px;
    top: -2px;
  }
  .checkbox .tgl + .tgl-btn:before {
    display: inline;
    position: absolute;
    top: 5px;
  }
  .checkbox .tgl:checked + .tgl-btn:after {
    left: 64.5%;
  }

  .checkbox .tgl-ios + .tgl-btn {
    background: var(--g08);
    border-radius: 20rem;
    padding: 2px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  }
  .checkbox .tgl-ios + .tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  }
  .checkbox .tgl-ios + .tgl-btn:before {
    content: "No";
    left: 58px;
    color: var(--g04);
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  .checkbox .tgl-ios + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
  }
  .checkbox .tgl-ios + .tgl-btn:active:after {
    padding-right: 0.4em;
  }
  .checkbox .tgl-ios:checked + .tgl-btn {
    background: var(--blue);
  }
  .checkbox .tgl-ios:checked + .tgl-btn:active {
    box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);
  }
  .checkbox .tgl-ios:checked + .tgl-btn:active:after {
    margin-left: -0.4em;
  }
  .checkbox .tgl-ios:checked + .tgl-btn:before {
    content: "Yes";
    left: 12px;
    color: #fff;
  }