.login-card {
    width: 100%;
    max-width: 480px;

    height: auto;
    min-height: 0;

    padding: 35px;

    border-radius: 24px;

    background: rgba(255,255,255,.88);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,.25);

    box-shadow: 0 20px 60px rgba(0,0,0,.25);

    transition: .3s;

    box-sizing: border-box;
}

.login-page {
    min-height: 100vh;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;

    box-sizing: border-box;

    background-image: url("<c:url value='/resources/assets/img/illustrations/non_railway_pass.png'/>");
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;

    overflow: visible;
}

.login-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.login-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {

    .login-page {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100vh;
        height: auto;
        padding: 30px 15px 40px;
    }

    .login-card {
        width: 100%;
        max-width: 480px;
        padding: 25px 20px;
        border-radius: 20px;
        margin: 0 auto;
    }

    .login-header {
        gap: 12px;
    }

    .login-logo {
        width: 55px;
        height: 55px;
    }

    /* Keep footer below Sign In / Registration buttons */
    .login-footer {
        position: static !important;
        margin-top: 25px;
        padding-top: 15px;
        text-align: center;
    }

    /* Give buttons some breathing room before footer */
    .login-card .btn,
    .login-card button {
        margin-bottom: 10px;
    }
        .login-footer {
        position: static !important;
        width: 100%;
        margin-top: 20px;
    }
}
