@import "~assets/less/variable";

.window {
  width: 320px;
  background-color: fade(@secondary-color, 50%);
  padding-top: 64px;
  margin-bottom: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;

  
}

.form {
  width: 320px;
  text-align: center;
}

.input {
  height: 45px;
  border-bottom: 1px solid @white;
  display: flex;
  flex-direction: row;
  align-items: center;

  &:last-of-type {
    border-bottom: 0;
  }

  i {
    color: @white;
    font-size: 24px;
    flex-shrink: 0;
  }

  input {
    flex: 1;
    background-color: transparent;
    padding: 0 8px;
    border: 0;
    outline: none;
    color: @white;
    font-size: 1.15em;

    &::-webkit-input-placeholder {
      color: fade(@white, 75);
    }
    &::-moz-placeholder {
      color: fade(@white, 75);
    }
    &:-ms-input-placeholder {
      color: fade(@white, 75);
    }
    &:-moz-placeholder {
      color: fade(@white, 75);
    }

    &:-webkit-autofill {
      -webkit-text-fill-color: @white;
      transition: background-color 9999s ease-in-out 0s;
    }
  }
}

.submit {
  width: 75%;
  height: 36px;
  background-color: transparent;
  margin-top: 16px;
  border: 1px solid @white;
  border-radius: 3px;
  color: @white;
  font-size: 1.15em;
  outline: none;

  &[disabled] {
    background-color: fade(@white, 20);
  }

  i {
    margin-right: 8px;
  }
}

.tips {
  width: 75%;
  margin-top: 16px;
  text-align: center;

  span {
    color: @light-bg;
  }

  a {
    font-weight: bold;

    &.register {
      float: left;
    }

    &.forgetPassword {
      float: right;
    }
  }
}

.joinOrganizationLoadingContent {
  padding: 20px 0;
  color: @white;
}
