.btn-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  border: 0;
  font-family: "Inter-Medium";
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-sizing: border-box;
  font-size: 1rem;
}

.primary {
  background-color: var(--primary-bg-color);
  color: var(--primary-text-color);
}

.primary:hover {
  color: white;
  background-color: rgb(115, 40, 255) !important;
}

.secondary {
  background-color: rgb(115, 40, 255);
  color: white;
  border: 1px solid rgb(115, 40, 255);
}
.secondary:hover {
  color: rgb(98, 97, 97);
  background-color: white !important;
  border: 1px solid rgb(115, 40, 255);
}

.sm {
  padding: 0.5rem 1rem;
  font-size: 14px;
}

.md {
  padding: 0.7rem 1.2rem;
  font-size: 15px;
}

.lg {
  padding: 1rem 2.2rem;
  font-size: 18px;
}

.button-active {
  color: white;
  background-color: rgb(115, 40, 255);
}

.loader {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid gray;
  border-top: 2px solid blue;
  display: inline-block;
  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: rgba(115, 40, 255, 0.26);
  color: gray;
  pointer-events: none;
}

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