.brandnestor-align-left {
  text-align: left;
}

.brandnestor-align-right {
  text-align: right;
}

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

.brandnestor-align-justify > .brandnestor-button {
  width: 100%;
}

.brandnestor-form-group {
  margin-bottom: 1rem;

  label {
    display: inline-block;
    margin-bottom: .5rem;
  }

  .form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    margin: 0;
  }

  .input-group {
    position: relative;
  }

  .hide-pw {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: transparent;
    cursor: pointer;
    height: 25px;
    width: 25px;
  }
}

.brandnestor-form-message {
  padding: 1% 3%;
  margin-bottom: 15px;
  background: #eee;
  color: black;
  border-left: 5px solid #72aee6;

  &.error {
    border-left: 5px solid #d63638;
  }
}

.brandnestor-button {
  cursor: pointer;
}

label.brandnestor-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;

  span {
    margin-left: 8px;
  }
}

.brandnestor-password-strength {
  text-align: center;
  font-weight: bold;
  padding: 3px 0.5em;
  font-size: 1em;

  &.short {
    background-color: #ffadaa;
  }
  &.bad {
    background-color: #ffc5aa
  }
  &.good {
    background-color: #ffe399;
  }
  &.strong {
    background-color: #cff1bb;
  }
}

/*
 * vim: ft=sass
 */
