html,
body {
    margin: 0;
    min-width: 0;
    background: #ffffff;
}

body {
    overflow-x: hidden;
}

.login-viewport {
    position: relative;
    width: 100%;
    overflow: clip;
}

.login-page {
    --login-height: 1293px;
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 1775px;
    min-height: var(--login-height);
    transform-origin: top left;
    color: #6e6e6e;
    font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 18px;
    letter-spacing: 0;
}

.login-page *,
.login-page *::before,
.login-page *::after {
    box-sizing: border-box;
}

.login-page button,
.login-page input {
    font-family: inherit;
    letter-spacing: 0;
}

.login-scene {
    position: relative;
    flex: 1;
    min-height: 0;
    background: url("../img/login.jpg") center / cover no-repeat;
}

.login-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.91);
}

.login-header-links {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 1424px;
    right: 28px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-header-link {
    display: inline-flex;
    align-items: center;
    height: 17px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #c2c2c3;
    font-size: 16px;
    font-weight: 400;
    line-height: 17px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.login-form {
    position: absolute;
    z-index: 1;
    top: 282px;
    left: 1236px;
    width: 439px;
    min-height: 332px;
    margin: 0;
    padding: 38px 29px 46px;
    background: #fafbfb;
    border: 1px solid #797979;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #f2f2f2;
}

.login-title {
    height: 33px;
    margin-bottom: 22px;
    color: #4d4dff;
    font-size: 20px;
    font-weight: 900;
    line-height: 33px;
    text-align: center;
}

.login-field {
    width: 379px;
}

.login-password-field {
    margin-top: 14px;
}

.login-input {
    display: block;
    width: 379px;
    height: 35px;
    padding: 0 17px;
    border: 1px solid #8b8c8c;
    border-radius: 5px;
    background: #ffffff;
    color: #6e6e6e;
    font-size: 18px;
    font-weight: 400;
    line-height: 33px;
}

.login-input::placeholder {
    color: #c6c6c6;
    opacity: 1;
}

.login-input[aria-invalid="true"] {
    border-color: #d9001b;
}

.login-error {
    margin: 6px 0 0;
    color: #d9001b;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    overflow-wrap: anywhere;
}

.login-form-error {
    width: 379px;
}

.login-links {
    display: grid;
    grid-template-columns: 103px 157px 119px;
    align-items: center;
    width: 379px;
    height: 17px;
    margin-top: 26px;
}

.login-link {
    height: 17px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6e6e6e;
    font-size: 15px;
    font-weight: 400;
    line-height: 17px;
    cursor: pointer;
}

.login-register {
    border-right: 1px solid #929292;
    text-align: center;
}

.login-forgot {
    text-align: right;
}

.login-submit {
    display: block;
    width: 379px;
    height: 33px;
    margin-top: 31px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #4d4dff;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 33px;
    text-align: center;
    cursor: pointer;
}

.login-submit:disabled {
    background: #fcfcfc;
    color: #b8b8b8;
    cursor: not-allowed;
}

.login-page :focus-visible {
    outline: 2px solid #4d4dff;
    outline-offset: 2px;
}

.login-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 57px;
    align-items: center;
    gap: 28px;
    height: 57px;
    padding: 0 17px;
    border: 0;
    background: #ffffff;
    box-shadow: none;
    color: #d4d4d4;
    font: 400 16px/1 Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
}

.login-footer a {
    color: inherit;
    text-decoration: none;
}
