.btn {
  color: var(--text-white);
  display: inline-block;
  overflow: hidden;
  position: relative;
  font-size: var(--fz-16);
  line-height: 1.5;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 40px 14px 40px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn.btn-primary {
  background-color: var(--primary-color);
}

.btn.btn-primary:hover {
  color: var(--text-white);
  background-color: #e87700;
}

.submitting .btn {
  position: relative;
}

.submitting .btn::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  animation: loader 0.7s linear infinite;
  border-width: 0.10417rem;
  border-style: solid;
  border-color: #1a2e4c;
  border-top-color: transparent;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

@keyframes loader {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
