// wraps whole screen content
.login-wrapper {
  width:100%;
  height:100%;
  position:relative;
  min-height:588px;
}

// wraps the background image and login box
#login {
  position:absolute;
  left:50%;
  top:50%;
  font-family: @fontFamily !important;
  width:824px;
  height:534px;
  background-image:url('@{imagePath}/backgroundMan.png');
  background-repeat:no-repeat;
  background-size:contain;
  background-position:left center;
  transform: translate(-50%, -50%);  
}

#login .login-box {
  float:right;
  width:495px;
  min-height:325px;
  padding:30px;
  margin: 70px 0;
  border-radius: 5px;
  background:@contentBackground;
  box-shadow: 1px 5px 10px 0px rgba(11, 19, 42, 0.10);;

  // custom form measurements and styles
  form .control-group label {
    font-size:16px;
    padding-top:12px;
  }

  .control-label {
    width:125px;
  }
  .controls {
    margin-left:145px;
    margin-right:53px;
  }

  input[type="text"],
  input[type="password"] {
      height:32px;
      width:260px;
      padding:4px 16px;
      font-size:18px;
      -webkit-box-shadow: none;
      -moz-box-shadow:   none;
      box-shadow:       none;
  }
  
  .two-fa  {
    .control-label {
      width: 150px;
      display: inline-flex;
    }
    input {
      width: 257px;
    }
  }

  form {
    margin: 4px 0;
  }
  &.reset-password {
    .control-label {
      width: 105px;
    }
   .controls {
      margin-left: 139px;
      margin-right: 61px;
    }
  }
}

#login.setup {
  background-image: url('@{imagePath}/agent_logo.svg');
  background-size: 396px 591px;
  background-position: 0px 35px;
  min-height: 640px;
  min-width: 710px;

  &.validate {
    .login-box {
      text-align: left;
      width: 379px;
    }

    h2 {
      text-align: left;
    }

    form .control-group label {
      font-size: 14px;
      font-weight: 500;
      width: auto;
      margin-right: 9px;
      padding-top: 0;
    }

    .controls {
      margin: 0;
      text-align: left;

      input {
        height: 28px;
        padding: 2px 16px;
        font-size: 14px;
        border-radius: 4px;
      }
    }

    .instructions {
      display: flex;
      padding: 12px;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      border-radius: 4px;
      background: @Gray100;

      .note {
        color: @Gray600;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 14px;
      }

      pre {
        width: 324px;
        background-color: #f7f7f7;
        margin: 0;
        border-color: @Gray300;
        position: relative;
        padding: 12px;

        code {
          font-weight: 500;
          font-family: @monospaceFontFamily;
          font-size: 14px;
        }

        .copy-code {
          position: absolute;
          right: 10px;
          font-size: 18px;

          &:hover {
            cursor: pointer;
            color: inherit;
          }
        }
      }
    }
  }

  .login-box {
    border-radius: 4px;
    box-shadow: 1px 5px 15px 0px rgba(11, 19, 42, 0.10);
    font-weight: 500;
    padding: 40px;
    width: 488px;

    h2 {
      font-size: 23px;
      font-style: normal;
      font-weight: 700;
      line-height: 28px;
    }
  }

  &.complete {
    min-width: 705px;
    background-position: 0px 0px;
    input[type="text"],input[type="password"] {
      border: none !important;
      background-color: transparent !important;
    }
    
    .login-box {
      padding: 20px 0 0 0;
      width: 460px;
      min-height: 370px;
    }

    h2 {
      text-align: center;

      i {
        margin-right: 8px;
        color: @Green500;
      }
    }
    
    form .control-group label {
      width: 135px;
      font-size: 14px;
      font-weight: 500;
    }

    .controls {
      margin-left: 155px;
    }

    .actions .controls {
      margin-right: 33px;
    }
  }
}

#login .login-box .checkbox,
#login .login-box .forgot {
  font-size:14px;
  padding-left:0;
  input[type=checkbox] {
    margin:3px 10px 0 0;
  }
}