$authentication--form--border: #d4dbe0;
$authentication--form--padding: $spacing-unit * 1.25;

$authentication--textbox--background: #122430;
$authentication--textbox--border: #e9edef;
$authentication--textbox--placeholder: #c1c9cf;

$authentication--header--foreground: $white;
$authentication--label--foreground: #3a5567;

.application {
  &__view {
    &--auth-form {
      background: $light-blue;
    }
  }
}

.form {
  &--authentication {
    max-width: 350px;
    width: 100%;

    .form {
      &__wrapper {
        background: $white;
        border: 1px solid $authentication--form--border;
        padding: $authentication--form--padding;
      }

      &__header {
        background: $blue;
        margin: $authentication--form--padding * -1 $authentication--form--padding * -1 0 $authentication--form--padding *
          -1;
        padding: $authentication--form--padding * 0.75 $authentication--form--padding;

        h1 {
          color: $authentication--header--foreground;
          font-size: 1.4em;
          font-weight: 400;
          line-height: 1;
        }

        & + .form__row {
          margin-top: $authentication--form--padding;
        }
      }

      &--header {
      }

      &__label {
        color: $authentication--label--foreground;
      }

      &__row {
        &--error {
          color: $red;
          font-size: 0.75em;
        }
      }

      &__actions {
        text-align: right;

        .button {
          box-shadow: none;
        }
      }
    }

    .textbox {
      background: transparent;
      border-bottom: 1px solid $authentication--textbox--border;

      &:active,
      &:focus {
        border-bottom: 1px solid $blue;
      }

      &::placeholder {
        color: $authentication--textbox--placeholder;
        font-style: normal;
      }
    }
  }
}
