.tmp-btn.tmp-modern-button .btn-hack::after {
    content: "";
    position: absolute;
    width: 500%;
    height: 500%;
    background: conic-gradient(from 148deg, transparent 46%, #fff 50%, transparent 54%);
    z-index: 1;
    border-radius: inherit;
    animation: animate 4s linear infinite;
}


/*btn widget css*/

.tmp-btn.tmp-modern-button {
  position: relative;
  border: 1px solid var(--color-border-2);
  overflow: hidden;
  border-radius: 500px;
  transition: all .3s ease;
  direction: ltr;
  text-align: center;
  display: inline-block;
}

.tmp-btn.btn-border {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-body);
  line-height: 57px;
}

.tmp-btn {
  cursor: pointer;
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-family: var(--font-secondary);
  text-transform: capitalize;
  transition: all .4s ease-in-out;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.tmp-btn.hover-icon-reverse .icon-reverse-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tmp-btn.tmp-modern-button .btn-hack {
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) padding-box;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) padding-box;
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.tmp-btn.tmp-modern-button .btn-hack::after {
  content: "";
  position: absolute;
  width: 500%;
  height: 500%;
  background: conic-gradient(from 148deg, transparent 46%, #fff 50%, transparent 54%);
  border-radius: inherit;
  animation: ledSpin 3s linear infinite;
}

@keyframes ledSpin {
  to { transform: rotate(360deg); }
}

.tmp-btn.tmp-modern-button .btn-bg,
.tmp-btn.tmp-modern-button .btn-bg-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  transition: opacity .4s ease;
}

.btn-text {
    padding: 0px 40px !important;
}
.btn-hack {
   border-radius: 500px !important;
}

.tmp-btn.tmp-modern-button .btn-bg-hover {
  opacity: 0;
}

.tmp-btn.tmp-modern-button:hover .btn-bg-hover {
  opacity: 1;
}

.tmp-btn.tmp-modern-button:hover .btn-bg {
  opacity: 0;
}
