@import '../../../../../assets/scss/components';

.login-box {
  @extend %clearfix;
  padding: 0 0 45px;
  width: 420px;
  margin: auto;
  text-align: center;
  flex-basis: auto;
  align-items: center;
  .logo-img {
    display: block;
    text-align: center;
    img {
      margin-bottom: 7px;
      vertical-align: top;
      @include screen(mid) {
        width: 120px;
      }
      @include screen(xs) {
        width: 100px;
        margin-bottom: 6px;
      }
    }
  }
  @extend %guideline;

  .login-content {
    @extend %guideline2; //Guide Line2
    margin: 30px auto 0;
    .login-input-area {
      border: 1px solid #cccccc;
      border-radius: 2px;
      width: 100%;
      max-width: 420px;
      min-width: 150px;
      height: 60px;
      background-color: $white;
      margin-top: 10px;
      &.login-select-form {
        height: 60px;
        line-height: 60px;
        padding: 0 16px;
        @include screen(mid) {
          height: 50px;
          line-height: 50px;
        }
        @include screen(xs) {
          height: 42px;
          line-height: 42px;
        }
      }
      &:first-of-type {
        margin-top: 0px;
      }
      &.idpass-type {
        padding-left: 50px;
        position: relative;
        &::before {
          font-family: 'material Icons';
          font-size: 24px;
          text-align: center;
          line-height: 60px;
          content: 'perm_identity';
          display: block;
          position: absolute;
          top: 0;
          left: 16px;
          @include screen(mid) {
            line-height: 50px;
          }
          @include screen(xs) {
            line-height: 42px;
          }
        }
        &.pass-type {
          &::before {
            content: 'https';
          }
        }
        .login-idpass-txt {
          width: 368px;
          height: 60px;
          line-height: 60px;
          font-size: 14px;
          @include screen(mid) {
            width: 358 - 60 + px;
            height: 50px;
            line-height: 50px;
            font-size: 14px;
          }
          @include screen(xs) {
            width: 308 - 60 + px;
            font-size: 14px;
            height: 42px;
            line-height: 42px;
          }
          input {
            font-size: 18px;
            line-height: 58px;
            margin-top: 0;
            vertical-align: top;
            background-color: $white;
            padding: 0 10px 0 5px;
            @include screen(mid) {
              font-size: 16px;
              line-height: 48px;
            }
            @include screen(xs) {
              font-size: 14px;
              line-height: 40px;
            }
          }
        }
      }
      @include screen(mid) {
        margin-top: 8px;
      }
    }
    .login-input-submit {
      width: 100%;
      height: 60px;
      background-color: $black;
      border-radius: 2px;
      color: $white;
      font-size: 20px;
      @include font-family($font-semibold);
      border: 0;
      margin-top: 12px;
      font-weight: 600;
      cursor: pointer;
      @include screen(mid) {
        margin-top: 8px;
        font-size: 16px;
        height: 50px;
      }
      @include screen(xs) {
        font-size: 14px;
        height: 42px;
      }
    }
    @include screen(mid) {
      margin-top: 23px;
      width: 350px;
      .login-input-area {
        height: 50px;
      }
    }
    @include screen(xs) {
      margin-top: 23px;
      width: 300px;
      .login-input-area {
        height: 42px;
      }
    }
  }
}
.login-company {
  width: 100%;
}
