.btn {
   position: relative;
   padding: 16px;
   color: #ffffff;
   font-size: rem(12);
   font-weight: 500;
   text-transform: uppercase;
   border-radius: 4px;
   background-color: cl("accent");
   text-align: center;
   transition: all 0.3s ease-in-out;
   line-height: 1;
   white-space: nowrap;

   cursor: pointer;
   @include _Tablet {
      padding: 20px;
   }

   @include _Desktop {
      font-size: rem(14);
   }

   &:hover {
      background-color: cl("accent-hover");
   }

   &.is-loading {
      color: transparent;
      pointer-events: none;
      opacity: 0.8;

      &::after {
         content: "";
         position: absolute;
         inset: 0;
         margin: auto;

         width: 18px;
         height: 18px;
         border-radius: 50%;

         border: 2px solid rgba(255, 255, 255, 0.4);
         border-top-color: #fff;

         animation: loader-spin 0.7s linear infinite;
      }
   }
}

@keyframes loader-spin {
   to {
      transform: rotate(360deg);
   }
}
