/* one-big.network: authentication pages only */
.mx_AuthPage {
    box-sizing: border-box;
    min-height: 100vh;
    height: 100dvh;
    padding: 64px 16px;
}
.mx_AuthPage .mx_AuthPage_modal {
    margin: auto !important;
    flex-shrink: 0;
    max-width: 100%;
}
.mx_AuthPage .mx_AuthPage_modalContent {
    max-width: 100%;
}
.mx_AuthPage .mx_AuthFooter {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    margin: 0;
    text-align: center;
}
.mx_AuthPage a[href="#/register"],
.mx_AuthPage .mx_ButtonCreateAccount {
    display: none !important;
}
@media (max-height: 600px) {
    .mx_AuthPage {
        padding: 20px 12px;
    }
    .mx_AuthPage .mx_AuthFooter {
        position: static;
        margin: 24px 0 0;
        flex-shrink: 0;
    }
}


/* Slightly mute the wallpaper without dimming the form or footer. */
.mx_AuthPage {
    background-blend-mode: multiply;
    background-color: rgb(0 0 0 / 50%) !important;
}

/* Custom welcome: retain the stock welcome panel's proportions. */
.mx_WelcomePage_body > div {
    width: 380px !important;
    max-width: calc(100vw - 128px) !important;
    text-align: center;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--cpd-color-separator-primary);
}
.mx_WelcomePage_body img {
    display: block;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 16px !important;
}
.mx_WelcomePage_body h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin: 0 0 8px;
}
.mx_WelcomePage_body p {
    font-size: 16px;
    line-height: 24px;
    color: var(--cpd-color-text-secondary);
    margin: 0;
}
.mx_WelcomePage_body a[href="#/login"] {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 32px;
    margin: 24px 0 16px;
    padding: 6px 20px;
    border-radius: 999px;
    background: #e6e9ef;
    color: #101318 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}
.mx_WelcomePage_body a[href="#/login"]:hover {
    background: #ffffff;
}
.mx_WelcomePage_body a[href="#/login"]:focus-visible {
    outline: 2px solid #5ed6c5;
    outline-offset: 4px;
}

/* OBN logo sizing */
.mx_WelcomePage_body img {
    width: 64px !important;
    height: 64px !important;
}
