/*
 * Login first-paint shell only.
 * Register / step / bottom / SSO dialog styles live solely in login-page.scss
 * to avoid critical vs bundled CSS fighting for priority.
 */
html.page-login,
body.page-login {
    min-width: 0 !important;
}

body:has(.login-page-root) {
    min-width: 0 !important;
}

.login-page-root.login-wrap {
    box-sizing: border-box;
    min-width: 1200px;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c5d4e3;
    overflow-x: hidden;
}

.login-page-root.login-wrap.login-wrap--wps-embed {
    min-width: 0;
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    background: #f5f6f8;
    background-image: none;
}

.login-page-root.login-wrap.login-wrap--wps-embed .login-content {
    width: auto;
    height: auto;
    min-height: 0;
    justify-content: center;
    align-items: center;
}

.login-page-root .login-content {
    width: 1200px;
    height: 594px;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    flex-shrink: 0;
}

.login-page-root .login-content-right {
    box-sizing: border-box;
    display: flex;
    width: 480px;
    height: 594px;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
}

.login-page-root .login-content-right.register-content {
    align-items: stretch;
    position: relative;
    text-align: left;
}
