@keyframes roll {
  0% {
    transform: translateX(480px);
  }
  100% {
    transform: translateX(-100%);
  }
}

.pro-login {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: flex;

  .svg-icon {
    display: inline-block;
    height: 14px;
  }

  .left-area {
    flex: 1;
    flex-shrink: 0;
    min-height: 100vh;
    max-width: 50%;

    .default-left-area {
      width: 100%;
      height: 100vh;
      video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

  .system-notice {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 12px;
    background: #ffeeee;
    font-size: 12px;
    color: #ff005f;
    line-height: 18px;

    .notice-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      .notice-text {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .system-error-message {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 8px 12px;
    background: #ffeeee;
    border-radius: 4px;
    font-size: 12px;
    color: #ff005f;
    line-height: 18px;

    .notice-icon {
      margin-right: 6px;
    }
  }

  .hidden {
    visibility: hidden;
    display: none;
  }

  .notice-hidden {
    visibility: hidden;
  }

  .ant-form-item {
    margin-bottom: 16px !important;

    .ant-form-item-control-input-content {
      height: 40px;
    }

    .ant-input-affix-wrapper {
      height: 100%;
      align-items: center;
      border-radius: 4px;
      overflow: hidden;

      .ant-input-password-icon {
        height: 15px;

        > div {
          svg {
            height: 15px;
          }
        }
      }
    }

    .ant-input {
      height: 100%;
      border-radius: 4px !important;
    }

    .ant-checkbox-wrapper {
      font-size: 12px;
      color: #939599 !important;
      line-height: 16px;
    }
  }

  .pro-login-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100vh;
    background: #fff;
    max-width: 50%;

    .login-notice {
      position: absolute;
      left: 0;
      top: 0;
    }

    .return-btn {
      position: absolute;
      left: 50px;
      top: 56px;
      background: #f2f2f2;
      border: none;
      color: #616161;
    }

    .login-content-wrapper {
      position: relative;
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .pro-login-content {
      margin: 0 auto;
      width: 330px;

      .system-logo {
        height: 22px;
      }
      .system-title {
        margin-top: 24px;
        font-size: 26px;
        font-weight: 600;
        color: #343434;
        line-height: 36px;
      }

      .system-sub-title {
        margin: 10px 0 30px;
        font-size: 14px;
        font-weight: 400;
        color: #767985;
        line-height: 20px;
        &.error-system-sub-title {
          margin: 10px 0;
        }
      }

      .login-button {
        width: 100%;
        height: 40px;
        border-radius: 4px;
        margin-top: 24px;
        font-weight: 500;

        &[disabled] {
          background: rgba(0, 106, 255, 0.4);
          color: #fff;
          border-color: rgba(0, 106, 255, 0.4);
        }
      }

      .login-link {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;

        .ant-btn-link {
          justify-self: end;
          padding: 0;
        }

        .register-link {
          display: flex;
          align-items: center;
          margin-top: 24px;

          .svg-icon {
            margin-left: 8px;
            line-height: 18px;
          }
        }
      }
    }
  }
}
