.auth-form {
  padding: 30px;
  background-color: $color-grey-light-6;

  label {
    @include control-label;
    margin: 0;
  }

  input {
    border-color: $color-grey-light-7;
  }

  .btn {
    float: right;

    &-primary {
      position: relative;
      z-index: 1;
    }
  }

  .form-group-invalid {
    label {
      color: $color-darker-red;
    }
    .ng-invalid.ng-touched {
      border-color: map-get($theme-colors, 'danger');
    }
  }

  .forgotten {
    margin-top: 30px;
    margin-bottom: 0;
    text-align: right;
  }

  .hint {
    position: absolute;
    bottom: 120%;
    right: 10%;
    left: 10%;
    background-color: $color-blue-dark;
    color: $color-white;
    padding: 15px 20px;
    white-space: normal;
    text-align: left;
    width: 80%;
    line-height: 1.2;
    border-radius: 5px 5px 5px 5px;

    &::after {
      content: '';
      width: 0;
      height: 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-top: 6px solid $color-blue-dark;
      position: absolute;
      top: 100%;
      right: 50%;
      transform: translateX(50%);
      z-index: 100000;
    }
  }

  &__submit {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;

    div {
      display: flex;
      flex-direction: column;
      margin: 2em 0;

      button {
        border: none;
      }
    }
  }
}
