@import 'icons.css';
.form {
  /* position: absolute; */
  /* top: 50%; */
  /* margin-top: -300px; */
  /* width: 520px; */
  /* left: 50%; */
  /* margin-left: -260px; */
  
  & form {
    padding: 10px 0;    
    border: solid 2px $gray-light;
    border-radius: 2px;
    background-color: white;
  }
  & h2 {
    text-align: center;
    font-size: 20px;
    color: #555555;
    margin: 35px 0;
    font-weight: 500;
  }
}

.formFooter  {
  text-align: center;
  padding: 15px 0;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  margin-top: 20px;

  & .divider {
    width: 1px;
    height: 12px;
    background-color: $gray-medium;
    margin: 0 5px;
  }
}

.logo {
  background-image: svg-load('logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 40px;
  margin-bottom: 20px;
}


.email, .password {
  display: block;
  margin: 10px auto;
  width: 100%;
  height: 45px;
  line-height: 45px;
  border: $gray-light solid 1px;
  border-radius: 3px;
  font-size: 14px;
  padding: 0 10px;
  transition: all 0.2s;

  &::placeholder {
    color: #AAA;
  }

  &:focus {
    border-color: $teal;
    transition: all 0.2s;
  }
}

.errors {
  border-radius: 5px;
  /* width: 400px; */
  margin: 10px auto;
  /* border: 1px solid $red; */
  padding: 15px;
  background-color: rgba(204, 0, 0, 0.1);
  & .errorItem {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.submit {
  display: block;
  border-radius: 5px;
  background: $teal;
  width: 135px;
  height: 45px;
  margin: 20px auto;
  color: $white;
  font-size: 16px;
  cursor: pointer;
}

.inputWithIcon {
  position: relative;
  width: 400px;
  margin: 0 auto;

  & input {
    padding-left: 45px;
  }
}

@define-mixin inputIcon $name {
  position: absolute;
  left: 15px;
  top: calc(50% - 8px);
  @mixin icon $name, $gray-medium, 15px;
}

.inputIconUser {
  @mixin inputIcon user-alt;
}

.inputIconPassword {
  @mixin inputIcon lock-alt;
}



.left {
  /* background: rgb(57,78,255); */
  background: linear-gradient(135deg, rgba(57,78,255,1) 0%, rgba(58,89,245,1) 21%, rgba(62,161,183,1) 69%, rgba(62,170,175,1) 100%);
  background-image: svg-load(pattern-login.svg), linear-gradient(135deg, rgba(57,78,255,1) 0%, rgba(58,89,245,1) 21%, rgba(62,161,183,1) 69%, rgba(62,170,175,1) 100%);
  background-size: cover;
  background-position: center center;
  position: relative;
  & .bottom {
    background-color: black;
  }
}

.formField {
  margin-bottom: 20px;
  > & label {
    margin-bottom: 10px !important;
  }
}

.sso {
  border-top: solid thin $gray-light;
}