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

.button {
  border: 0;
  font-family: "Inter-Bold";
  cursor: pointer;
  border-radius: 12px;
  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, 101, 243) !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.3rem;
  font-size: 18px;
}

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

.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: var(--disabled-button-bg);
  color: gray;
  pointer-events: none;
}

.storyTitle {
  color: var(--primary-text-color);
  font-family: "Inter-Medium";
}

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