.button {
  border: none;
  outline: none;
  background-color: white;
  color: black;
  border-radius: 10px;
  font-family: 'Poppins-Medium';
  font-weight: 500;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-sizing: border-box;
}

.button:hover {
  background-color: rgba(161, 161, 245, 0.358);
  color: white;
}

.sm {
  padding: 0.3rem 1.5rem;
  font-size: 15px;
}

.md {
  padding: 0.6rem 2rem;
  font-size: 18px;
}

.lg {
  padding: 0.7rem 3rem;
  font-size: 22px;
}

.loader {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid rgba(159, 159, 159, 0.582);
  border-radius: 50%;
  border-top: 2px solid rgb(51, 51, 221);
  animation: rotate 0.5s linear infinite;
}

.loader-sm {
  width: 10px;
  height: 10px;
}

.loader-md {
  width: 15px;
  height: 15px;
}

.loader-lg {
  width: 20px;
  height: 20px;
}

.disabled {
  background-color: rgb(168, 166, 166);
  opacity: 0.5;
  color: white;
  cursor: not-allowed;
}

.disabled:hover {
  background-color: rgba(168, 166, 166, 0.214);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
