.primary {
  @include buttonsColor(
    var(--primary-button-color, #6e33e5),
    var(--primary-button-color-hover, #331079),
    var(--primary-button-color-active, #998fcb),
    var(--primary-button-color-text, #ffffff)
  );
  white-space: nowrap;
  border-radius: 100px;

  &.not_recommended,
  &.coming_soon,
  &.inactive {
    white-space: normal;
    background-color: #bbb5dd;
    color: #776aba;
  }
}

.secondary {
  @include buttonsColor(
    var(--secondary-button-color, #1c1a28),
    var(--secondary-button-color-hover, #515156),
    var(--secondary-button-color-active, #3e3c47),
    var(--secondary-button-color-text, #ffffff)
  );
  white-space: nowrap;
  border-radius: 100px;

  &.not_recommended,
  &.coming_soon,
  &.inactive {
    white-space: normal;
    background-color: #6b6a72;
    color: #3e3c47;
  }
}

.tertiary {
  border-width: 1.5px;
  border-style: solid;
  border-color: #1c1a28;
  background-color: transparent;
  color: #1c1a28;
  white-space: nowrap;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  &:hover {
    background-color: #1c1a28;
    color: white;
    border-color: #1c1a28;
  }

  &:active {
    background-color: #33313d;
    color: white;
    border-color: #33313d;
  }

  &.not_recommended,
  &.coming_soon,
  &.inactive {
    white-space: normal;
    border-color: #9c9ab0;
    color: #9c9ab0;
  }
}

.not_recommended,
.coming_soon,
.inactive {
  padding: 1rem;
}

.xs_size {
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.6rem;
  border-width: 1.5px;

  > svg {
    flex: none;
    height: 0.8rem;
    width: 0.8rem;
    margin-left: 0.4rem;
  }
}

.s_size {
  padding: 0.4rem 1.6rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2rem;
  border-width: 1.5px;

  > svg {
    flex: none;
    height: 1.8rem;
    width: 1.8rem;
    margin-left: 1rem;
    padding: 0.2rem;
  }
}

.m_size {
  font-weight: 700;
  padding: 0.8rem 2.4rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
  border-width: 2px;

  > svg {
    flex: none;
    height: 2.2rem;
    width: 2.2rem;
    margin-left: 11px;
    padding: 0.2rem;
  }
}

.l_size {
  padding: 0.8rem 2.4rem;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 3rem;
  border-width: 2.5px;

  > svg {
    flex: none;
    height: 3rem;
    width: 3rem;
    margin-left: 1.6rem;
    padding: 0.2rem;
  }
}

.xl_size {
  padding: 1.6rem 3.2rem;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 4rem;
  border-width: 3px;

  > svg {
    flex: none;
    height: 3.8rem;
    width: 3.8rem;
    margin-left: 1.8rem;
    padding: 0.2rem;
  }
}
