/* Keep the footer in document flow on the login and registration pages. */
html.Auth-page,
body.Auth-page {
    height: auto;
    min-width: 0;
    min-height: 0;
}

body.Auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.Auth-page-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.Auth-page #wrap {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 0;
}

.Auth-page #wrap .Container {
    min-height: 0;
}

.Auth-page #wrap > .Container {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.Auth-page .Container-signIn {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    height: auto;
    min-height: 0;
    max-width: 100%;
}

.Auth-page .Panel-signIn {
    padding: 0;
    min-height: 0;
}

.Auth-page .LoginBox-contents {
    max-width: 100%;
}

.Auth-page .LoginBox-form-inner {
    width: 100%;
}

.Auth-page .LoginBox-form button {
    max-width: 100%;
}

.Auth-page .Container-signUp,
.Auth-page .Panel-signUp,
.Auth-page .container-sign-up {
    height: auto;
}

.Auth-page .Container-signUp,
.Auth-page .panel-sign-up {
    max-width: 100%;
}

.Auth-page .container-sign-up {
    padding-right: 24px;
    padding-left: 24px;
}

.Auth-page .SignupBox-twostep {
    height: auto;
    padding: 48px 24px;
    overflow: visible;
}

.Auth-page .SignupContent {
    height: auto;
    max-width: 100%;
}

.Auth-page .SignupContent,
.Auth-page .SignupContent-padding {
    /* Include floated registration and agreement buttons in the card's height. */
    display: flow-root;
}

.Auth-page #termAgreeForm .SignupContent-container__checklist {
    min-width: 0;
}

.Auth-page-content > .Footer {
    position: relative;
    flex: 0 0 auto;
    height: auto;
    min-height: 48px;
    margin-top: 0;
    padding: 12px 24px;
}

.Auth-page .Footer-inner {
    height: auto;
    min-height: 24px;
}

.Auth-page .Footer-info {
    flex-wrap: wrap;
    row-gap: 8px;
}
