/* Ajustes para notebooks e janelas com pouca altura útil. */
.nx-login {
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.nx-card {
    width: min(100%, 540px);
}

@media (min-width: 821px) and (max-height: 760px) {
    .nx-intro {
        justify-content: flex-start;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .nx-brand-light {
        top: 20px;
    }

    .nx-brand-light img {
        width: 190px;
    }

    .nx-brand-light span {
        margin-left: 55px;
        font-size: 8px;
        letter-spacing: 1.7px;
    }

    .nx-message {
        margin-top: 116px;
        max-width: 620px;
    }

    .nx-message small {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .nx-message h1 {
        margin-bottom: 12px;
        font-size: clamp(32px, 2.8vw, 38px);
        line-height: 1.05;
    }

    .nx-message p {
        max-width: 500px;
        font-size: 15px;
        line-height: 1.42;
    }

    .nx-features {
        gap: 14px 18px;
        margin-top: 22px;
    }

    .nx-features i {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .nx-features b {
        font-size: 12px;
    }

    .nx-features span {
        font-size: 10px;
    }

    .nx-result {
        margin-top: 20px;
        padding: 12px 18px;
        font-size: 12px;
    }

    .nx-access {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .nx-card {
        padding: 26px 42px 24px;
        border-radius: 18px;
    }

    .nx-card > .nx-brand {
        margin-bottom: 13px;
        font-size: 8px;
    }

    .nx-card > .nx-brand img {
        width: 175px;
    }

    .nx-card header {
        margin-bottom: 17px;
    }

    .nx-card h2 {
        margin-bottom: 3px;
        font-size: 26px;
    }

    .nx-card header p {
        font-size: 13px;
    }

    .nx-field {
        height: 49px;
        margin-bottom: 11px;
    }

    .nx-options {
        margin-bottom: 17px;
        font-size: 12px;
    }

    .nx-submit {
        height: 50px;
        font-size: 15px;
    }

    .nx-support {
        margin-top: 17px;
        padding-top: 15px;
        font-size: 11px;
    }
}

@media (min-width: 821px) and (max-height: 590px) {
    .nx-result {
        display: none;
    }

    .nx-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .nx-card {
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

@media (max-width: 820px) {
    .nx-login {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .nx-card {
        width: min(100%, 500px);
    }
}

.nx-back-login {
    display: block;
    margin-top: 23px;
    color: #425a76;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.nx-back-login i {
    margin-right: 7px;
    color: #ff6508;
}

.nx-alert-success {
    border-color: #bce8d5;
    background: #effbf5;
    color: #167451;
}

@media (min-width: 821px) and (max-height: 760px) {
    .nx-recovery-card .nx-back-login {
        margin-top: 16px;
    }
}
