form {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    height: 48px;
    width: 100%;
    background: transparent;
    font-family: $family-primary;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #e1e1e4;
    padding: 12px;
    background: #fdfdfd;
    transition: all 250ms ease-in-out;

    &:focus {
      outline: none;
      border: 1px solid #2a2c89;
      color: #272647;
    }
  }

  textarea {
    height: 140px;
    resize: none;
    padding: 6px 12px 8px;
  }

  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-image: url(../../assets/images/icon-down.svg);
    background-size: 24px;
  }

  .item-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
  }

  .label {
    font-family: $family-primary;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #4a4a4a;

    &:after {
      content: "*";
      color: #cf4646;
    }
  }

  .Button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
  }

  .loader {
    display: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: conic-gradient(#0000 10%, #ffffff);
    -webkit-mask: radial-gradient(
      farthest-side,
      #0000 calc(100% - 9px),
      #000 0
    );
    zoom: 0.32;
    animation: load 1s infinite linear;
  }

  &.submitting {
    .Button {
      color: transparent;
      opacity: 0.6;
      pointer-events: none;

      .text {
        display: none;
      }
    }

    .loader {
      display: flex;
    }
  }
}

@keyframes load {
  100% {
    transform: rotate(1turn);
  }
}
