/* The native app's sign-in design, scoped to the mobile web login. */
.vp-login-mobile { display: none; }
@media (max-width: 767px) {
    .vp-login-page { background: #000086; color: #fff; }
    .vp-login-page .auth-wrapper {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        background: transparent;
        isolation: isolate;
    }
    .vp-login-page .auth-wrapper::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background-image: linear-gradient(90deg, rgba(0,0,134,.78), rgba(0,0,134,.42)), linear-gradient(180deg, rgba(0,0,134,.38) 0%, rgba(0,0,134,.72) 52%, rgba(0,0,134,.98) 100%), url('/img/login-mobile.png');
        background-size: auto, auto, 215vw auto;
        background-position: center, center, 31.13% calc(env(safe-area-inset-top) + 6.975vw);
        background-repeat: no-repeat;
        background-color: #000086;
    }
    .vp-login-page .auth-form-side { padding: max(32px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom)); overflow: visible; }
    .vp-login-page .auth-form-inner { max-width: 380px; margin: 0; }
    .vp-login-content { display: flex; flex-direction: column; gap: 12px; }
    .vp-login-content > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
    .vp-login-content .vp-login-desktop { display: none; }
    .vp-login-content .vp-login-mobile { display: inline; }
    .vp-login-heading { position: relative; order: 0; text-align: left; margin-bottom: 16px; }
    .vp-login-heading > a:first-child { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: 6px; background: #fff; }
    .vp-login-heading img { width: 36px; height: 36px; margin: 0; border-radius: 6px; object-fit: contain; }
    .vp-login-heading h1 { margin: 0; font-family: Montserrat, sans-serif; font-size: 24px; line-height: 31px; font-weight: 700; color: #fff; }
    .vp-login-heading p { margin-top: 8px; max-width: 340px; font-family: Montserrat, sans-serif; font-size: 13px; line-height: 20px; color: #e0e7f4; }
    .vp-login-form { order: 1; font-family: Montserrat, sans-serif; }
    .vp-login-form > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }
    .vp-login-form label { margin-bottom: 8px; color: #fff; font-size: 13px; font-weight: 500; }
    .vp-login-form input:not([type="checkbox"]) { min-height: 46px; padding: 10px 12px; border: 1px solid #ffffff70; border-radius: 10px; background: #ffffff24; color: #fff; font-size: 16px; }
    .vp-login-form #login-password { padding-right: 48px; }
    .vp-login-form input::placeholder { color: #d0daed; font-size: 14px; }
    .vp-login-form input:focus { border-color: #fff; outline: 2px solid #ffffff55; outline-offset: 2px; box-shadow: none; }
    .vp-login-form [data-password-toggle] { color: #b9c6df; width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; right: 4px !important; }
    .vp-login-form .vp-login-remember { display: none; }
    .vp-login-form > .flex { justify-content: flex-end; }
    .vp-login-form a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 13px; padding: 8px 0; }
    .vp-login-form button[type="submit"] { min-height: 50px; margin-top: 8px; border-radius: 10px; background: #fff !important; color: #000086; font-size: 14px; font-weight: 700; }
    .vp-login-form button[type="submit"]:hover { background: #eef1fa !important; }
    .vp-login-divider { order: 2; text-align: center; }
    .vp-login-divider > .absolute { display: none; }
    .vp-login-divider .bg-white { padding: 0; background: transparent; color: #d0daed; font-size: 12px; }
    .vp-login-social { order: 3; }
    .vp-login-social a { min-height: 46px; padding: 11px; border: 1px solid #ffffff70; border-radius: 10px; background: #ffffff12; color: #fff; font-size: 13px; font-family: Montserrat, sans-serif; font-weight: 500; }
    .vp-login-social a:hover { background: #ffffff24; }
    .vp-login-social svg { width: 17px; height: 17px; }
    .vp-login-register { display: none; }
    .vp-login-content .vp-login-create { order: 4; display: flex; align-items: center; justify-content: center; min-height: 44px; color: #fff; font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
    .vp-login-create:hover { text-decoration: underline; }
    .vp-login-content .vp-login-contact { order: 5; display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 0; font-size: 12px; color: #e0e7f4; }
    .vp-login-page .auth-form-inner > p:last-child { margin-top: 12px !important; color: #bdcae1 !important; font-size: 11px !important; }
    .vp-login-field-error { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: #fff1f2; color: #9f1239; font-size: 13px; line-height: 1.5; }
    .vp-login-form input[aria-invalid="true"] { border-color: #fecdd3; }
    .vp-login-form input { scroll-margin-block: 24px; }
    .vp-login-page :where(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
    .vp-login-create, .vp-login-contact { gap: 8px; }
}
