.neo-mobile-login-only { display: none; }
.neo-mobile-login-page { margin: 0; }
.neo-mobile-login {
    --itqan-ink: #182e38;
    --itqan-green: #245f4c;
    --itqan-blue: #246a91;
    --itqan-line: #d7e4df;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100svh;
    padding: max(18px, env(safe-area-inset-top)) clamp(20px, 6vw, 36px) max(24px, env(safe-area-inset-bottom));
    background:
        linear-gradient(to right, rgba(72, 69, 65, .055) 1px, transparent 1px) center top / 44px 44px,
        linear-gradient(to bottom, rgba(72, 69, 65, .055) 1px, transparent 1px) center top / 44px 44px,
        linear-gradient(155deg, #f6f4f1, #fcfbf9 54%, #f2f1ef);
    color: var(--itqan-ink);
    font: 400 1rem/1.5 'Plus Jakarta Sans', sans-serif;
}
.neo-mobile-login *, .neo-mobile-login *::before, .neo-mobile-login *::after { box-sizing: border-box; }
.neo-mobile-login [hidden] { display: none !important; }
.neo-mobile-login > * { width: min(100%, 420px); margin-inline: auto; }
.neo-mobile-login a { color: inherit; }
.neo-mobile-login button, .neo-mobile-login input { font: inherit; }
.neo-mobile-login button { cursor: pointer; }
.neo-mobile-login :focus-visible { outline: 2px solid var(--itqan-blue); outline-offset: 3px; }
.neo-mobile-login__bar { position: relative; display: grid; min-height: 46px; place-items: center; font-weight: 800; }
.neo-mobile-login__bar a { position: absolute; left: 0; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--itqan-line); border-radius: 50%; background: #fff; color: var(--itqan-green); text-decoration: none; }
.neo-mobile-login__intro { flex: 1; display: grid; justify-items: center; align-content: center; text-align: center; padding-block: clamp(35px, 9vh, 94px); }
.neo-mobile-login__intro img { display: block; width: 80px; height: 80px; padding: 13px; object-fit: contain; border-radius: 24px; background: #fff; border: 1px solid var(--itqan-line); }
.neo-mobile-login__intro h1 { margin: 22px 0 0; font-size: clamp(1.6rem, 6vw, 2.35rem); line-height: 1.15; letter-spacing: -.045em; color: inherit; }
.neo-mobile-login__choices { display: grid; gap: 10px; }
.neo-mobile-login__button { width: 100%; min-height: 54px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--itqan-line); border-radius: 14px; background: #fff; color: var(--itqan-ink); font-weight: 800 !important; }
.neo-mobile-login__button i { color: var(--itqan-blue); }
.neo-mobile-login__portal { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; min-height: 62px; text-align: center; text-decoration: none; }
.neo-mobile-login__portal img { width: 32px; height: 32px; object-fit: contain; }
.neo-mobile-login__portal > i:first-child { justify-self: center; }
.neo-mobile-login__portal > i:last-child { justify-self: end; }
.neo-mobile-login__portal:hover { border-color: var(--itqan-green); }
.neo-mobile-entry .neo-mobile-login__intro { flex: 0; padding-block: clamp(28px, 6vh, 56px) 24px; }
.neo-mobile-entry .neo-mobile-login__intro p { margin: 12px 0 0; font-size: .87rem; color: #526774; }
.neo-mobile-entry__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--itqan-line); border-radius: 20px; background: #fff; color: var(--itqan-blue); font-size: 24px; }
.neo-mobile-entry__card { padding: clamp(18px, 5vw, 28px); border: 1px solid var(--itqan-line); border-radius: 20px; background: #fff; }
.neo-mobile-entry__card form > label:not(:first-of-type) { margin-top: 14px; }
.neo-mobile-entry__card form > small { display: block; margin-top: 5px; color: #526774; }
.neo-mobile-entry__card .neo-mobile-login__error { padding-left: 28px; }
.neo-mobile-entry__alternate { margin: 16px 0 0; text-align: center; font-size: .84rem; }
.neo-mobile-entry__alternate a { font-weight: 800; color: var(--itqan-green); }
.neo-mobile-login__primary { margin-top: 14px; border-color: var(--itqan-green); background: linear-gradient(115deg, var(--itqan-green), #30785f); color: #fff; }
.neo-mobile-login form { margin: 0; }
.neo-mobile-login form > label, .neo-mobile-login__password > label { display: block; margin-bottom: 6px; font-size: .83rem; font-weight: 800; }
.neo-mobile-login input[type=email], .neo-mobile-login input[type=password], .neo-mobile-login input[type=text] { width: 100%; min-height: 52px; padding: 10px 13px; border: 1px solid var(--itqan-line); border-radius: 12px; background: #fff; color: var(--itqan-ink); font-size: 16px; }
.neo-mobile-login__password { margin-top: 13px; }
.neo-mobile-login__password-input { position: relative; }
.neo-mobile-login__password-input input { padding-right: 48px !important; }
.neo-mobile-login__password-input button { position: absolute; inset: 4px 4px 4px auto; width: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--itqan-blue); }
.neo-mobile-login__options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .8rem; }
.neo-mobile-login__options label { display: flex; align-items: center; gap: 6px; }
.neo-mobile-login__footer { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; text-align: center; font-size: .79rem; color: #526774; }
.neo-mobile-login__signature { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; width: 100%; border-top: 1px solid var(--itqan-line); padding-top: 12px; }
.neo-mobile-login__signature .nc-platform-owner { color: var(--itqan-ink); }
.neo-mobile-login__footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
.neo-mobile-login__footer button { border: 0; background: transparent; text-decoration: underline; color: inherit; }
.neo-mobile-login__notice, .neo-mobile-login__error { padding: 10px 12px; border-radius: 10px; background: #edf5ef; color: #28533b; font-size: .85rem; }
.neo-mobile-login__error { background: #fcece9; color: #9f2c29; }
@media (max-width: 760px) {
    .neo-mobile-login-only { display: block; width: 100%; }
    body > .neo-desktop-login { display: none; }
}
