.sw22s-btn {
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 9px 36px 9px 16px;
  position: relative;
  border-radius: 25px;
  transition: all 0.4s ease;
  text-decoration: none;
  color: #111111;
  display: inline-block;
  line-height: 1.334;
  border: 3px solid transparent;

  &::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 12px;
    right: 8px;
    top: 32%;
    background: transparent
      url("../../assets/graphics/svg/button-arrow.svg") no-repeat;
  }

  &.loading {
    &::before {
      width: 30px;
      height: 30px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent
        url("../../assets/graphics/svg/dot-spinner.svg") no-repeat;
    }
  }

  &.new-green,
  &.green {
    background-color: #aadc33;

    &:hover {
      background-color: #7ac400;
    }

    &:active {
      border: 3px solid #799423;
    }
  }

  &.white {
    background-color: #fff;

    &:hover {
      background-color: #aadc33;
    }
  }

  &.outline {
    border: 3px solid #aadc33;
  }

  &.new-white-green-outline {
    background-color: #fff;
    border: 3px solid #aadc33;

    &:hover {
      background-color: #aadc33;
    }

    &:active {
      border-color: #799423;
      background-color: #aadc33;
    }
  }

  &.new-dark-green-outline {
    background-color: #111111;
    color: #fff;
    border: 3px solid #aadc33;

    &:hover,
    &:active {
      background-color: #aadc33;
      color: #111111;
      &::before {
        background: transparent
          url("../../assets/graphics/svg/button-arrow.svg") no-repeat;
      }
    }

    &:active {
      border: 3px solid #799423;
    }

    &.loading {
      background-color: #aadc33;
      color: #111111;
      &::before {
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent
          url("../../assets/graphics/svg/dot-spinner.svg") no-repeat;
      }
    }

    &.disabled,
    &.loading {
      opacity: 0.6;
      pointer-events: none;
    }

    &::before {
      background: transparent
        url("../../assets/graphics/svg/button-arrow-white.svg")
        no-repeat;
    }
  }

  &.new-green-green-outline {
    background-color: #9abd2d;
    border: 3px solid #799423;

    &:hover {
      background-color: #799423;
    }
  }

  &.new-green-circle {
    z-index: 1;
    white-space: nowrap;

    &::after {
      position: absolute;
      content: "";
      height: 43px;
      border-radius: 50px;
      width: 43px;
      background-color: #aadc33;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      z-index: -1;
      transition: width 0.4s ease;
    }

    &:hover::after {
      width: 100%;
    }
  }

  &.new-dark-circle {
    z-index: 1;
    color: #aadc33;
    white-space: nowrap;

    &::after {
      position: absolute;
      content: "";
      height: 41px;
      border-radius: 50px;
      width: 41px;
      background-color: #111111;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      z-index: -1;
      transition: width 0.4s ease;
    }

    &::before {
      background: transparent
        url("../../assets/graphics/svg/button-arrow-green.svg")
        no-repeat;
    }

    &:hover::after {
      width: 100%;
    }
  }
  @media (hover: none) {
    background-color: #aadc33;
    padding: 5px 51px 6px 25px;
    position: relative;
    border-radius: 25px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: #111111;
    display: inline-block;
    line-height: 1.334;
    border: 3px solid transparent;
    &::after {
      display: none;
    }
    &::before {
      top: 38%;
    }
    &.loading {
      &::before {
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent
          url("../../assets/graphics/svg/dot-spinner.svg") no-repeat;
      }
    }
    &:active {
      border: 3px solid #799423;
    }

    &.new-green-circle {
      background-color: #aadc33;
      &::after {
        display: none;
      }
    }
    &.new-dark-circle {
      color: #aadc33;
      background-color: #111111;
      &::before {
        background: transparent
          url("../../assets/graphics/svg/button-arrow-green.svg") no-repeat;
      }
      &::after {
        display: none;
      }
    }
  }
}
