@import '../../assets/styles/colors';

.bouncing-loader {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  height: 30px;
  column-gap: 3px;
  width: 64px;

  .dots {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background-color: #a3a1a1;
    opacity: 1;
    animation: bouncing-loader 0.6s infinite alternate;
  }

  @keyframes bouncing-loader {
    to {
      opacity: 0.1;
      transform: translateY(-16px);
    }
  }

  .dots:nth-child(2) {
    animation-delay: 0.2s;
  }

  .dots:nth-child(3) {
    animation-delay: 0.4s;
  }
}

// BlinkingDotsLoader

.loader-container {
  display: flex;
  align-items: center;
  width: 54px;
  height: 18px;
  .loader_icon {
    margin-top: 2px;
  }
}

.loader-dots {
  display: flex;
  gap: 5px;
  .dot {
    width: 5px;
    height: 5px;
    background-color: $Lavender-blue;
    border-radius: 50%;
    animation: blink 2s infinite;
  }
  .dot:nth-child(1) {
    animation-delay: 0s;
  }
  .dot:nth-child(2) {
    animation-delay: 0.3s;
  }
  .dot:nth-child(3) {
    animation-delay: 0.6s;
  }
  @keyframes blink {
    0%,
    100% {
      background: $Lavender-blue;
    }
    50% {
      background: $Lavender-mist-blue;
    }
  }
}
