html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

html {
    background: #061426;
}

body {
    min-height: 0;

    font-family:
            Arial,
            Helvetica,
            sans-serif;

    color: #ffffff;
    background: transparent;

}

* {
    box-sizing: border-box;
}

button,
input {
    font-family: inherit;
}

/* =========================================================
   TŁO
   ========================================================= */

#world_background {
    position: fixed;
    inset: 0;
    z-index: -2;

    background-image:
            linear-gradient(
                    90deg,
                    rgba(4, 14, 31, 0.97) 0%,
                    rgba(5, 21, 42, 0.93) 18%,
                    rgba(6, 27, 51, 0.76) 39%,
                    rgba(7, 28, 52, 0.42) 61%,
                    rgba(4, 18, 36, 0.22) 100%
            ),
            linear-gradient(
                    180deg,
                    rgba(3, 12, 27, 0.14) 0%,
                    rgba(3, 12, 27, 0.05) 45%,
                    rgba(2, 10, 23, 0.36) 76%,
                    rgba(2, 9, 21, 0.78) 100%
            ),
            url("/www/modules/systemLogin/img/abc-track-login-background.png");

    background-repeat: no-repeat;
    background-position: 52% center;
    background-size: cover;
}

/* =========================================================
   GŁÓWNY UKŁAD
   ========================================================= */

.login-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;

    display: grid;
    grid-template-columns: 520px 390px;
    justify-content: center;
    align-items: center;

    column-gap: 130px;

    padding:
            45px
            55px
            75px;
}

/* =========================================================
   LEWA KOLUMNA
   ========================================================= */

.login-brand {
    width: 100%;
    max-width: 520px;

    transform: translateY(40px);
}

.login-logo {
    display: inline-block;
    margin-bottom: 44px;

    text-decoration: none;
}

.login-logo img {
    display: block;
    width: 240px;
    height: auto;

    filter:
            drop-shadow(
                    0 4px 12px rgba(0, 0, 0, 0.25)
            );
}

.login-brand h1 {
    max-width: 480px;
    margin:
            0
            0
            23px;

    font-size: 47px;
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -1.2px;

    color: #ffffff;

    text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.28);
}

.login-brand-description {
    max-width: 460px;
    margin:
            0
            0
            34px;

    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.76);

    text-shadow:
            0 2px 8px rgba(0, 0, 0, 0.25);
}

.login-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;

    max-width: 430px;
}

.login-feature {
    display: flex;
    align-items: center;

    gap: 14px;
}

.login-feature-icon {
    flex:
            0
            0
            38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
            linear-gradient(
                    145deg,
                    #4f75df,
                    #365dc6
            );

    border:
            1px solid
            rgba(255, 255, 255, 0.2);

    box-shadow:
            0 5px 15px rgba(33, 72, 172, 0.34);
}

.login-feature-icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-feature-text strong {
    display: block;
    margin-bottom: 3px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;

    color: #ffffff;
}

.login-feature-text span {
    display: block;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.56);
}

/* =========================================================
   PRAWA KOLUMNA
   ========================================================= */

.login-column {
    width: 100%;
    max-width: 390px;

    transform: translateY(-12px);
}

.login-card {
    width: 100%;

    padding:
            26px
            30px
            22px;

    overflow: hidden;

    background:
            rgba(255, 255, 255, 0.97);

    border:
            1px solid
            rgba(255, 255, 255, 0.7);

    border-radius: 10px;

    box-shadow:
            0 24px 60px rgba(0, 0, 0, 0.3),
            0 5px 18px rgba(0, 0, 0, 0.13);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =========================================================
   LOGO W KARCIE
   ========================================================= */

.login-card-logo-link {
    display: block;

    width: max-content;
    margin:
            0
            auto
            11px;

    text-decoration: none;
}

.login-card-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

/* Jeżeli logo.png zawiera pełny napis, a nie sam symbol,
   ustaw szerokość np. 110px i height:auto. */

/* =========================================================
   FORMULARZ
   ========================================================= */

.form-signin {
    width: 100%;
    margin: 0;
    padding: 0;
}

.form-signin-heading {
    margin:
            0
            0
            5px;

    text-align: center;

    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;

    color: #172437;
}

.form-signin-subheading {
    margin:
            0
            0
            24px;

    text-align: center;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;

    color: #7a8491;
}

.form-group-login {
    margin-bottom: 15px;
}

.form-group-login label {
    display: block;

    margin-bottom: 7px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;

    color: #303b49;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 12px;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    pointer-events: none;
}

.input-icon svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: #9ca7b4;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-signin .form-control {
    display: block;

    width: 100%;
    height: 42px;

    margin: 0;
    padding:
            10px
            39px
            10px
            37px;

    appearance: none;
    -webkit-appearance: none;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;

    color: #283647;
    background: #ffffff;

    border:
            1px solid
            #d7dee7;

    border-radius: 5px;

    outline: none;

    box-shadow:
            inset
            0 1px 2px
            rgba(24, 38, 57, 0.02);

    transition:
            border-color 0.18s ease,
            box-shadow 0.18s ease;
}

.form-signin .form-control::placeholder {
    color: #9da6b0;
    opacity: 1;
}

.form-signin .form-control:focus {
    border-color: #4f72d9;

    box-shadow:
            0 0 0 3px
            rgba(79, 114, 217, 0.12);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;

    z-index: 3;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 4px;

    background: transparent;

    color: #9da6b1;

    cursor: pointer;

    transform: translateY(-50%);
}

.password-toggle:hover {
    background:
            rgba(53, 79, 112, 0.07);
}

.password-toggle svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   CAPTCHA
   ========================================================= */

.login-captcha {
    margin:
            4px
            0
            15px;

    overflow: hidden;
}

/* =========================================================
   ZAPAMIĘTAJ + RESET
   ========================================================= */

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin:
            2px
            0
            17px;
}

.remember-label {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin: 0;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;

    color: #465364;

    cursor: pointer;
}

.remember-label input {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    opacity: 0;

    pointer-events: none;
}

.custom-checkbox {
    width: 15px;
    height: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex:
            0
            0
            15px;

    border-radius: 3px;

    background:
            linear-gradient(
                    145deg,
                    #5e7ce2,
                    #4162ca
            );

    box-shadow:
            0 2px 5px rgba(50, 80, 173, 0.2);
}

.custom-checkbox svg {
    width: 11px;
    height: 11px;

    fill: none;
    stroke: #ffffff;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.remember-label input:not(:checked) + .custom-checkbox {
    background: #ffffff;
    border: 1px solid #cfd7e1;
    box-shadow: none;
}

.remember-label input:not(:checked) + .custom-checkbox svg {
    opacity: 0;
}

.link-reset,
.link-reset:link,
.link-reset:visited {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;

    color: #4d72d5;

    text-decoration: none;
}

.link-reset:hover {
    text-decoration: underline;
}

/* =========================================================
   PRZYCISK LOGOWANIA
   ========================================================= */

.login-submit {
    width: 100%;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0;
    padding:
            0
            18px;

    border: 0;
    border-radius: 5px;

    background:
            linear-gradient(
                    90deg,
                    #5775db,
                    #4b6bd4
            );

    box-shadow:
            0 8px 18px rgba(59, 88, 185, 0.25);

    color: #ffffff;

    font-size: 13px;
    line-height: 1;
    font-weight: 600;

    cursor: pointer;

    transition:
            transform 0.15s ease,
            box-shadow 0.15s ease,
            background 0.15s ease;
}

.login-submit:hover {
    background:
            linear-gradient(
                    90deg,
                    #4d6dd3,
                    #4161c8
            );

    box-shadow:
            0 10px 22px rgba(59, 88, 185, 0.3);

    transform: translateY(-1px);
}

.login-submit:active {
    transform: translateY(0);
}

.login-submit svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   SEPARATOR „LUB”
   ========================================================= */

.login-separator {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 17px;

    font-size: 10px;
    color: #9aa3ad;
}

.login-separator::before,
.login-separator::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #e0e5eb;
}

.login-separator span {
    padding:
            0
            11px;
}

/* =========================================================
   APLIKACJE
   ========================================================= */

.apps-section {
    margin-top: 16px;

    text-align: center;
}

.apps-title {
    display: block;

    margin-bottom: 9px;

    font-size: 10px;
    line-height: 1.2;

    color: rgba(255, 255, 255, 0.69);

    text-shadow:
            0 1px 5px rgba(0, 0, 0, 0.25);
}

.app-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;
}

.app-link {
    display: block;

    width: 122px;

    border-radius: 4px;

    text-decoration: none;

    transition:
            transform 0.15s ease,
            opacity 0.15s ease;
}

.app-link:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

.image-link {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 4px;

    box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.27);
}

/* =========================================================
   STOPKA
   ========================================================= */

.login-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
            0
            18px;

    font-size: 9px;
    line-height: 1.3;

    color: rgba(255, 255, 255, 0.42);

    text-align: center;
}

.login-footer a,
.login-footer a:link,
.login-footer a:visited {
    color: rgba(255, 255, 255, 0.46);
    text-decoration: none;
}

.login-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.24);
}

/* =========================================================
   MNIEJSZE LAPTOPY
   ========================================================= */

@media (max-width: 1360px) {

    .login-page {
        grid-template-columns:
            470px
            365px;

        column-gap: 80px;

        padding:
                35px
                40px
                65px;
    }

    .login-brand {
        max-width: 470px;
    }

    .login-logo {
        margin-bottom: 34px;
    }

    .login-logo img {
        width: 210px;
    }

    .login-brand h1 {
        font-size: 41px;
    }

    .login-brand-description {
        font-size: 14px;
    }

    .login-column {
        max-width: 365px;
    }

    .login-card {
        padding:
                24px
                28px
                21px;
    }
}

/* =========================================================
   TABLETY
   ========================================================= */

@media (max-width: 980px) {

    #world_background {
        background-position: 58% center;
    }

    .login-page {
        grid-template-columns:
            minmax(360px, 440px)
            350px;

        column-gap: 42px;

        padding:
                30px
                25px
                65px;
    }

    .login-brand h1 {
        font-size: 37px;
    }

    .login-brand-description br {
        display: none;
    }

    .login-logo img {
        width: 190px;
    }
}

/* =========================================================
   TELEFONY
   ========================================================= */

@media (max-width: 780px) {

    body {
        min-height: 100%;
    }

    #world_background {
        background-image:
                linear-gradient(
                        180deg,
                        rgba(4, 15, 31, 0.74) 0%,
                        rgba(4, 15, 31, 0.65) 45%,
                        rgba(3, 12, 27, 0.88) 100%
                ),
                url("/www/modules/systemLogin/img/abc-track-login-background.png");

        background-position: 62% center;
    }

    .login-page {
        min-height: 100vh;

        display: flex;
        align-items: center;
        justify-content: center;

        padding:
                28px
                16px
                35px;
    }

    .login-brand {
        display: none;
    }

    .login-column {
        width: 100%;
        max-width: 390px;

        transform: none;
    }

    .login-card {
        padding:
                25px
                23px
                21px;
    }

    .login-footer {
        position: static;

        flex-wrap: wrap;

        margin-top: 15px;
        padding-bottom: 15px;
    }
}

/* =========================================================
   BARDZO MAŁE EKRANY
   ========================================================= */

@media (max-width: 390px) {

    .login-page {
        padding:
                18px
                10px
                28px;
    }

    .login-card {
        padding:
                22px
                18px
                19px;
    }

    .login-row {
        align-items: flex-start;
    }

    .remember-label,
    .link-reset {
        font-size: 10px;
    }

    .app-link {
        width: 112px;
    }
}

/* =========================================================
   NISKIE EKRANY
   ========================================================= */

@media (min-width: 781px) and (max-height: 760px) {

    .login-page {
        padding-top: 25px;
        padding-bottom: 45px;

    }

    .login-footer {
        bottom: 7px;
    }
}
/* =========================================================
   NOWE POZYCJONOWANIE
   ========================================================= */

.login-page {
    position: relative;
    z-index: 3;

    grid-template-columns: 520px 390px;
    column-gap: 150px;

}

/* Lewa kolumna wyżej i bardziej w lewo */
.login-brand {
    --brand-x: 0px;
    --brand-y: -75px;

    position: relative;
    z-index: 4;

    transform:
            translate3d(
                    var(--brand-x),
                    var(--brand-y),
                    0
            );
}

/* Karta lekko wyżej */
.login-column {
    --card-x: 25px;
    --card-y: -42px;

    position: relative;
    z-index: 5;

    transform:
            translate3d(
                    var(--card-x),
                    var(--card-y),
                    0
            );
}

/* =========================================================
   MOCNIEJSZY NAGŁÓWEK
   ========================================================= */

.hero-heading {
    position: relative;

    width: max-content;
    max-width: 520px;

    isolation: isolate;
}

.hero-heading::before {
    content: "";

    position: absolute;
    left: -24px;
    top: -18px;
    bottom: -18px;

    width: 3px;

    border-radius: 20px;

    background:
            linear-gradient(
                    180deg,
                    transparent,
                    #5b84ff 20%,
                    #58b7ff 70%,
                    transparent
            );

    box-shadow:
            0 0 14px rgba(75, 133, 255, 0.8),
            0 0 38px rgba(68, 135, 255, 0.35);

    transform: scaleY(0);
    transform-origin: top;

    animation:
            heroLineEnter 0.8s 0.25s
            cubic-bezier(.22, 1, .36, 1)
            forwards;
}

.hero-heading::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -14px;

    width: 78px;
    height: 3px;

    border-radius: 999px;

    background:
            linear-gradient(
                    90deg,
                    #527aff,
                    #61bbff,
                    transparent
            );

    box-shadow:
            0 0 15px rgba(80, 150, 255, 0.6);

    animation:
            heroUnderline 1.1s 0.45s
            cubic-bezier(.22, 1, .36, 1)
            both;
}

@keyframes heroLineEnter {
    to {
        transform: scaleY(1);
    }
}

@keyframes heroUnderline {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 78px;
        opacity: 1;
    }
}

/* =========================================================
   ANIMACJE WEJŚCIA
   ========================================================= */

.login-logo {
    opacity: 0;

    animation:
            logoEntrance 0.9s 0.05s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

.hero-heading {
    opacity: 0;

    animation:
            headingEntrance 0.95s 0.18s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

.login-brand-description {
    opacity: 0;

    animation:
            textEntrance 0.8s 0.36s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

.login-feature {
    opacity: 0;

    transform:
            translate3d(-30px, 10px, 0)
            scale(0.96);

    animation:
            featureEntrance 0.7s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

.login-feature:nth-child(1) {
    animation-delay: 0.48s;
}

.login-feature:nth-child(2) {
    animation-delay: 0.58s;
}

.login-feature:nth-child(3) {
    animation-delay: 0.68s;
}

.login-feature:nth-child(4) {
    animation-delay: 0.78s;
}

.login-column {
    opacity: 0;

    animation:
            cardColumnEntrance 1s 0.2s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

.apps-section {
    opacity: 0;

    animation:
            appsEntrance 0.75s 0.85s
            cubic-bezier(.16, 1, .3, 1)
            forwards;
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform:
                translate3d(-35px, -15px, 0)
                scale(0.92);
        filter: blur(7px);
    }

    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes headingEntrance {
    from {
        opacity: 0;
        transform:
                translate3d(-45px, 15px, 0)
                scale(0.96);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

@keyframes textEntrance {
    from {
        opacity: 0;
        transform: translate3d(-25px, 12px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes featureEntrance {
    to {
        opacity: 1;
        transform:
                translate3d(0, 0, 0)
                scale(1);
    }
}

@keyframes cardColumnEntrance {
    from {
        opacity: 0;

        transform:
                translate3d(
                        calc(var(--card-x) + 60px),
                        calc(var(--card-y) + 15px),
                        0
                )
                scale(0.94);

        filter: blur(8px);
    }

    to {
        opacity: 1;

        transform:
                translate3d(
                        var(--card-x),
                        var(--card-y),
                        0
                )
                scale(1);

        filter: blur(0);
    }
}

@keyframes appsEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   ANIMOWANE TŁO
   ========================================================= */

#world_background {
    z-index: 0;

    transform:
            scale(1.055)
            translate3d(
                    var(--background-x, 0),
                    var(--background-y, 0),
                    0
            );

    animation:
            backgroundCinema 20s
            ease-in-out
            infinite alternate;

    will-change: transform;
}

@keyframes backgroundCinema {
    0% {
        filter:
                brightness(0.93)
                saturate(0.96);
    }

    50% {
        filter:
                brightness(1)
                saturate(1.06);
    }

    100% {
        filter:
                brightness(0.96)
                saturate(1.02);
    }
}

/* =========================================================
   WARSTWA EFEKTÓW
   ========================================================= */

.ambient-effects {
    position: fixed;
    inset: 0;

    z-index: 1;

    overflow: hidden;
    pointer-events: none;
}

/* =========================================================
   ŚWIATŁA W TLE
   ========================================================= */

.ambient-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(70px);
    opacity: 0.2;

    mix-blend-mode: screen;
}

.ambient-glow-one {
    width: 460px;
    height: 460px;

    left: 36%;
    top: 18%;

    background:
            radial-gradient(
                    circle,
                    rgba(71, 142, 255, 0.5),
                    transparent 68%
            );

    animation:
            glowDriftOne 12s
            ease-in-out
            infinite alternate;
}

.ambient-glow-two {
    width: 380px;
    height: 380px;

    right: 10%;
    bottom: 12%;

    background:
            radial-gradient(
                    circle,
                    rgba(55, 112, 255, 0.3),
                    transparent 70%
            );

    animation:
            glowDriftTwo 15s
            ease-in-out
            infinite alternate;
}

@keyframes glowDriftOne {
    from {
        transform:
                translate3d(-20px, -10px, 0)
                scale(0.9);
    }

    to {
        transform:
                translate3d(55px, 35px, 0)
                scale(1.15);
    }
}

@keyframes glowDriftTwo {
    from {
        transform:
                translate3d(20px, 10px, 0)
                scale(1);
    }

    to {
        transform:
                translate3d(-45px, -25px, 0)
                scale(1.2);
    }
}

/* =========================================================
   ŚWIATŁA NA DRODZE
   ========================================================= */

.road-light {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #72c1ff;

    box-shadow:
            0 0 8px #72c1ff,
            0 0 22px rgba(76, 155, 255, 0.85),
            0 0 42px rgba(76, 155, 255, 0.5);

    opacity: 0;
}

.road-light-one {
    left: 39%;
    top: 72%;

    animation:
            roadLightMoveOne 5.8s
            linear
            infinite;
}

.road-light-two {
    left: 42%;
    top: 66%;

    animation:
            roadLightMoveTwo 6.4s 1.2s
            linear
            infinite;
}

.road-light-three {
    left: 46%;
    top: 60%;

    animation:
            roadLightMoveThree 7s 2.4s
            linear
            infinite;
}

@keyframes roadLightMoveOne {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.5);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(290px, -250px, 0) scale(1.4);
    }
}

@keyframes roadLightMoveTwo {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.4);
    }

    18% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: translate3d(250px, -225px, 0) scale(1.25);
    }
}

@keyframes roadLightMoveThree {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.4);
    }

    20% {
        opacity: 0.85;
    }

    100% {
        opacity: 0;
        transform: translate3d(220px, -205px, 0) scale(1.2);
    }
}

/* =========================================================
   SIEĆ GPS
   ========================================================= */

.tracking-network {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0.6;
}

.tracking-path {
    fill: none;

    stroke: url(#trackingGradient);
    stroke-width: 2;

    filter: url(#trackingGlow);

    stroke-dasharray: 12 16;
    stroke-dashoffset: 200;

    animation:
            trackingFlow 8s
            linear
            infinite;
}

.tracking-path-two {
    opacity: 0.55;
    animation-delay: -3s;
}

@keyframes trackingFlow {
    to {
        stroke-dashoffset: 0;
    }
}

.tracking-node {
    fill: #74c7ff;

    filter: url(#trackingGlow);

    transform-box: fill-box;
    transform-origin: center;

    animation:
            trackingNodePulse 2.4s
            ease-in-out
            infinite;
}

.node-two {
    animation-delay: 0.4s;
}

.node-three {
    animation-delay: 0.8s;
}

.node-four {
    animation-delay: 1.2s;
}

@keyframes trackingNodePulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.7);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* =========================================================
   LINIA SKANUJĄCA
   ========================================================= */

.scan-line {
    position: absolute;

    top: -15%;
    left: 0;

    width: 100%;
    height: 140px;

    background:
            linear-gradient(
                    180deg,
                    transparent,
                    rgba(90, 170, 255, 0.035),
                    rgba(90, 170, 255, 0.08),
                    transparent
            );

    opacity: 0;

    animation:
            screenScan 11s
            linear
            infinite;
}

@keyframes screenScan {
    0% {
        opacity: 0;
        transform: translateY(-15vh);
    }

    12% {
        opacity: 1;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: translateY(125vh);
    }
}

/* =========================================================
   IKONY FUNKCJI
   ========================================================= */

.login-feature {
    position: relative;

    width: max-content;
    min-width: 310px;

    padding:
            5px
            12px
            5px
            5px;

    border-radius: 12px;

    transition:
            transform 0.3s cubic-bezier(.22, 1, .36, 1),
            background 0.3s ease,
            box-shadow 0.3s ease;
}


.login-feature-icon {
    position: relative;

    overflow: visible;

    animation:
            iconLevitate 3.4s
            ease-in-out
            infinite;

    transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}


.login-feature:nth-child(2) .login-feature-icon {
    animation-delay: -0.8s;
}

.login-feature:nth-child(3) .login-feature-icon {
    animation-delay: -1.6s;
}

.login-feature:nth-child(4) .login-feature-icon {
    animation-delay: -2.4s;
}

.login-feature-icon::before,
.login-feature-icon::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.login-feature-icon::before {
    inset: -6px;

    border:
            1px solid
            rgba(92, 143, 255, 0.35);

    animation:
            iconRing 2.8s
            ease-out
            infinite;
}

.login-feature-icon::after {
    inset: -12px;

    border:
            1px solid
            rgba(92, 143, 255, 0.14);

    animation:
            iconRing 2.8s 0.7s
            ease-out
            infinite;
}

@keyframes iconLevitate {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconRing {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }

    30% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* =========================================================
   KARTA 3D
   ========================================================= */

.login-card {
    position: relative;

    overflow: hidden;

    transform:
            perspective(1100px)
            rotateX(var(--card-rotate-x, 0deg))
            rotateY(var(--card-rotate-y, 0deg));

    transform-style: preserve-3d;
    will-change: transform;

    transition:
            transform 0.18s ease-out,
            box-shadow 0.35s ease;

    box-shadow:
            0 28px 80px rgba(0, 0, 0, 0.38),
            0 10px 30px rgba(25, 55, 108, 0.14),
            0 0 0 1px rgba(255, 255, 255, 0.7);
}

.login-card:hover {
    box-shadow:
            0 38px 95px rgba(0, 0, 0, 0.43),
            0 16px 45px rgba(41, 88, 190, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.95);
}

.login-card::before {
    content: "";

    position: absolute;
    inset: -120% -70%;

    z-index: 1;

    background:
            linear-gradient(
                    115deg,
                    transparent 38%,
                    rgba(255, 255, 255, 0.16) 45%,
                    rgba(255, 255, 255, 0.45) 50%,
                    rgba(255, 255, 255, 0.12) 56%,
                    transparent 63%
            );

    transform:
            translateX(-45%)
            rotate(4deg);

    animation:
            cardReflection 7.5s
            ease-in-out
            infinite;

    pointer-events: none;
}

.login-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    border-radius: inherit;

    background:
            radial-gradient(
                    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                    rgba(88, 139, 255, 0.12),
                    transparent 35%
            );

    pointer-events: none;
}

.login-card > * {
    position: relative;
    z-index: 2;
}

@keyframes cardReflection {
    0%,
    55% {
        opacity: 0;
        transform:
                translateX(-55%)
                rotate(4deg);
    }

    65% {
        opacity: 1;
    }

    84% {
        opacity: 0;
        transform:
                translateX(55%)
                rotate(4deg);
    }

    100% {
        opacity: 0;
    }
}

/* =========================================================
   INPUTY
   ========================================================= */

.form-signin .form-control {
    transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease,
            background 0.25s ease;
}

.form-signin .form-control:hover {
    border-color: #becbe0;
}

.form-signin .form-control:focus {
    transform: translateY(-1px);

    background: #ffffff;

    border-color: #5579e4;

    box-shadow:
            0 0 0 4px rgba(80, 116, 219, 0.11),
            0 9px 22px rgba(39, 66, 135, 0.08);
}

.input-wrapper:focus-within .input-icon {
    color: #5277df;
}

.input-wrapper:focus-within .input-icon svg {
    stroke: #5277df;

    animation:
            inputIconPulse 0.55s
            ease;
}

@keyframes inputIconPulse {
    50% {
        transform: scale(1.2);
    }
}

/* =========================================================
   PRZYCISK LOGOWANIA
   ========================================================= */

.login-submit {
    position: relative;

    overflow: hidden;

    isolation: isolate;

    background-size: 200% 100%;

    animation:
            buttonGradient 5s
            ease-in-out
            infinite;

    transition:
            transform 0.25s cubic-bezier(.22, 1, .36, 1),
            box-shadow 0.25s ease;
}

.login-submit::before {
    content: "";

    position: absolute;
    inset: -2px;

    z-index: -2;

    border-radius: inherit;

    background:
            linear-gradient(
                    90deg,
                    #4c6ed3,
                    #547ee9,
                    #4f68d3,
                    #547ee9
            );

    background-size: 300% 100%;

    animation:
            buttonGradient 5s
            linear
            infinite;
}

.login-submit::after {
    content: "";

    position: absolute;
    top: -40%;
    left: -65%;

    width: 45%;
    height: 180%;

    z-index: -1;

    background:
            linear-gradient(
                    90deg,
                    transparent,
                    rgba(255, 255, 255, 0.45),
                    transparent
            );

    transform:
            skewX(-22deg)
            translateX(0);

    animation:
            buttonLightSweep 4.5s
            ease-in-out
            infinite;
}

.login-submit:hover {
    transform:
            translateY(-3px)
            scale(1.015);

    box-shadow:
            0 15px 35px rgba(63, 91, 202, 0.38),
            0 0 24px rgba(82, 124, 236, 0.3);
}

.login-submit:active {
    transform:
            translateY(0)
            scale(0.985);
}

@keyframes buttonGradient {
    0% {
        background-position: 0 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

@keyframes buttonLightSweep {
    0%,
    62% {
        left: -65%;
        opacity: 0;
    }

    70% {
        opacity: 1;
    }

    90% {
        left: 125%;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* =========================================================
   BADGE APLIKACJI
   ========================================================= */

.app-link {
    position: relative;

    transition:
            transform 0.28s cubic-bezier(.22, 1, .36, 1),
            filter 0.28s ease;
}

.app-link:hover {
    opacity: 1;

    transform:
            translateY(-5px)
            scale(1.04);

    filter:
            drop-shadow(
                    0 10px 18px rgba(0, 0, 0, 0.35)
            );
}

/*.app-link:first-child {*/
/*    animation:*/
/*            storeBadgeFloat 4s*/
/*            ease-in-out*/
/*            infinite;*/
/*}*/

/*.app-link:last-child {*/
/*    animation:*/
/*            storeBadgeFloat 4s -2s*/
/*            ease-in-out*/
/*            infinite;*/
/*}*/

@keyframes storeBadgeFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* =========================================================
   LOGO
   ========================================================= */

.login-logo img {
    transition:
            transform 0.4s cubic-bezier(.22, 1, .36, 1),
            filter 0.4s ease;

    animation:
            logoGlow 5s
            ease-in-out
            infinite;
}

.login-logo:hover img {
    transform:
            scale(1.045)
            translateY(-2px);

    filter:
            drop-shadow(
                    0 7px 20px rgba(33, 117, 255, 0.4)
            );
}

@keyframes logoGlow {
    0%,
    100% {
        filter:
                drop-shadow(
                        0 4px 12px rgba(0, 0, 0, 0.25)
                );
    }

    50% {
        filter:
                drop-shadow(
                        0 5px 20px rgba(42, 123, 255, 0.28)
                );
    }
}

/* =========================================================
   STOPKA
   ========================================================= */

.login-footer {
    z-index: 5;

    opacity: 0;

    animation:
            footerEntrance 0.8s 1.1s
            ease
            forwards;
}

@keyframes footerEntrance {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   PODSTAWOWE ZABEZPIECZENIA UKŁADU
   ========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: grid;
    grid-template-columns:
        minmax(0, 620px)
        minmax(360px, 430px);

    justify-content: center;
    align-items: center;

    column-gap: clamp(40px, 7vw, 120px);
    padding:
            clamp(30px, 5vh, 70px)
            clamp(30px, 6vw, 100px);

    overflow: hidden;
}

.login-brand,
.login-column {
    min-width: 0;
    width: 100%;
    transform: none;
}

.login-brand {
    max-width: 620px;
}

.login-column {
    max-width: 430px;
    justify-self: center;
}

.login-card {
    width: 100%;
    max-width: 430px;
}

.login-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.login-brand h1 {
    max-width: 600px;
    margin-top: 0;

    font-size: clamp(40px, 4.4vw, 68px);
    line-height: 1.05;
    overflow-wrap: normal;
}

.login-brand-description {
    max-width: 560px;
    font-size: clamp(15px, 1.25vw, 19px);
}

.login-features {
    width: 100%;
    max-width: 580px;
}

.app-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.app-link {
    min-width: 0;
}

.app-link img {
    display: block;
    width: 100%;
    height: auto;
}

.login-footer {
    max-width: calc(100% - 32px);
    text-align: center;
}


/* =========================================================
   DUŻE MONITORY
   1500 px i więcej
   ========================================================= */

@media (min-width: 1500px) {

    .login-page {
        column-gap: clamp(90px, 8vw, 150px);
        padding-left: 8vw;
        padding-right: 8vw;
    }

    .login-brand {
        max-width: 650px;
    }

    .login-column,
    .login-card {
        max-width: 440px;
    }

    .tracking-network {
        opacity: 0.45;
    }
}


/* =========================================================
   STANDARDOWE MONITORY I LAPTOPY
   1201–1499 px
   ========================================================= */

@media (min-width: 1201px) and (max-width: 1499px) {

    .login-page {
        column-gap: clamp(60px, 6vw, 90px);

        padding:
                35px
                clamp(45px, 5vw, 80px)
                45px;
    }

    .login-logo {
        margin-bottom: 28px;
    }

    .login-brand h1 {
        margin-bottom: 20px;
        font-size: clamp(44px, 3.8vw, 54px);
    }

    .login-brand-description {
        margin-bottom: 28px;
    }

    .login-features {
        gap: 16px;
    }
}


/* =========================================================
   MAŁE LAPTOPY
   992–1200 px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1200px) {

    .login-page {
        grid-template-columns:
            minmax(390px, 1fr)
            minmax(350px, 390px);

        column-gap: 42px;
        padding: 36px 42px;
    }

    .login-logo {
        margin-bottom: 32px;
    }

    .login-logo img {
        width: 245px;
    }

    .login-brand h1 {
        max-width: 470px;
        font-size: 46px;
        line-height: 1.06;
    }

    .login-brand-description {
        max-width: 470px;
        font-size: 16px;
        line-height: 1.55;
    }

    .login-features {
        gap: 14px;
    }

    .login-feature-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .login-feature-text strong {
        font-size: 14px;
    }

    .login-feature-text span {
        font-size: 12px;
    }

    .login-card {
        padding: 30px;
    }

    .tracking-network {
        display: none;
    }
}


/* =========================================================
   TABLETY POZIOMO I WĄSKIE LAPTOPY
   781–991 px
   ========================================================= */

@media (min-width: 781px) and (max-width: 991px) {

    .login-page {
        grid-template-columns:
            minmax(300px, 0.9fr)
            minmax(350px, 1.1fr);

        column-gap: 30px;
        padding: 30px;
    }

    .login-brand {
        max-width: 390px;
    }

    .login-logo {
        margin-bottom: 28px;
    }

    .login-logo img {
        width: 210px;
    }

    .login-brand h1 {
        max-width: 370px;
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .login-brand-description {
        max-width: 380px;
        margin-bottom: 25px;
        font-size: 14px;
        line-height: 1.5;
    }

    .login-features {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .login-feature {
        gap: 10px;
    }

    .login-feature-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 14px;
    }

    .login-feature-text strong {
        font-size: 13px;
    }

    .login-feature-text span {
        font-size: 11px;
    }

    .login-column {
        max-width: 390px;
    }

    .login-card {
        max-width: 390px;
        padding: 28px;
    }

    .form-signin-heading {
        font-size: 25px;
    }

    .form-signin-subheading {
        margin-bottom: 22px;
    }

    .form-signin .form-control {
        height: 46px;
    }

    .login-submit {
        height: 48px;
    }

    .app-link {
        width: 112px;
        max-width: 31%;
    }

    .tracking-network,
    .road-light {
        display: none;
    }
}


/* =========================================================
   TABLETY PIONOWO I TELEFONY
   780 px i mniej
   ========================================================= */

@media (max-width: 780px) {

    #world_background {
        background-position: 58% center;
    }

    .login-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        min-height: 100vh;
        min-height: 100dvh;

        padding:
                max(24px, env(safe-area-inset-top))
                18px
                max(26px, env(safe-area-inset-bottom));
    }

    .login-brand {
        display: none;
    }

    .login-column {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
    }

    .login-card {
        width: 100%;
        max-width: 430px;
        padding: 30px 26px;
        border-radius: 16px;
    }

    .login-card-logo-link {
        display: block;
        text-align: center;
    }

    .login-card-logo {
        display: block;
        width: 210px;
        max-width: 75%;
        height: auto;
        margin: 0 auto 24px;
    }

    .apps-section {
        width: 100%;
        margin-top: 18px;
    }

    .apps-title {
        color: rgba(255, 255, 255, 0.82);
    }

    .app-links {
        width: 100%;
        gap: 8px;
    }

    .app-link {
        flex: 1 1 0;
        width: auto;
        max-width: 135px;
    }

    .login-footer {
        position: static;
        width: 100%;
        max-width: 430px;
        margin: -70% auto 0;
        padding: 0 15px;

        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 7px 10px;

        font-size: 11px;
    }

    .ambient-effects {
        opacity: 0.4;
    }

    .road-light,
    .tracking-network {
        display: none;
    }
}


/* =========================================================
   MAŁE TELEFONY
   480 px i mniej
   ========================================================= */

@media (max-width: 480px) {

    .login-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .login-card {
        padding: 26px 20px 24px;
        border-radius: 14px;
        margin-top: 40%;
    }

    .login-card-logo {
        width: 230px;
        height: auto;
        margin-bottom: 24px;
    }

    .form-signin-heading {
        font-size: 24px;
    }

    .form-signin-subheading {
        margin-bottom: 22px;
        font-size: 13px;
    }

    .form-group-login {
        margin-bottom: 15px;
    }

    .form-group-login label {
        font-size: 12px;
    }

    .form-signin .form-control {
        height: 46px;
        padding-left: 13px;
        padding-right: 13px;
        font-size: 14px;
    }

    .login-submit {
        height: 48px;
        font-size: 15px;
    }

    .link_reset {
        font-size: 13px;
    }

    .apps-title {
        font-size: 11px;
    }

    .app-links {
        gap: 6px;
    }

    .app-link {
        max-width: 115px;
    }
    .login_footer {
        margin-top: -30%;
    }
}


/* =========================================================
   BARDZO MAŁE TELEFONY
   360 px i mniej
   ========================================================= */

@media (max-width: 360px) {

    .login-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .login-card {
        padding: 22px 16px;
    }

    .login-card-logo {
        width: 165px;
    }

    .form-signin-heading {
        font-size: 22px;
    }

    .form-signin .form-control {
        height: 44px;
    }

    .app-link {
        max-width: 102px;
    }

    .login-footer {
        font-size: 10px;
    }
}


/* =========================================================
   NISKIE EKRANY, NP. LAPTOP 1366×768
   ========================================================= */

@media (min-width: 781px) and (max-height: 760px) {

    .login-page {
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .login-logo {
        margin-bottom: 22px;
    }

    .login-brand h1 {
        margin-bottom: 14px;
        font-size: clamp(38px, 4vw, 52px);
    }

    .login-brand-description {
        margin-bottom: 20px;
        line-height: 1.45;
    }

    .login-features {
        gap: 10px;
    }

    .login-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .form-signin-subheading {
        margin-bottom: 20px;
    }

    .form-group-login {
        margin-bottom: 14px;
    }

    .apps-section {
        margin-top: 13px;
    }

    .login-footer {
        bottom: 8px;
    }
}


/* =========================================================
   TELEFON W POZIOMIE
   ========================================================= */

@media (max-width: 780px) and (orientation: landscape) {

    .login-page {
        justify-content: flex-start;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .login-card {
        max-width: 520px;
        padding: 22px 28px;
    }

    .login-card-logo {
        width: 150px;
        margin-bottom: 14px;
    }

    .form-signin-heading {
        font-size: 22px;
    }

    .form-signin-subheading {
        margin-bottom: 16px;
    }

    .form-group-login {
        margin-bottom: 12px;
    }

    .form-signin .form-control {
        height: 42px;
    }

    .login-submit {
        height: 44px;
    }

    .apps-section {
        margin-top: 12px;
    }
}


/* =========================================================
   OGRANICZENIE RUCHU
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    #world_background,
    .login-card,
    .login-brand,
    .login-column {
        transform: none !important;
    }
}

/* =========================================================
   FINALNE USTAWIENIE UKLADU LOGOWANIA
   ========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
}

.lista_komunikatow,
.popover-content {
    color: #111827;
}

.login-page {
    width: min(100%, 1180px);
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
            minmax(420px, 540px)
            minmax(360px, 410px);
    justify-content: center;
    align-items: center;
    column-gap: clamp(56px, 6vw, 110px);

    padding:
            clamp(34px, 5vh, 58px)
            clamp(32px, 5vw, 72px)
            clamp(58px, 7vh, 82px);

    overflow: visible;
    transform: none !important;
}

.login-brand,
.login-column {
    min-width: 0;
    width: 100%;
    transform: none !important;
}

.login-brand {
    max-width: 540px;
}

.login-column {
    max-width: 410px;
    justify-self: center;
}

.login-card {
    width: 100%;
    max-width: 410px;
    padding: 30px 32px 26px;
}

.login-card-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
}

.login-logo {
    margin-bottom: 32px;
}

.login-logo img {
    width: 220px;
    max-width: 100%;
}

.login-brand h1 {
    max-width: 520px;
    margin-bottom: 20px;
    font-size: clamp(42px, 3.1vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.login-brand-description {
    max-width: 455px;
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.55;
}

.login-features {
    max-width: 430px;
    gap: 14px;
}

.form-signin-subheading {
    margin-bottom: 24px;
    font-size: 12px;
}

.form-group-login {
    margin-bottom: 16px;
}

.form-group-login label {
    margin-bottom: 7px;
    font-size: 12px;
}

.form-signin .form-control {
    height: 44px;
    padding-left: 40px;
    padding-right: 42px;
    font-size: 13px;
}

.input-icon {
    left: 13px;
}

.input-icon svg {
    width: 16px;
    height: 16px;
}

.password-toggle {
    right: 10px;
    width: 30px;
    height: 30px;
}

.login-row {
    margin-bottom: 18px;
}

.remember-label,
.link-reset,
.link-reset:link,
.link-reset:visited {
    font-size: 11px;
}

.login-submit {
    height: 46px;
    font-size: 13px;
}

@media (min-width: 1500px) {

    .login-page {
        width: min(100%, 1260px);
        grid-template-columns:
                minmax(460px, 560px)
                minmax(380px, 420px);
        column-gap: clamp(76px, 7vw, 130px);
    }
}

@media (min-width: 781px) and (max-width: 1200px) {

    .login-page {
        width: 100%;
        grid-template-columns:
                minmax(320px, 1fr)
                minmax(350px, 390px);
        column-gap: clamp(28px, 4vw, 52px);
        padding: 30px 28px 58px;
    }

    .login-logo {
        margin-bottom: 24px;
    }

    .login-logo img {
        width: 190px;
    }

    .login-brand h1 {
        font-size: clamp(34px, 4vw, 44px);
    }

    .login-brand-description {
        font-size: 14px;
    }

    .login-feature-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .login-column,
    .login-card {
        max-width: 390px;
    }
}

@media (max-width: 780px) {

    html,
    body {
        overflow-y: auto;
    }

    .login-page {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding:
                max(22px, env(safe-area-inset-top))
                16px
                max(24px, env(safe-area-inset-bottom));
    }

    .login-brand {
        display: none !important;
    }

    .login-column {
        width: min(100%, 410px);
        max-width: calc(100vw - 32px);
        margin: 0 auto;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 28px 24px 24px;
        border-radius: 14px;
    }

    .login-card-logo {
        width: 185px;
        margin-bottom: 18px;
    }

    .apps-section {
        width: min(100%, 410px);
        max-width: calc(100vw - 32px);
        margin: 16px auto 0;
    }

    .login-footer {
        position: static;
        width: min(100%, 410px);
        max-width: calc(100vw - 32px);
        padding: 0 8px;
        flex-wrap: wrap;
        gap: 6px 10px;
        margin-top: -20%;
    }
}

@media (max-width: 480px) {

    .login-page {
        margin-top: 30%;
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 12px;
    }

    .login-column,
    .apps-section,
    .login-footer {
        max-width: calc(100vw - 24px);
    }

    .login-card {
        padding: 24px 18px 22px;
        margin-top: -5%;

    }

    .form-signin .form-control {
        height: 44px;
        font-size: 13px;
    }

    .login-row {
        align-items: flex-start;
        gap: 10px;
    }

    .app-link {
        max-width: 112px;
    }
    .login-footer {
        display: none;
    }
}

@media (min-width: 781px) and (max-height: 760px) {

    .login-page {
        padding-top: 22px;
        padding-bottom: 42px;
    }

    .login-logo {
        margin-bottom: 20px;
    }

    .login-brand h1 {
        margin-bottom: 14px;
        font-size: clamp(36px, 3.4vw, 48px);
    }

    .login-brand-description {
        margin-bottom: 18px;
    }

    .login-features {
        gap: 10px;
    }

    .login-card {
        padding-top: 24px;
        padding-bottom: 22px;
    }

    .form-signin-subheading {
        margin-bottom: 18px;
    }

    .form-group-login {
        margin-bottom: 13px;
    }

    .login-submit {
        height: 44px;
    }
}

@media (max-width: 780px) {
    div#info_box {
        position: relative;
        top: auto;
        left: auto;
        transform: none;

        width: calc(100% - 24px);
        max-width: 410px;
        max-height: none;

        margin: 12px auto 0;
        overflow: visible;
    }

    div#info_box_title {
        margin-bottom: 6px;
        padding: 10px 12px;
        font-size: 15px;
    }

    div#info_b_empty {
        padding: 12px;
    }
}

@media (max-width: 780px) {
    .form-signin .form-control {
        font-size: 16px;
    }
}


