/* Mobile login presentation. Desktop remains controlled by login.css. */
.lts-mobile-tagline { display: none; }

@media (max-width: 720px) {
    html, body { background: #eef3f9; }

    .lts-login-page {
        min-height: 100dvh;
        padding: 0;
        background: #eef3f9;
    }

    .lts-login-shell {
        min-height: 100dvh;
        background: transparent;
    }

    .lts-login-panel {
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 0 max(18px, env(safe-area-inset-bottom));
        background: #eef3f9;
    }

    .lts-mobile-brand {
        position: relative;
        isolation: isolate;
        width: 100%;
        height: 216px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        align-items: center;
        column-gap: 12px;
        margin: 0;
        padding: max(24px, env(safe-area-inset-top)) 22px 68px;
        overflow: hidden;
        border-radius: 0 0 34px 34px;
        color: #fff;
        background: linear-gradient(135deg, #071b42 0%, #124fb0 58%, #0786a2 100%);
        box-shadow: 0 15px 36px rgba(24, 72, 148, .2);
    }

    .lts-mobile-brand::before,
    .lts-mobile-brand::after {
        content: "";
        position: absolute;
        z-index: -1;
        border: 1px solid rgba(151, 225, 255, .18);
        border-radius: 50%;
    }

    .lts-mobile-brand::before {
        width: 230px;
        height: 230px;
        top: -118px;
        right: -80px;
        box-shadow: 0 0 0 36px rgba(115, 211, 255, .035), 0 0 0 72px rgba(115, 211, 255, .025);
    }

    .lts-mobile-brand::after {
        width: 120px;
        height: 120px;
        left: -72px;
        bottom: -42px;
    }

    .lts-mobile-brand .lts-brand-mark {
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 15px;
        background: rgba(255, 255, 255, .12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 0, 0, .12);
    }

    .lts-mobile-brand strong {
        color: #fff;
        font-size: 22px;
        letter-spacing: .09em;
    }

    .lts-mobile-brand small {
        color: rgba(225, 243, 255, .72);
        font-size: 9px;
        letter-spacing: .06em;
    }

    .lts-mobile-tagline {
        grid-column: 1 / -1;
        align-self: end;
        display: block;
        padding-top: 22px;
    }

    .lts-mobile-tagline b {
        display: block;
        color: #fff;
        font-size: 17px;
        line-height: 1.2;
        letter-spacing: -.01em;
    }

    .lts-mobile-tagline small {
        display: block;
        margin-top: 5px;
        color: rgba(225, 243, 255, .74);
        font-size: 11px;
        letter-spacing: 0;
    }

    .lts-login-card {
        position: relative;
        z-index: 2;
        width: calc(100% - 28px);
        max-width: 460px;
        margin: -49px auto 0;
        padding: 23px 20px 20px;
        border: 1px solid rgba(216, 225, 238, .9);
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 18px 46px rgba(25, 49, 88, .13);
    }

    .lts-login-heading { margin-bottom: 20px; }
    .lts-login-chip { padding: 5px 8px; font-size: 8px; }
    .lts-login-heading h2 { margin: 10px 0 3px; font-size: 25px; }
    .lts-login-heading p { font-size: 12px; }

    .lts-login-error,
    .lts-login-status { margin: -4px 0 16px; }

    .lts-field { margin-bottom: 14px; font-size: 12px; }
    .lts-input-wrap { margin-top: 5px; }
    .lts-input-wrap input {
        height: 50px;
        border-radius: 12px;
        background: #f8fafc;
        font-size: 15px;
    }
    .lts-password-toggle { width: 36px; height: 36px; }

    .lts-login-submit {
        height: 51px;
        margin-top: 3px;
        border-radius: 12px;
        font-size: 15px;
        box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
    }

    .lts-login-note {
        margin-top: 18px;
        padding-top: 16px;
        font-size: 10px;
    }

    .lts-copyright {
        margin: auto auto 0;
        padding: 18px 14px 0;
        color: #8190a4;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .lts-mobile-brand { height: 202px; padding-left: 18px; padding-right: 18px; }
    .lts-login-card { width: calc(100% - 20px); padding: 20px 17px 18px; }
    .lts-login-heading h2 { font-size: 23px; }
}

@media (max-width: 720px) and (max-height: 720px) {
    .lts-mobile-brand { height: 184px; padding-bottom: 55px; }
    .lts-mobile-tagline { display: none; }
    .lts-login-card { margin-top: -44px; padding-top: 19px; }
    .lts-login-heading { margin-bottom: 15px; }
    .lts-login-note { margin-top: 14px; padding-top: 13px; }
}
