.regovern-2025-form {
  border: #2026d2 1px solid;

  > p {
    padding-right: 20px;
  }

  position: relative;

  form {
    gap: 0px !important;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;

    @media (max-width: 992px) {
      /* padding: 40px !important; */
    }

    .input {
      display: flex;
    }
  }

  .hs-email {
    width: 100%;

    @media (min-width: 992px) {
      width: unset;
    }

    label:not(.hs-error-msg) {
      display: none;
    }
  }

  &.hide-cross-promo-checkbox {
    .hs-fieldtype-booleancheckbox {
      display: none;
    }
  }

  .hs-fieldtype-booleancheckbox {
    @media (min-width: 992px) {
      position: absolute;
      bottom: -75px;
    }

    .hs-input[type="checkbox"] {
      margin-right: 5px;
    }
  }

  .hs-submit {
    width: 100%;

    input[type="submit"] {
      width: 100%;
      white-space: nowrap;
    }

    @media (min-width: 992px) {
      width: unset;

      input[type="submit"] {
        width: unset;
      }
    }
  }

  input[type="email"],
  input[type="text"] {
    color: rgb(51, 51, 51);
    width: 360px !important;

    @media (min-width: 992px) {
      width: 380px;
      height: 73px !important;
      border-right: 0px !important;
    }

    & {
      caret-color: #2c2c2c;
      background-color: #fff;
      height: 73px;
      border: unset;

      font-size: 25px;
      padding: 21px 37px !important;
    }

    &::placeholder {
      color: #667085;
    }
  }

  &.invert-btn {
    input[type="email"],
    input[type="text"] {
      border: unset !important;
    }
  }

  @media (min-width: 992px) {
    input[type="email"],
    input[type="text"] {
      width: 200px !important;
      font-size: 14px !important;
      padding: 12px 20px !important;
      height: 40px !important;
    }
  }

  @media (min-width: 1024px) {
    input[type="email"],
    input[type="text"] {
      width: 160px !important;
      font-size: 14px !important;
      padding: 12px 16px !important;
      height: 40px !important;
    }
  }

  @media (min-width: 1536px) {
    input[type="email"],
    input[type="text"] {
      width: 280px !important;
      font-size: 22px !important;
      padding: 14px 18px !important;
      height: 52px !important;
    }
  }

  @media (min-width: 1920px) {
    input[type="email"],
    input[type="text"] {
      width: 340px !important;
      font-size: 25px !important;
      padding: 21px 27px !important;
      height: 73px !important;
    }
  }

  input[type="submit"] {
    height: 73px !important;
    padding: 14px 20px !important;
    font-size: 21px !important;
    background-color: #62e1fb !important;
    cursor: pointer;
    color: #2026d2 !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-left: 1px solid #2026d2;

    &:hover {
      background-color: #4edcf8 !important;
      box-shadow: 0 7px 14px #32325d1a, 0 3px 6px #00000014 !important;
    }
  }

  @media (min-width: 992px) {
    input[type="submit"] {
      font-size: 15px !important;
      height: 40px !important;
      padding: 12px 24px !important;
    }
  }

  @media (min-width: 1536px) {
    input[type="submit"] {
      font-size: 18px !important;
      height: 60px !important;
      padding: 10px 20px !important;
    }
  }

  @media (min-width: 1920px) {
    input[type="submit"] {
      font-size: 21px !important;
      height: 73px !important;
      padding: 14px 20px !important;
    }
  }

  .submitted-message {
    color: white;
  }

  .hs-error-msgs {
    margin: 0px !important;
    list-style: none;
    padding: 0px;
    color: red;

    .hs-error-msg {
      font-weight: 100 !important;
      font-size: 12px;
    }

    position: absolute;
  }

  .hs-form-booleancheckbox {
    @media (min-width: 992px) {
      margin-top: -50px;
      width: 370px;
    }

    .hs-input {
      margin-right: 10px !important;
    }
  }

  &.big-form {
    .hs-error-msgs label.hs-error-msg {
      color: #e90f0f;
      font-size: 14px;
    }

    @media (min-width: 1920px) {
      .hs-error-msgs label.hs-error-msg {
        color: #e90f0f;
        font-size: 28px;
      }
    }

    input[type="submit"] {
      font-size: 15px !important;
      height: 40px !important;
      padding: 12px 24px !important;
    }

    @media (min-width: 992px) {
      input[type="submit"] {
        font-size: 28px !important;
        height: 60px !important;
        padding: 16px 36px !important;
      }
    }

    @media (min-width: 1536px) {
      input[type="submit"] {
        font-size: 32px !important;
        height: 90px !important;
        padding: 20px 40px !important;
      }
    }

    @media (min-width: 1920px) {
      input[type="submit"] {
        font-size: 41px !important;
        height: 90px !important;
        padding: 20px 50px !important;
      }
    }

    input[type="email"],
    input[type="text"] {
      width: 200px !important;
      font-size: 14px !important;
      padding: 12px 20px !important;
      height: 40px !important;
    }

    @media (min-width: 992px) {
      input[type="email"],
      input[type="text"] {
        width: 320px !important;
        font-size: 25px !important;
        padding: 20px 40px !important;
        height: 60px !important;
      }
    }

    @media (min-width: 1024px) {
      input[type="email"],
      input[type="text"] {
        width: 280px !important;
        font-size: 25px !important;
        padding: 20px 20px !important;
        height: 60px !important;
      }
    }

    @media (min-width: 1536px) {
      input[type="email"],
      input[type="text"] {
        width: 360px !important;
        font-size: 32px !important;
        padding: 28px 40px !important;
        height: 90px !important;
      }
    }

    @media (min-width: 1920px) {
      input[type="email"],
      input[type="text"] {
        width: 480px !important;
        font-size: 35px !important;
        padding: 31px 34px !important;
        height: 90px !important;
      }
    }
  }
}

.regovern-2025-animated-bg {
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
  animation: regovern-2025-animated-bg 400s linear infinite;

  &.regovern-2025-animated-bg-flipped {
    animation: regovern-2025-animated-bg 400s linear infinite reverse;
  }
}

.regovern-2025-animated-bg-mobile {
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;
  animation: regovern-2025-animated-bg-mobile 400s linear infinite;
}

@keyframes regovern-2025-animated-bg-mobile {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 10000px 0;
  }
}

@keyframes regovern-2025-animated-bg {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 10000px;
  }
}
