$white: #ffffff;
$active-color: #414adc;
$error-color: #e3000f;
$border-radius: 4px;

#wrapper {
  font-size: 1.3rem;
  line-height: 1.6rem;

  .mt-6 {
    margin-top: 24px;
  }

  .mb-8 {
    margin-bottom: 32px;
  }

  .password-reset-container {
    width: 400px;
    margin: 100px auto;

    img.logo {
      width: 120px;
      margin-bottom: 40px;
    }

    h1 {
      font-size: 2rem;
      line-height: 2.4rem;
      font-weight: 600;
    }

    .link {
      color: #0c15b3;
    }

    input[type=text],
    input[type=password] {
      cursor: pointer;
      border: 1px solid #e4e4e4;
      border-radius: #{$border-radius};
      height: 40px;
      padding: 2px 13px;
      transition: all 0ms;
      outline: 0;

      &.has-error {
        outline: 0;
        border-color: #{$error-color};
        border-width: 2px;
        padding: 1px 12px;
      }

      &:hover:not(.has-error) {
        outline: 0;
        border-color: #cbcbcb;
        border-width: 2px;
        padding: 1px 12px;
      }

      &:focus {
        outline: 0;
        border-color: #{$active-color};
        border-width: 2px;
        padding: 1px 12px;
        box-shadow: 0 2px 4px rgba(63, 123, 183, 0.16);
      }
    }

    .error-label {
      display: block;
      font-size: 1.2rem;
      color: #fff;
      background-color: #{$error-color};
      border-radius: .4rem;
      padding: .2rem .4rem;
      margin: -.2rem 1.4rem 0;
    }

    .btn {
      background-color: #{$active-color};
      border-radius: #{$border-radius};
      color: #{$white};
      border-width: 0;
      border-color: transparent;
      outline: 0;

      &:hover {
        background-color: #bad1f3;
        color: #{$active-color};
        box-shadow: 0 2px 4px rgba(63, 123, 183, 0.16);
      }

      &:active {
        background-color: #0c15b3;
        color: #{$white};
        box-shadow: none;
      }

      &:focus {
        box-shadow: none;
      }

      &:focus-visible {
        background-color: #9e9480;
        box-shadow: 0 2px 4px #9e948040;
        color: #212121;
      }
    }
  }

  .password-reset-footer {
    margin: auto auto 60px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: #5a5a5a;

    a {
      margin: 0 18px;
    }
  }

  ul.securityHints {
    margin-top: 32px;
    margin-bottom: 40px;

    & li:not(:last-child) {
      margin-bottom: 12px;
    }
  }
}
