.block-call-to-action {
  position: relative;

  form {
    max-width: 400px;
    margin: 0 auto;
  }

  turbo-frame {
    display: block;
  }
}

.call-to-action {
   .apply-for-job {
    margin-bottom: 40px;
  }

  .call-to-action-placeholder-message {
    text-align: center;
  }

  .team-member {
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: -50px;
    box-shadow: 0 3px 8px #999999;
  }

  .candidate-web-identity-multistep-auth {
    .candidate-web-identity-multistep-known {
      i.fa {
        color: var(--bs-info);
        font-size: 300%;
        margin-right: 1rem;
      }
      margin-bottom: 2rem;
    }
    margin-bottom: 2rem;
  }

  /*inert means can't be interacted with */
  form[inert] {
    color: var(--modern-lightgrey-1);

    * {
      color: var(--modern-lightgrey-1);
    }

    input {
      background-color: var(--modern-lightgrey-1);
    }

    button {
      border-color: var(--modern-lightgrey-1);
    }
  }
}

.call-to-action-get {
  height: 3em;
  text-align: center;
}

.call-to-action-verify {
  min-height: 3em;
  form {
    text-align: center;
  }
  .call-to-action-code {
    text-align: center;
    margin: 0 auto;
    width: 10em;
  }
}

.call-to-action-form {
  input:not([type='submit']), textarea, select {
    color: black;
  }

  .form-group-submit {
    text-align: center;
  }

  label.error {
    display: none !important;
  }

  p, img {
    text-align: center;
  }

  input.error, textarea.error, select.error {
    outline: 2px solid red;
  }

  *[type='submit'] {
    .submit-in-progress, .submit-finished {
      display: none;
    }
  }
}

.call-to-action-create {
  &.candidate-unknown {
    .show-when-candidate-known {
      display: none;
    }
  }

  &.candidate-known {
    .hide-when-candidate-known {
      display: none;
    }

    div[data-form-template-field-binding="phone_binding"] {
      .iti__country-container {
        display: none;
      }
    }
  }

  .intl-tel-input {
    display: block;
  }

  .call-to-action-thumbnail {
    width: 200px;
  }

  .not-candidate {
    font-size: 12px;
  }

  .radio-inline label.error {
    display: inline-block !important;
  }

  input[type='email'] {
    width: 100%;
    margin-bottom: 10px;
  }

  min-height: 3em;

  .checkbox-label-text {
    font-weight: normal;
    font-size: 80%;
  }

  .signin-buttons {
    text-align: center;
    margin-bottom: 35px;
    img {
      cursor: pointer;
    }

    .btn-linkedin {
      margin-bottom: 15px;
    }

    .linkedin_autofill_explanation {
      text-align: center;
    }
  }
}



.form-call-to-action {
  .form-template-field-radio-button {
    .radio-inline {
      text-transform: none;
      font-size: 100%;
      display: block;
    }

    .radio-inline + .radio-inline {
      margin-left: 0;
      margin-top: 10px;
    }
  }

  .form-template-field-check-box-set {
    .check-box-inline {
      label {
        font-weight: normal;
      }

      input {
        margin-right: 5px;
      }
    }
  }
  input[type='file'].form-control {
    border: none;
    padding: 6px 0;
    box-shadow: none;
  }

}

@media (min-width: 767px) {
  .call-to-action {
    .form-group[data-form-template-field-binding="first_name_binding"] {
      width: calc(50% - 5px);
      float: left;
    }

    .form-group[data-form-template-field-binding="last_name_binding"] {
      width: calc(50% - 5px);
      float: right;
    }

    .form-group[data-form-template-field-binding="form_binding"] {
      clear: both;
    }
  }
}

.exit-call-to-action-modal {
  animation-duration: 0.85s;
}

.rich-text-label p {
  display: inline;
  margin: 0;
}