.login-page-footer {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(92%, 640px);
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #5f6368;
    padding: 0.46rem 0.95rem;
}

.login-page-footer .footer-link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-legal-links {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.login-legal-links a {
    color: #585858;
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.25;
    padding: 0 6px;
}

.login-legal-links a::after {
    content: '·';
    margin-left: 10px;
    color: #c8c0b8;
    pointer-events: none;
}

.login-legal-links a:last-child::after {
    display: none;
}

.login-legal-links a:hover {
    color: #7F5539;
    text-decoration: underline;
}

.login-mobile-footer {
    font-size: 0.76rem;
    line-height: 1.45;
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
}

@media (min-width: 992px) {
    .login-auth-shell {
        height: 100vh;
        overflow: hidden;
    }

    .login-auth-row {
        height: 100%;
    }

    .login-form-section,
    .login-graphic-section {
        height: 100%;
    }
}

@media (max-width: 991.98px) {
    body.login-page {
        min-height: 100dvh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    body.login-page .login-auth-shell {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    body.login-page .login-auth-row {
        flex: 1;
    }

    .login-auth-shell {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .login-auth-row {
        height: auto !important;
        min-height: 0 !important;
    }

    .login-form-section {
        min-height: auto !important;
        height: auto !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        overflow: visible !important;
    }

    .login-wrapper {
        padding-bottom: 3rem !important;
    }

    .signup-text {
        margin-bottom: 4rem !important;
    }

    .login-mobile-footer {
        margin-top: 0 !important;
        padding-top: 0.15rem;
        padding-bottom: calc(0.35rem + env(safe-area-inset-bottom));
    }

    body.login-page .login-mobile-footer .footer-container {
        padding-right: 0;
    }

    body.login-page #aiAssistantContainer {
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 1040;
    }

    body.login-page #aiAssistantBtn {
        width: 54px;
        height: 54px;
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .login-mobile-footer .footer-container > div {
        white-space: nowrap;
        font-size: 0.68rem;
    }
}

