.form_block.form_block {
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding: 46px 30px;
  box-sizing: border-box;
  backdrop-filter: blur(40.2px);
  border: 2px solid #1876f237;
  background: #130c2a33;
  border-radius: 30px;
  position: relative;
  overflow: visible;
  scroll-margin-top: 15vh;
}

.form_block.form_block *,
.form_block.form_block *::before,
.form_block.form_block *::after {
  box-sizing: border-box;
}

.form_block.form_block .leadform.register-form {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Unbounded", sans-serif;
}

.form_block.form_block .form-preloader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 12, 42, 0.65);
  border-radius: 30px;
}

.form_block.form_block .form-preloader.hidden {
  display: none;
}

.form_block.form_block .form-preloader .spinner {
  animation: form-spinner 1s linear infinite;
}

.form_block.form_block .form-preloader .path {
  stroke: #1877f2;
  stroke-linecap: round;
  animation: form-spinner-dash 1.5s ease-in-out infinite;
}

.form_block.form_block .form-input-main {
  width: 100%;
  max-width: 100%;
}

.form_block.form_block .form-input-main .form-input,
.form_block.form_block .form-input-main input[type="email"],
.form_block.form_block .form-input-main input[type="text"],
.form_block.form_block .form-input-main input[type="tel"] {
  display: block;
  height: auto;
  width: 100%;
  max-width: 100%;
  padding: 14px;
  font-size: 16px;
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  color: #fff;
  border: 1px solid #1877f2;
  background: #1877f21a;
  border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form_block.form_block .form-input-main input::placeholder {
  color: #8f8cb8;
}

.form_block.form_block .form-input-main input:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.25);
}

.form_block.form_block .error-msg {
  color: #ef4444;
  font-size: 12px;
  min-height: 16px;
}

.form_block.form_block .error-msg.hide {
  display: none;
}

.form_block.form_block .leadform.register-form > button[type="submit"] {
  margin-top: 8px;
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.25px;
  text-transform: none;
  background: linear-gradient(90deg, #1877f2, #4ea1ff, #0d1c63, #1877f2);
  background-size: 300% 100%;
  animation: form-submit-gradient 4s ease infinite;
  box-shadow: 0 0 18px rgba(24, 119, 242, 0.45);
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.form_block.form_block .leadform.register-form > button[type="submit"]:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(24, 119, 242, 0.65);
}

.form_block.form_block .leadform.register-form > button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.4);
}

@keyframes form-submit-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes form-spinner {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes form-spinner-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@media (max-width: 768px) {
  .form_block.form_block {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 36px 24px;
  }
}
