/* ==================================================
   LOGIN 2.1 - CONFIGURAÇÕES GERAIS
   ================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;

    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    overflow-x: hidden;

    background: #eef2f6;
    color: #1f2937;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* ==================================================
   LOGIN 2.1 - ESTRUTURA
   ================================================== */

.login-page {
    display: grid;

    grid-template-columns:
        minmax(430px, 1.05fr)
        minmax(500px, 0.95fr);

    min-height: 100vh;

    animation:
        login-page-enter
        0.45s ease both;
}

@keyframes login-page-enter {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* ==================================================
   LOGIN 2.1 - IDENTIDADE
   ================================================== */

.login-brand {
    position: relative;

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

    min-height: 100vh;

    padding: 56px 64px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #061a30 0%,
            #092844 46%,
            #103f6b 100%
        );

    color: #ffffff;
}


/* ==================================================
   LOGIN 2.1 - LUZES DE FUNDO
   ================================================== */

.login-brand-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.login-brand-glow-one {
    top: -120px;
    right: -140px;

    width: 420px;
    height: 420px;

    background:
        radial-gradient(
            circle,
            rgba(53, 134, 204, 0.29) 0%,
            rgba(53, 134, 204, 0) 70%
        );

    animation:
        login-glow-float-one
        9s ease-in-out
        infinite;
}

.login-brand-glow-two {
    bottom: -180px;
    left: -120px;

    width: 500px;
    height: 500px;

    background:
        radial-gradient(
            circle,
            rgba(58, 155, 191, 0.17) 0%,
            rgba(58, 155, 191, 0) 72%
        );

    animation:
        login-glow-float-two
        11s ease-in-out
        infinite;
}

.login-brand-glow-three {
    top: 32%;
    left: 39%;

    width: 260px;
    height: 260px;

    opacity: 0.6;

    background:
        radial-gradient(
            circle,
            rgba(77, 148, 200, 0.10),
            transparent 70%
        );

    animation:
        login-glow-float-one
        13s ease-in-out
        infinite reverse;
}

@keyframes login-glow-float-one {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(-18px, 14px, 0)
            scale(1.04);
    }

}

@keyframes login-glow-float-two {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(17px, -12px, 0)
            scale(1.03);
    }

}


/* ==================================================
   LOGIN 2.1 - GRADE DE FUNDO
   ================================================== */

.login-grid-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.075;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000000 20%,
            #000000 75%,
            transparent 100%
        );

    pointer-events: none;
}


/* ==================================================
   LOGIN 2.1 - ÓRBITAS DECORATIVAS
   ================================================== */

.login-brand-orbit {
    position: absolute;

    border:
        1px solid
        rgba(255, 255, 255, 0.045);

    border-radius: 50%;

    pointer-events: none;
}

.login-brand-orbit-one {
    width: 520px;
    height: 520px;

    top: 50%;
    left: -260px;

    transform:
        translateY(-50%);
}

.login-brand-orbit-two {
    width: 320px;
    height: 320px;

    right: -185px;
    bottom: 4%;
}


/* ==================================================
   LOGIN 2.1 - CONTEÚDO DA IDENTIDADE
   ================================================== */

.login-brand-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 590px;

    animation:
        login-brand-enter
        0.55s ease both;
}

@keyframes login-brand-enter {

    from {
        opacity: 0;

        transform:
            translateX(-12px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}

.login-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 48px;
}

.login-system-label {
    color: #a9bfd5;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    background:
        rgba(255, 255, 255, 0.07);

    color: #c7d8e7;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 999px;

    font-size: 9px;
    font-weight: 600;
}

.login-brand-badge-dot {
    position: relative;

    width: 6px;
    height: 6px;

    background: #5ed2a9;

    border-radius: 50%;
}

.login-brand-badge-dot::after {
    content: "";

    position: absolute;

    inset: -4px;

    border:
        1px solid
        rgba(94, 210, 169, 0.28);

    border-radius: 50%;

    animation:
        login-status-pulse
        2.2s ease-out
        infinite;
}


/* ==================================================
   LOGIN 2.1 - MARCA REAL
   ================================================== */

.login-brand-mark {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 12px;
}

.login-brand-logo {
    display: block;

    width: min(360px, 78%);
    height: auto;

    object-fit: contain;

    transform-origin:
        left center;

    filter:
        drop-shadow(
            0 8px 18px
            rgba(0, 0, 0, 0.12)
        );

    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.login-brand-logo:hover {
    transform:
        translateY(-2px)
        scale(1.012);

    filter:
        drop-shadow(
            0 12px 24px
            rgba(0, 0, 0, 0.16)
        );
}

.login-brand-version {
    display: inline-flex;

    align-items: center;

    padding: 7px 10px;

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 7px;

    color: #9fb8cf;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.55px;
}


/* ==================================================
   LOGIN 2.1 - TEXTO PRINCIPAL
   ================================================== */

.login-slogan {
    margin: 30px 0 0;

    color: #f3f7fb;

    font-size: 30px;
    font-weight: 500;

    line-height: 1.27;

    letter-spacing: -0.6px;
}

.login-description {
    max-width: 510px;

    margin: 18px 0 0;

    color: #aebfd0;

    font-size: 13px;
    line-height: 1.75;
}


/* ==================================================
   LOGIN 2.1 - RECURSOS
   ================================================== */

.login-feature-grid {
    display: grid;

    gap: 10px;

    margin-top: 34px;
}

.login-feature {
    position: relative;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 12px;

    padding: 12px 14px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.044);

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 10px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-feature::after {
    content: "";

    position: absolute;

    top: 0;
    left: -35%;

    width: 22%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.04),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 0.38s ease;
}

.login-feature:hover {
    background:
        rgba(255, 255, 255, 0.07);

    border-color:
        rgba(255, 255, 255, 0.11);

    transform:
        translateX(4px);

    box-shadow:
        0 8px 18px
        rgba(0, 0, 0, 0.055);
}

.login-feature:hover::after {
    left: 118%;
}

.login-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background:
        rgba(75, 147, 207, 0.13);

    color: #9dc7e8;

    border:
        1px solid
        rgba(119, 181, 232, 0.11);

    border-radius: 9px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.login-feature:hover
.login-feature-icon {
    transform:
        scale(1.06)
        rotate(-2deg);

    background:
        rgba(75, 147, 207, 0.18);
}

.login-feature-icon svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-feature strong {
    display: block;

    color: #edf4fa;

    font-size: 11px;
    font-weight: 600;
}

.login-feature small {
    display: block;

    margin-top: 4px;

    color: #94a9bd;

    font-size: 9px;
    line-height: 1.4;
}

.login-feature-index {
    color:
        rgba(167, 196, 221, 0.42);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.7px;
}


/* ==================================================
   LOGIN 2.1 - RODAPÉ DA MARCA
   ================================================== */

.login-brand-footer {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 38px;

    color: #7994ad;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.7px;
}

.login-brand-footer-dot {
    position: relative;

    width: 6px;
    height: 6px;

    background: #5ed2a9;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px
        rgba(94, 210, 169, 0.08);
}

.login-brand-footer i {
    width: 18px;
    height: 1px;

    background:
        rgba(126, 155, 181, 0.35);
}


/* ==================================================
   LOGIN 2.1 - ÁREA DE ACESSO
   ================================================== */

.login-access {
    position: relative;

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

    min-height: 100vh;

    padding: 48px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f7f9fb 0%,
            #edf2f6 100%
        );
}

.login-access-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.login-access-decoration-one {
    top: -100px;
    right: -130px;

    width: 360px;
    height: 360px;

    background:
        radial-gradient(
            circle,
            rgba(34, 99, 151, 0.065) 0%,
            rgba(34, 99, 151, 0) 70%
        );
}

.login-access-decoration-two {
    bottom: -150px;
    left: -130px;

    width: 420px;
    height: 420px;

    background:
        radial-gradient(
            circle,
            rgba(56, 112, 153, 0.055) 0%,
            rgba(56, 112, 153, 0) 72%
        );
}

.login-access-grid {
    position: absolute;

    inset: 0;

    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(16, 42, 76, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(16, 42, 76, 0.035) 1px,
            transparent 1px
        );

    background-size:
        46px 46px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 78%
        );

    pointer-events: none;
}

.login-access-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 480px;

    animation:
        login-access-enter
        0.55s ease 0.08s both;
}

@keyframes login-access-enter {

    from {
        opacity: 0;

        transform:
            translateX(12px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


/* ==================================================
   LOGIN 2.1 - TOPO DO ACESSO
   ================================================== */

.login-access-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 15px;
    padding: 0 3px;
}

.login-access-kicker {
    display: block;

    color: #8793a4;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.login-access-top strong {
    display: block;

    margin-top: 3px;

    color: #405268;

    font-size: 11px;
}

.login-access-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #718095;

    font-size: 9px;
    font-weight: 600;
}

.login-access-status > span {
    position: relative;

    width: 7px;
    height: 7px;

    background: #29a979;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px
        rgba(41, 169, 121, 0.08);
}

.login-access-status > span::after {
    content: "";

    position: absolute;

    inset: -5px;

    border:
        1px solid
        rgba(41, 169, 121, 0.25);

    border-radius: 50%;

    animation:
        login-status-pulse
        2.2s ease-out
        infinite;
}

@keyframes login-status-pulse {

    0% {
        opacity: 0.8;

        transform:
            scale(0.65);
    }

    75%,
    100% {
        opacity: 0;

        transform:
            scale(1.45);
    }

}


/* ==================================================
   LOGIN 2.1 - CARD
   ================================================== */

.login-card {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 34px;

    background:
        rgba(255, 255, 255, 0.965);

    border: 1px solid #dde5ed;
    border-radius: 18px;

    box-shadow:
        0 20px 55px
        rgba(27, 52, 82, 0.105);

    backdrop-filter:
        blur(10px);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.login-card:hover {
    transform:
        translateY(-2px);

    border-color: #d5dfe9;

    box-shadow:
        0 25px 65px
        rgba(27, 52, 82, 0.13);
}

.login-card-accent {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            #12385f 0%,
            #2d73ad 55%,
            #4d94c8 100%
        );
}

.login-card-shine {
    position: absolute;

    top: -80px;
    right: -80px;

    width: 190px;
    height: 190px;

    background:
        radial-gradient(
            circle,
            rgba(49, 112, 163, 0.055),
            transparent 70%
        );

    pointer-events: none;
}


/* ==================================================
   LOGIN 2.1 - CABEÇALHO DO CARD
   ================================================== */

.login-card-header {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 28px;
}

.login-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 48px;

    flex-shrink: 0;

    padding: 7px;

    background:
        linear-gradient(
            145deg,
            #f3f7fb,
            #edf3f8
        );

    border:
        1px solid #e0e7ee;

    border-radius: 11px;

    box-shadow:
        0 7px 16px
        rgba(18, 56, 95, 0.065);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.login-card:hover
.login-card-logo {
    transform:
        translateY(-1px)
        scale(1.02);

    box-shadow:
        0 9px 20px
        rgba(18, 56, 95, 0.09);
}

.login-card-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.login-card-header span {
    display: block;

    margin-bottom: 4px;

    color: #8491a3;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.login-card-header h2 {
    margin: 0;

    color: #102a4c;

    font-size: 25px;
    font-weight: 600;

    letter-spacing: -0.3px;
}

.login-card-header p {
    margin: 6px 0 0;

    color: #7b8798;

    font-size: 12px;
}


/* ==================================================
   LOGIN 2.1 - FORMULÁRIO
   ================================================== */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 18px;
}

.login-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.login-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.login-field label {
    color: #344054;

    font-size: 11px;
    font-weight: 600;
}

.login-field-header > span {
    color: #9aa4b2;

    font-size: 8px;
}


/* ==================================================
   LOGIN 2.1 - INPUTS
   ================================================== */

.login-input-wrapper {
    position: relative;
}

.login-input-icon {
    position: absolute;

    top: 50%;
    left: 12px;

    transform:
        translateY(-50%);

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

    width: 26px;
    height: 26px;

    background: #f0f4f8;
    color: #64809b;

    border-radius: 7px;

    pointer-events: none;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.login-input-icon svg,
.login-password-toggle svg,
.login-button svg,
.login-security-icon svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-input-wrapper:focus-within
.login-input-icon {
    color: #1769b0;

    background: #eaf3fb;

    transform:
        translateY(-50%)
        scale(1.04);
}

.login-field input {
    width: 100%;

    padding:
        13px 88px
        13px 49px;

    background: #fbfcfd;

    border: 1px solid #d8e0e9;
    border-radius: 9px;

    color: #1f2937;

    font-size: 12px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.login-field input::placeholder {
    color: #9ca6b4;
}

.login-field input:hover {
    border-color: #ccd7e2;
}

.login-field input:focus {
    outline: none;

    background: #ffffff;

    border-color: #2877c7;

    box-shadow:
        0 0 0 3px
        rgba(40, 119, 199, 0.09);

    transform:
        translateY(-1px);
}

.login-field:first-child input {
    padding-right: 14px;
}


/* ==================================================
   LOGIN 2.1 - MOSTRAR SENHA
   ================================================== */

.login-password-toggle {
    position: absolute;

    top: 50%;
    right: 9px;

    transform:
        translateY(-50%);

    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 6px 7px;

    background: transparent;
    color: #55718d;

    border: none;
    border-radius: 6px;

    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.login-password-toggle:hover {
    background: #eef4fa;
    color: #174c80;

    transform:
        translateY(-50%)
        translateX(-1px);
}

.login-password-toggle.is-visible {
    background: #eef4fa;
    color: #174c80;
}


/* ==================================================
   LOGIN 2.1 - BOTÃO
   ================================================== */

.login-button {
    position: relative;

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

    width: 100%;

    margin-top: 3px;
    padding: 13px 15px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #12385f 0%,
            #1b527f 100%
        );

    border: none;
    border-radius: 9px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 18px
        rgba(18, 56, 95, 0.17);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.login-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -35%;

    width: 24%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent
        );

    transform:
        skewX(-18deg);

    transition:
        left 0.42s ease;
}

.login-button:hover::before {
    left: 118%;
}

.login-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(18, 56, 95, 0.23);

    filter:
        brightness(1.035);
}

.login-button:active {
    transform:
        translateY(0);
}

.login-button-content {
    position: relative;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    gap: 8px;
}

.login-button-content svg {
    width: 15px;
    height: 15px;

    transition:
        transform 0.2s ease;
}

.login-button:hover
.login-button-content svg {
    transform:
        translateX(2px);
}

.login-button b {
    position: relative;

    z-index: 2;

    font-size: 16px;
    font-weight: 400;

    transition:
        transform 0.2s ease;
}

.login-button:hover b {
    transform:
        translateX(3px);
}


/* ==================================================
   LOGIN 2.1 - SEGURANÇA
   ================================================== */

.login-security {
    display: grid;

    grid-template-columns:
        30px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    margin-top: 22px;
    padding: 11px 12px;

    background: #f4f8f6;

    border: 1px solid #dfebe5;
    border-radius: 9px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.login-security:hover {
    transform:
        translateY(-1px);

    background: #f0f7f4;

    border-color: #d3e6dc;
}

.login-security-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex-shrink: 0;

    background: #e2f3eb;
    color: #087a5b;

    border-radius: 7px;

    transition:
        transform 0.2s ease;
}

.login-security:hover
.login-security-icon {
    transform:
        scale(1.06);
}

.login-security strong {
    display: block;

    color: #466357;

    font-size: 9px;
}

.login-security span {
    display: block;

    margin-top: 2px;

    color: #7c9186;

    font-size: 8px;
}

.login-security-status {
    margin: 0 !important;

    padding: 5px 7px;

    background: #e6f4ed;
    color: #087a5b !important;

    border-radius: 999px;

    font-size: 7px !important;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* ==================================================
   LOGIN 2.1 - RODAPÉ
   ================================================== */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-top: 24px;
    padding-top: 18px;

    border-top:
        1px solid #edf0f4;
}

.login-footer span,
.login-footer small {
    color: #8f99a7;

    font-size: 8px;
}

.login-footer small {
    font-weight: 600;
}

.login-access-footnote {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 17px;

    color: #9ca7b4;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.55px;
}

.login-access-footnote-line {
    width: 34px;
    height: 1px;

    background: #d8dfe7;
}


/* ==================================================
   LOGIN 2.1 - RESPONSIVIDADE
   ================================================== */

@media (max-width: 980px) {

    .login-page {
        grid-template-columns:
            minmax(350px, 0.9fr)
            minmax(430px, 1.1fr);
    }

    .login-brand {
        padding:
            48px 38px;
    }

    .login-brand-logo {
        width:
            min(320px, 82%);
    }

    .login-slogan {
        font-size: 25px;
    }

    .login-access {
        padding:
            40px 30px;
    }

}


@media (max-width: 820px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand {
        min-height: auto;

        padding:
            38px 30px;
    }

    .login-brand-top {
        margin-bottom: 28px;
    }

    .login-brand-logo {
        width:
            min(280px, 82%);
    }

    .login-slogan {
        margin-top: 24px;

        font-size: 22px;
    }

    .login-description {
        display: none;
    }

    .login-feature-grid {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 8px;

        margin-top: 26px;
    }

    .login-feature {
        display: block;

        padding: 11px;
    }

    .login-feature-icon {
        margin-bottom: 9px;
    }

    .login-feature small,
    .login-feature-index {
        display: none;
    }

    .login-brand-footer {
        margin-top: 26px;
    }

    .login-access {
        min-height: auto;

        padding:
            38px 22px 52px;
    }

}


@media (max-width: 560px) {

    .login-brand {
        padding:
            30px 22px;
    }

    .login-brand-top {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

    .login-brand-logo {
        width:
            min(245px, 90%);
    }

    .login-slogan {
        font-size: 20px;
    }

    .login-feature-grid {
        grid-template-columns: 1fr;
    }

    .login-feature {
        display: grid;

        grid-template-columns:
            36px
            minmax(0, 1fr);

        gap: 10px;
    }

    .login-feature-icon {
        margin-bottom: 0;
    }

    .login-feature:nth-child(n+3) {
        display: none;
    }

    .login-brand-footer {
        flex-wrap: wrap;
    }

    .login-access {
        padding:
            28px 16px 40px;
    }

    .login-access-top {
        align-items: flex-start;
        flex-direction: column;

        gap: 10px;
    }

    .login-card {
        padding:
            28px 22px;
    }

    .login-card-header {
        align-items: flex-start;
    }

    .login-card-logo {
        width: 66px;
        height: 44px;
    }

    .login-card-header h2 {
        font-size: 22px;
    }

    .login-security {
        grid-template-columns:
            30px
            minmax(0, 1fr);
    }

    .login-security-status {
        display: none !important;
    }

    .login-footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

}


/* ==================================================
   LOGIN 2.1 - MOVIMENTO REDUZIDO
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    .login-page,
    .login-brand-content,
    .login-access-content,
    .login-brand-glow,
    .login-brand-badge-dot::after,
    .login-access-status > span::after {
        animation: none;
    }

}

/* ==================================================
   LOGIN 2.1.1 - AJUSTE DE ALTURA / UMA TELA
   ================================================== */

/*
   Em monitores desktop com menor altura útil, o Login entra
   automaticamente em modo compacto para evitar rolagem vertical.
   A estrutura e o visual permanecem os mesmos.
*/

@media (min-width: 821px) and (max-height: 920px) {

    .login-brand {
        padding:
            28px 64px;
    }

    .login-brand-content {
        max-width: 590px;
    }

    .login-brand-top {
        margin-bottom: 24px;
    }

    .login-brand-logo {
        width:
            min(315px, 72%);
    }

    .login-brand-version {
        margin-top: -2px;

        padding:
            6px 9px;
    }

    .login-slogan {
        margin-top: 18px;

        font-size: 27px;
        line-height: 1.22;
    }

    .login-description {
        margin-top: 13px;

        font-size: 12px;
        line-height: 1.55;
    }

    .login-feature-grid {
        gap: 8px;

        margin-top: 20px;
    }

    .login-feature {
        padding:
            9px 12px;
    }

    .login-feature-icon {
        width: 32px;
        height: 32px;
    }

    .login-feature strong {
        font-size: 10px;
    }

    .login-feature small {
        margin-top: 2px;

        font-size: 8px;
    }

    .login-brand-footer {
        margin-top: 20px;
    }


    /* ÁREA DE ACESSO */

    .login-access {
        padding:
            26px 48px;
    }

    .login-access-content {
        max-width: 470px;
    }

    .login-access-top {
        margin-bottom: 10px;
    }

    .login-card {
        padding:
            27px 32px;
    }

    .login-card-header {
        margin-bottom: 20px;
    }

    .login-card-logo {
        width: 70px;
        height: 44px;
    }

    .login-card-header h2 {
        font-size: 23px;
    }

    .login-card-header p {
        margin-top: 4px;
    }

    .login-form {
        gap: 14px;
    }

    .login-field {
        gap: 5px;
    }

    .login-field input {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .login-button {
        padding:
            11px 15px;
    }

    .login-security {
        margin-top: 16px;

        padding:
            9px 11px;
    }

    .login-footer {
        margin-top: 17px;
        padding-top: 14px;
    }

    .login-access-footnote {
        margin-top: 11px;
    }

}


/* ==================================================
   LOGIN 2.1.1 - ALTURA MUITO COMPACTA
   ================================================== */

@media (min-width: 821px) and (max-height: 790px) {

    .login-brand {
        padding:
            22px 58px;
    }

    .login-brand-top {
        margin-bottom: 17px;
    }

    .login-brand-logo {
        width:
            min(285px, 68%);
    }

    .login-slogan {
        margin-top: 14px;

        font-size: 24px;
    }

    .login-description {
        margin-top: 10px;

        line-height: 1.45;
    }

    .login-feature-grid {
        margin-top: 14px;
    }

    .login-feature {
        padding:
            7px 11px;
    }

    .login-brand-footer {
        margin-top: 14px;
    }

    .login-access {
        padding:
            20px 42px;
    }

    .login-card {
        padding:
            23px 29px;
    }

    .login-card-header {
        margin-bottom: 16px;
    }

    .login-form {
        gap: 11px;
    }

    .login-security {
        margin-top: 12px;
    }

    .login-footer {
        margin-top: 13px;
        padding-top: 11px;
    }

    .login-access-footnote {
        margin-top: 8px;
    }

}

/* ==================================================
   LOGIN - BATERIA 3 / RESPONSIVIDADE
   ================================================== */

@media (max-width: 820px) {

    .login-page {
        min-height: 100dvh;
    }

    .login-brand,
    .login-access {
        min-width: 0;
    }

    .login-access-content,
    .login-card {
        width: 100%;
        max-width: 100%;
    }

}


@media (max-width: 560px) {

    .login-brand {
        padding:
            24px
            18px
            22px;
    }

    .login-brand-top {
        margin-bottom: 20px;
    }

    .login-brand-logo {
        width:
            min(225px, 88%);
    }

    .login-slogan {
        margin-top: 18px;

        font-size: 19px;
    }

    .login-feature-grid {
        margin-top: 18px;
    }

    .login-brand-footer {
        margin-top: 18px;
    }

    .login-access {
        padding:
            24px
            12px
            32px;
    }

    .login-card {
        padding:
            24px
            18px;

        border-radius: 16px;
    }

    .login-field input {
        min-height: 48px;

        font-size: 16px;
    }

    .login-password-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .login-button {
        min-height: 50px;
    }

    .login-security {
        margin-top: 14px;
    }

}
