/* =========================================================
   1. RESET GLOBAL E PROTEÇÃO CONTRA BORDAS BRANCAS
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100vw;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(135deg, #00b83f 0%, #007829 100%);
    box-sizing: border-box;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   2. TELA DE LOGIN (DESKTOP / MONITORES)
========================================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 1300px;
    min-height: 0;
    height: auto;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    background: white;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

/* LADO ESQUERDO (DESKTOP) */
.login-left {
    width: 38%;
    background: linear-gradient(180deg, #00a63f, #008d34);
    color: white;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    opacity: .8;
}

.logo-login {
    width: 170px;
    display: block;
    margin: 0 auto 15px auto;
    position: relative;
    z-index: 2;
    transform: translateY(55px);
}

.mascote-login {
    width: 230px;
    display: block;
    margin: 0 auto 15px auto;
    position: relative;
    z-index: 2;
    object-fit: contain;
}

.login-left h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.subtexto {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    max-width: 420px;
    text-align: center;
    font-weight: 400;
    opacity: .95;
    position: relative;
    z-index: 2;
}

.seguranca {
    margin-top: 15px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 12px 18px;
    color: white;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* LADO DIREITO (DESKTOP) */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.login-form {
    width: 100%;
    max-width: 480px;
    text-align: left;
}

/* LOGO NO CÍRCULO (DESKTOP) */
.icone-logo-circulo {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    background: #007829;
    box-shadow: 0 10px 25px rgba(0, 166, 63, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    overflow: hidden;
}

.icone-logo-circulo img {
    width: 140px;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: scale(0.8);
    filter: brightness(0) invert(1);
}

.login-form h1 {
    text-align: center;
    font-size: 48px;
    color: #071c63;
    margin-bottom: 35px;
}

.mensagem-erro {
    display: none;
    background: #ffe5e5;
    color: #d40000;
    border: 1px solid #ffb3b3;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

/* CAMPOS DE FORMULÁRIO */
.input-group {
    display: flex;
    align-items: center;
    height: 65px;
    border: 2px solid #ececec;
    border-radius: 15px;
    padding: 0 15px;
    margin-bottom: 20px;
    background: white;
    transition: .3s;
}

.input-group:focus-within {
    border-color: #00a63f;
    box-shadow: 0 0 0 4px rgba(0, 166, 63, .12);
}

.input-group span {
    font-size: 20px;
    margin-right: 10px;
}

.input-group input {
    border: none;
    outline: none;
    background: none;
    width: 100%;
    font-size: 17px;
    padding: 10px;
    color: #1e293b;
}

.senha-group {
    position: relative;
}

#toggleSenha {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    transition: .2s;
}

#toggleSenha:hover {
    color: #1fb14d;
}

.login-form button {
    width: 100%;
    height: 65px;
    background: linear-gradient(90deg, #00b140, #009b38);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 6px 20px rgba(0, 168, 58, 0.25);
}

.login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 166, 63, .25);
}

.esqueci-senha {
    margin-top: 20px;
    text-align: center;
}

.esqueci-senha a {
    display: inline-block;
    background: rgba(31, 177, 77, .1);
    color: #1fb14d;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

.esqueci-senha a:hover {
    background: rgba(31, 177, 77, .2);
    color: #16943f;
}


/* =========================================================
   3. DISPOSIÇÃO DOS CARDS LADO A LADO NO PC (DESKTOP)
========================================================= */
@media (min-width: 769px) {

    /* SELEÇÃO DE SERVIÇOS, LINHAS E PLANOS NA HORIZONTAL */
    .container-servicos,
    .container-selecao,
    .cards-grid,
    .grid-servicos,
    .grid-planos,
    .grid-linhas,
    .cards-container {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        align-items: stretch !important;
    }

    /* PAINÉIS INTERNOS (INFORMAÇÕES DO PLANO E FATURAS LADO A LADO) */
    .painel-cliente-grid,
    .grid-detalhes-plano,
    .secao-cards-plano,
    .conteudo-painel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }

    /* CARDS INDIVIDUAIS */
    .card-servico,
    .card-plano,
    .card-opcao,
    .card-info-linha,
    .card-fatura,
    .card-contrato {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}


/* =========================================================
   4. ÚNICA CAM - BOTÃO TRANSPARENTE & MODAL
========================================================= */
.btn-acessar-cam {
    background: transparent !important;
    color: #05c95c !important;
    border: 1px solid #05c95c !important;
    box-shadow: none !important;
}

.btn-acessar-cam:hover {
    background: rgba(5, 201, 92, 0.08) !important;
    color: #05c95c !important;
    transform: translateY(-1px);
}

.modal-cam {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
}

.card-modal-cam {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 25px 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
    animation: aparecerModalCam 0.25s ease;
}

.icone-modal-cam {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eafff1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icone-modal-cam i {
    color: #05c95c;
    font-size: 25px;
}

.card-modal-cam h2 {
    margin: 0 0 10px;
    color: #222222;
    font-size: 20px;
    font-weight: 700;
}

.card-modal-cam p {
    margin: 0 auto 25px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.btn-modal-cam {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 12px;
    background: #05c95c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(5, 201, 92, 0.20);
    transition: 0.2s ease;
}

.btn-modal-cam:hover {
    background: #04b451;
    transform: translateY(-1px);
}

@keyframes aparecerModalCam {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* =========================================================
   5. RESPONSIVIDADE — NOTEBOOKS E MONITORES MENORES
========================================================= */
@media (min-width: 769px) and (max-height: 850px) {
    .login-page {
        padding: 20px;
    }

    .login-card {
        max-height: none;
        min-height: 0;
        height: auto;
    }

    .login-left {
        padding: 24px;
    }

    .logo-login {
        width: 140px;
        transform: none;
    }

    .mascote-login {
        width: min(200px, 25vw);
    }

    .login-left h2 {
        font-size: clamp(24px, 2.5vw, 32px);
    }

    .login-right {
        padding: 24px;
    }

    .login-form h1 {
        font-size: clamp(30px, 3vw, 42px);
        margin-bottom: 24px;
    }

    .input-group {
        height: 56px;
        margin-bottom: 14px;
    }

    .login-form button {
        height: 56px;
    }
}



/* =========================================================
   6. RESPONSIVIDADE MOBILE — TELA DE LOGIN
========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: clip;
    }

    body {
        min-height: 100vh;
        min-height: 100dvh;
        background: linear-gradient(135deg, #00b83f 0%, #007829 100%);
    }

    .login-page {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 16px;
    }

    .login-card {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 430px;
        min-height: 0;
        max-height: none;
        height: auto;
        margin: auto;
        border-radius: 24px;
        overflow: hidden;
        background: white;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.20);
    }

    .login-left {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        background: transparent;
        pointer-events: none;
        overflow: hidden;
        z-index: 0;
    }

    .logo-login,
    .login-left h2,
    .login-left .subtexto,
    .login-left .seguranca,
    .login-left .bg-circle {
        display: none;
    }

    .mascote-login {
        position: absolute;
        width: 250px;
        max-width: 75%;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        opacity: 0.08;
        object-fit: contain;
    }

    .login-right {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 28px 20px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 24px;
        box-shadow: none;
        box-sizing: border-box;
    }

    .login-form {
        width: 100%;
        max-width: 380px;
        min-width: 0;
        margin: 0 auto;
    }

    .icone-logo-circulo {
        width: 76px;
        height: 76px;
        min-width: 76px;
        min-height: 76px;
        margin: 0 auto 16px;
    }

    .icone-logo-circulo img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .login-form h1 {
        font-size: clamp(24px, 6vw, 30px);
        line-height: 1.2;
        margin-bottom: 22px;
        overflow-wrap: break-word;
    }

    .mensagem-erro {
        overflow-wrap: anywhere;
    }

    .input-group {
        width: 100%;
        min-width: 0;
        height: 52px;
        margin-bottom: 14px;
        padding: 0 12px;
        border-radius: 12px;
    }

    .input-group span {
        flex-shrink: 0;
        font-size: 18px;
    }

    .input-group input {
        width: 100%;
        min-width: 0;
        padding: 8px;
        font-size: 16px;
    }

    #toggleSenha {
        right: 12px;
    }

    .login-form button {
        width: 100%;
        min-height: 50px;
        height: auto;
        padding: 12px;
        font-size: 17px;
        border-radius: 12px;
    }

    .esqueci-senha {
        margin-top: 16px;
    }

    .esqueci-senha a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .g-recaptcha {
        max-width: 100%;
    }

    .card-modal-cam {
        width: 100%;
        max-width: 360px;
        padding: 24px 20px;
    }
}

/* CELULARES COM TELA BAIXA */

@media (max-width: 768px) and (max-height: 650px) {

    .login-page {
        align-items: flex-start;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .login-right {
        padding: 20px 16px;
    }

    .icone-logo-circulo {
        width: 58px;
        height: 58px;
        min-width: 58px;
        min-height: 58px;
        margin-bottom: 10px;
    }

    .login-form h1 {
        margin-bottom: 14px;
    }

    .input-group {
        margin-bottom: 10px;
    }

    .esqueci-senha {
        margin-top: 10px;
    }
}

/* PC: três serviços lado a lado */
@media (min-width: 769px) {
    .grid-servicos {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        width: 100%;
    }

    .grid-servicos > * {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
/* =========================================================
   PULSO VERMELHO DISCRETO PARA O CARD DE "NOVA RECARGA"
========================================================= */
@keyframes pulsarVermelhoDiscreto {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 0, 0, 0.25);
        border-color: rgba(212, 0, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(212, 0, 0, 0);
        border-color: rgba(212, 0, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 0, 0, 0);
        border-color: rgba(212, 0, 0, 0.5);
    }
}

/* Aplica o efeito diretamente no card de Nova Recarga do painel */
.card.card-carga {
    border: 2px solid #d40000 !important;
    animation: pulsarVermelhoDiscreto 2.2s infinite ease-in-out !important;
}
/* Aumentar mascote somente no PC - tela de login */
@media (min-width: 901px) {
    .login-left .mascote-login {
        width: 300px !important;
        max-width: none !important;
        height: auto !important;
        object-fit: contain;
        transform: scale(1.15);
        transform-origin: center;
    }
}
/* =========================================
   NOVO VISUAL DO LADO ESQUERDO - LOGIN PC
========================================= */

@media (min-width: 901px) {

    .login-left {
        position: relative;
        width: 50%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;

        background:
            radial-gradient(
                ellipse at 48% 38%,
                rgba(42, 216, 100, 0.55) 0%,
                rgba(20, 160, 75, 0.25) 35%,
                transparent 70%
            ),
            linear-gradient(
                145deg,
                #003d2c 0%,
                #006b3c 45%,
                #003b35 100%
            );
    }

    /* Sombra nas bordas e profundidade */
    .login-left::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            transparent 45%,
            rgba(0, 25, 25, 0.75) 100%
        );
        pointer-events: none;
        z-index: 1;
    }

    /* Mascote atual */
    .login-left .mascote-login {
        position: relative;
        z-index: 2;
        display: block;

        width: 450px !important;
        max-width: 95% !important;
        height: auto !important;

        object-fit: contain;
        transform: none !important;

        filter:
            drop-shadow(0 18px 22px rgba(0, 0, 0, 0.35));
    }

    /* Área dos textos */
    .login-left .texto-login {
        position: relative;
        z-index: 2;
        width: 80%;
        max-width: 520px;
        margin-top: 5px;
        text-align: left;
    }

    .login-left .texto-login h2 {
        color: #ffffff;
        font-size: 38px;
        line-height: 1.15;
        font-weight: 800;
        margin: 0 0 18px;
        padding-left: 22px;
        border-left: 6px solid #00c853;
    }

    .login-left .texto-login .subtexto {
        color: #e8f5ed;
        font-size: 19px;
        line-height: 1.6;
        margin: 0;
        padding-left: 28px;
    }

}
@media (min-width: 901px) {
    .login-left .texto-login .subtexto {
        position: relative;
        top: -40px;
    }
}
@media (min-width: 901px) {
    .login-left .texto-login h2 {
        position: relative;
        top: -48px;
    }
}
/* =========================================
   RESPONSIVIDADE - TELA DE LOGIN
========================================= */

/* Notebooks e telas menores */
@media (min-width: 601px) and (max-width: 1200px) {

    .login-card {
        width: 96% !important;
        max-width: 1100px;
        min-height: 0 !important;
        height: 92vh !important;
        max-height: 850px;
        overflow: hidden;
    }

    .login-left {
        width: 50%;
        padding: 20px !important;
        min-width: 0;
    }

    .login-left .mascote-login {
        width: clamp(220px, 34vw, 360px) !important;
        max-width: 100% !important;
        max-height: 55vh;
        object-fit: contain;
    }

    .login-left .texto-login {
        width: 90%;
        max-width: 420px;
        margin-top: 0;
    }

    .login-left .texto-login h2 {
        font-size: clamp(23px, 2.8vw, 32px);
        line-height: 1.15;
        top: 0;
    }

    .login-left .texto-login .subtexto {
        font-size: clamp(13px, 1.5vw, 16px);
        line-height: 1.4;
        top: 0;
    }

    .login-right {
        width: 50%;
        min-width: 0;
        padding: 20px !important;
    }

    .login-form {
        width: 100%;
        max-width: 420px;
    }
}

/* Celulares */
@media (max-width: 600px) {

    .login-card {
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        max-height: none !important;
        flex-direction: column;
        overflow: visible !important;
    }

    .login-left {
        width: 100%;
        min-height: auto;
        padding: 25px 15px !important;
    }

    .login-left .mascote-login {
        width: min(75vw, 260px) !important;
        max-width: 100% !important;
        max-height: 35vh;
        object-fit: contain;
    }

    .login-left .texto-login {
        width: 90%;
        margin-top: 5px;
    }

    .login-left .texto-login h2 {
        font-size: 25px;
        top: 0;
    }

    .login-left .texto-login .subtexto {
        font-size: 14px;
        top: 0;
    }

    .login-right {
        width: 100%;
        padding: 25px 18px !important;
    }

    .login-form {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .captcha-container {
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Telas com pouca altura */
@media (min-width: 601px) and (max-height: 700px) {

    .login-left {
        padding: 10px !important;
    }

    .login-left .mascote-login {
        width: clamp(190px, 25vw, 300px) !important;
        max-height: 42vh;
    }

    .login-left .texto-login h2 {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .login-left .texto-login .subtexto {
        font-size: 14px;
        line-height: 1.3;
    }

    .login-right {
        padding: 10px !important;
    }
}
/* =========================================
   TELA DE LOGIN FIXA — SEM ROLAGEM
========================================= */

html,
body.login-page {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden !important;
}

body.login-page {
    position: fixed;
    inset: 0;
    padding: 0;
}

body.login-page .login-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Evita rolagem por gestos no iPad */
body.login-page {
    overscroll-behavior: none;
    touch-action: pan-x pan-y;
}

/* =====================================================
   NOVO VISUAL CORPORATIVO — LOGIN ÚNICA TELECOM
   ===================================================== */

/* FUNDO */
body.login-page {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    background: linear-gradient(135deg, #00b83f, #006b2e);
}

/* PAINEL PRINCIPAL */
body.login-page .login-card {
    width: calc(100% - 60px);
    max-width: 1450px;
    height: calc(100% - 76px);
    max-height: 1000px;
    min-height: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: 38px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

/* LADO ESQUERDO */
body.login-page .login-left {
    position: relative;
    width: 50%;
    min-width: 0;
    padding: 65px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 85% 20%,
            rgba(0, 190, 75, .30),
            transparent 55%),
        linear-gradient(145deg, #003d2c, #006b3c 55%, #003b35);
}

/* ELEMENTOS DECORATIVOS */
body.login-page .login-left::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    border: 2px solid rgba(0, 200, 83, .45);
    left: -300px;
    bottom: -470px;
    z-index: 0;
}

body.login-page .login-left::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(0, 200, 83, .10);
    right: -480px;
    top: -400px;
    z-index: 0;
}

/* LOGO */
body.login-page .logo-login {
    position: relative;
    z-index: 2;
    display: block;
    width: clamp(180px, 30vw, 370px);
    max-width: 100%;
    height: auto;
    margin: 0 0 55px;
    transform: none;
    filter: brightness(0) invert(1);
}

/* REMOVE ELEMENTOS ANTIGOS */
body.login-page .mascote-login,
body.login-page .bg-circle,
body.login-page .seguranca {
    display: none !important;
}

/* TEXTO INSTITUCIONAL */
body.login-page .texto-institucional {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
}

body.login-page .linha-verde {
    width: 110px;
    height: 6px;
    margin-bottom: 55px;
    background: #00d653;
}

body.login-page .login-left h2 {
    position: static;
    padding: 0;
    margin: 0 0 25px;
    border: 0;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 54px);
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
}

body.login-page .login-left .subtexto {
    position: static;
    margin: 0;
    padding: 0;
    color: #e8f5ed;
    font-size: clamp(16px, 1.5vw, 23px);
    line-height: 1.5;
    text-align: left;
}

/* LADO DIREITO */
body.login-page .login-right {
    flex: 1;
    width: 50%;
    min-width: 0;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

body.login-page .login-form {
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
    text-align: center;
}

/* ÍCONE DE USUÁRIO */
body.login-page .icone-login {
    width: 125px;
    height: 125px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008d34;
}

body.login-page .icone-login i {
    font-size: 105px;
    font-weight: 300;
}

/* TÍTULO */
body.login-page .login-form h1 {
    margin: 0 0 12px;
    color: #003d2c;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 800;
    text-align: center;
}

body.login-page .descricao-login {
    margin: 0 0 38px;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.5;
}

/* ERRO */
body.login-page .mensagem-erro {
    margin-bottom: 18px;
}

/* CAMPOS */
body.login-page .input-group {
    width: 100%;
    height: 68px;
    margin-bottom: 18px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 19px;
    background: #fff;
    transition: .2s ease;
}

body.login-page .input-group:focus-within {
    border-color: #009b43;
    box-shadow: 0 0 0 4px rgba(0, 155, 67, .09);
}

body.login-page .input-group span {
    margin-right: 20px;
    color: #008d34;
    font-size: 22px;
}

body.login-page .input-group input {
    width: 100%;
    min-width: 0;
    padding: 10px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #1f2937;
    font-size: 18px;
}

body.login-page .input-group input::placeholder {
    color: #858585;
}

body.login-page #toggleSenha {
    right: 20px;
    color: #888;
    font-size: 19px;
}

/* CAPTCHA */
body.login-page .captcha-container {
    width: 100%;
    margin: 20px 0 22px !important;
    display: flex;
    justify-content: center;
    overflow: visible;
}

/* BOTÃO ENTRAR */
body.login-page .login-form .btn-login {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(100deg, #008d34, #00b83f);
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 141, 52, .18);
    transition: .2s ease;
}

body.login-page .login-form .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 141, 52, .25);
}

/* DIVISOR */
body.login-page .divisor-login {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 30px 0 22px;
    color: #004d2d;
    font-weight: 600;
}

body.login-page .divisor-login::before,
body.login-page .divisor-login::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d1d5db;
}

/* RECUPERAÇÃO DE SENHA */
body.login-page .esqueci-senha {
    margin-top: 0;
}

body.login-page .esqueci-senha a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    border: 2px solid #008d34;
    border-radius: 40px;
    background: #fff;
    color: #007a30;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

body.login-page .esqueci-senha a:hover {
    background: #eafff1;
}

/* =====================================================
   NOTEBOOKS E TABLETS
   ===================================================== */

@media (min-width: 601px) and (max-width: 1100px) {

    body.login-page .login-card {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        border-radius: 25px;
    }

    body.login-page .login-left {
        width: 43%;
        padding: 35px;
    }

    body.login-page .logo-login {
        width: clamp(150px, 22vw, 240px);
        margin-bottom: 40px;
    }

    body.login-page .linha-verde {
        margin-bottom: 30px;
    }

    body.login-page .login-left h2 {
        font-size: clamp(26px, 3vw, 36px);
    }

    body.login-page .login-right {
        width: 57%;
        padding: 30px;
    }

    body.login-page .icone-login {
        width: 85px;
        height: 85px;
        margin-bottom: 15px;
    }

    body.login-page .icone-login i {
        font-size: 75px;
    }

    body.login-page .descricao-login {
        margin-bottom: 25px;
        font-size: 15px;
    }

    body.login-page .input-group {
        height: 58px;
    }

    body.login-page .login-form .btn-login {
        height: 58px;
    }
}

/* =====================================================
   CELULARES
   ===================================================== */

@media (max-width: 600px) {

    body.login-page {
        position: relative;
        min-height: 100dvh;
        height: auto;
        padding: 15px;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.login-page .login-card {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: auto;
        flex-direction: column;
        border-radius: 22px;
        overflow: hidden;
    }

    body.login-page .login-left {
        width: 100%;
        min-height: 170px;
        padding: 25px 25px 20px;
        /* ALINHAMENTO CENTRALIZADO APENAS NO MOBILE */
        align-items: center !important;
        text-align: center !important;
    }

    body.login-page .logo-login {
        width: 145px;
        position: relative !important;
        top: 60px !important; /* Desce a logo no celular */
        transform: none !important;
        margin: 0 auto 30px auto !important;
    }

    body.login-page .texto-institucional {
        display: none;
    }

    body.login-page .login-right {
        width: 100%;
        padding: 28px 20px;
    }

    body.login-page .login-form {
        max-width: 420px;
    }

    body.login-page .icone-login {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    body.login-page .icone-login i {
        font-size: 58px;
    }

    body.login-page .login-form h1 {
        font-size: 30px;
    }

    body.login-page .descricao-login {
        margin-bottom: 24px;
        font-size: 14px;
    }

    body.login-page .input-group {
        height: 54px;
        padding: 0 13px;
        border-radius: 13px;
    }

    body.login-page .input-group span {
        margin-right: 12px;
        font-size: 18px;
    }

    body.login-page .input-group input {
        font-size: 16px;
    }

    body.login-page .login-form .btn-login {
        height: 55px;
        font-size: 18px;
    }

    body.login-page .captcha-container {
        justify-content: center;
        overflow-x: auto;
    }

    body.login-page .esqueci-senha a {
        padding: 12px 20px;
        font-size: 14px;
    }
}
.titulo-institucional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.15;
}

.titulo-institucional > span {
    color: #ffffff;
}

.titulo-institucional .texto-verde {
    color: #00c853;
}
body.login-page .texto-institucional .texto-secundario {
    display: block;
    position: relative;
    top: -12px;
}

body.login-page .texto-institucional .texto-secundario {
    display: block;
    margin-top: 20px;
}
/* LOGO MAIOR E CENTRALIZADA */
body .left-side .logo {
    width: 360px !important;
    max-width: 90%;
    max-height: 130px;
    align-self: center;
    margin: 0 auto;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

/* LOGO NO TOPO DO LOGIN - SOMENTE MOBILE */
.logo-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    body.login-page .logo-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 22px auto 18px !important;
    }

    body.login-page .logo-mobile img {
        width: 145px;
        height: auto;
        max-height: 65px;
        object-fit: contain;
    }
}
@media screen and (max-width: 600px) {

    body.login-page .login-left {
        display: none !important;
    }

    body.login-page .logo-mobile {
        display: flex !important;
    }

}

/* LOGO ÚNICA — SOMENTE NA TELA DE LOGIN MOBILE */
@media screen and (max-width: 600px) {

    .login-page .login-card .login-right .login-form .logo-mobile {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
       margin: 22px auto 18px auto !important;
        position: relative;
        z-index: 10;
    }

    .login-page .login-card .login-right .login-form .logo-mobile img {
        display: block !important;
        width: 150px !important;
        height: auto !important;
        max-width: 75% !important;
        object-fit: contain;
    }

}

/* =====================================
   AJUSTE DA TELA DE LOGIN - TABLETS / IPAD
===================================== */

@media screen and (min-width: 601px) and (max-width: 1100px) {

    .login-page {
        padding: 15px !important;
        min-height: 100vh;
        box-sizing: border-box;
    }

    .login-page .login-card {
        width: 94% !important;
        max-width: 850px !important;
        min-height: auto !important;
        height: auto !important;
        margin: auto !important;
    }

    .login-page .login-left,
    .login-page .login-right {
        padding: 25px !important;
        box-sizing: border-box;
    }

    .login-page .logo-login img {
        max-width: 180px !important;
    }

    .login-page .login-form {
        width: 100%;
        max-width: 360px;
        margin: auto;
    }

    .login-page .icone-login {
        width: 100px !important;
        height: 100px !important;
    }

    .login-page .icone-login i {
        font-size: 38px !important;
    }

    .login-page .login-form h1 {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }

    .login-page .login-form input {
        padding: 12px !important;
    }

    .login-page .btn-login {
        padding: 12px !important;
    }
}

/* Ajuste adicional para iPads em modo paisagem */
@media screen and (min-width: 601px) and (max-width: 1100px)
       and (max-height: 800px) {

    .login-page .login-left,
    .login-page .login-right {
        padding: 16px !important;
    }

    .login-page .logo-login img {
        max-width: 145px !important;
    }

    .login-page .icone-login {
        width: 85px !important;
        height: 85px !important;
    }

    .login-page .login-form h1 {
        font-size: 23px !important;
    }
}
/* =====================================
   CORREÇÃO LOGIN IPAD E TABLETS
===================================== */

@media screen and (min-width: 601px) and (max-width: 1200px) {

    .login-page {
        min-height: 100vh !important;
        height: auto !important;
        overflow-y: auto !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    .login-page .login-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: auto !important;
        overflow: visible !important;
    }

    .login-page .login-right {
        padding: 18px !important;
        overflow: visible !important;
    }

    .login-page .login-form {
        gap: 8px !important;
        margin-top: 0 !important;
        padding-bottom: 15px !important;
    }

    .login-page .icone-login {
        width: 85px !important;
        height: 85px !important;
        margin: 0 auto 10px !important;
        flex-shrink: 0 !important;
    }

    .login-page .icone-login i {
        font-size: 36px !important;
    }

    .login-page .login-form h1 {
        margin: 5px 0 !important;
        font-size: 24px !important;
    }

    .login-page .descricao-login {
        margin: 5px 0 10px !important;
    }

    .login-page .input-group {
        margin-bottom: 10px !important;
    }

    .login-page .login-form a {
        margin-top: 8px !important;
        margin-bottom: 10px !important;
    }
}

/* ==========================================
   CORREÇÃO DEFINITIVA — LOGIN IPAD
========================================== */

@media screen and (min-width: 601px) and (max-width: 1100px) {

    /* Permite que a página cresça e role */
    body.login-page {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 15px !important;
    }

    /* Remove o limite de altura do painel */
    body.login-page .login-card {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        margin: auto !important;
    }

    /* Reduz os espaços do formulário */
    body.login-page .login-right {
        padding: 15px 25px !important;
        overflow: visible !important;
    }

    body.login-page .login-form {
        width: 100% !important;
        max-width: 430px !important;
        padding: 5px 0 15px !important;
    }

    /* Círculo do bonequinho */
    body.login-page .login-card .login-right .login-form .icone-login {
        width: 78px !important;
        height: 78px !important;
        min-width: 78px !important;
        min-height: 78px !important;
        margin: 0 auto 10px !important;
    }

    /* Bonequinho */
    body.login-page .login-card .login-right .login-form .icone-login i {
        font-size: 55px !important;
    }

    /* Título */
    body.login-page .login-form h1 {
        font-size: 30px !important;
        margin: 0 0 7px !important;
    }

    /* Descrição */
    body.login-page .descricao-login {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }

    /* Campos */
    body.login-page .input-group {
        height: 50px !important;
        margin-bottom: 10px !important;
    }

    /* CAPTCHA */
    body.login-page .captcha-container {
        margin: 10px 0 12px !important;
    }

    /* Botão */
    body.login-page .login-form .btn-login {
        height: 52px !important;
        min-height: 52px !important;
        font-size: 18px !important;
    }

    /* Divisor */
    body.login-page .divisor-login {
        margin: 13px 0 10px !important;
    }

    /* Esqueci minha senha */
    body.login-page .esqueci-senha {
        margin: 0 0 10px !important;
        display: block !important;
    }

    body.login-page .esqueci-senha a {
        padding: 10px 22px !important;
        font-size: 14px !important;
    }
}
/* =====================================================
   IPAD NA HORIZONTAL - TELA CHEIA E FIXA
   ===================================================== */

@media (orientation: landscape) and (min-width: 700px) and (max-width: 1400px) {

    html,
    body.login-page {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    body.login-page {
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    body.login-page .login-card {
        width: 100% !important;
        max-width: 950px !important;
        height: 100% !important;
        max-height: 650px !important;
        min-height: 0 !important;
        margin: auto !important;
        overflow: hidden !important;
        border-radius: 24px !important;
        display: flex !important;
    }

    body.login-page .login-left {
        width: 43% !important;
        height: 100% !important;
        padding: 25px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.login-page .login-right {
        width: 57% !important;
        height: 100% !important;
        padding: 20px 25px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.login-page .login-form {
        width: 100% !important;
        max-width: 380px !important;
        margin: auto !important;
        padding: 0 !important;
    }

    body.login-page .logo-login {
        width: 170px !important;
        margin-bottom: 25px !important;
    }

    body.login-page .login-left h2 {
        font-size: 28px !important;
    }

    body.login-page .icone-login {
        width: 65px !important;
        height: 65px !important;
        min-width: 65px !important;
        min-height: 65px !important;
        margin-bottom: 8px !important;
    }

    body.login-page .icone-login i {
        font-size: 48px !important;
    }

    body.login-page .descricao-login {
        margin-bottom: 15px !important;
        font-size: 14px !important;
    }

    body.login-page .input-group {
        height: 48px !important;
        margin-bottom: 12px !important;
    }

    body.login-page .login-form .btn-login {
        height: 48px !important;
    }
}
/* IPAD NA VERTICAL - BORDAS ARREDONDADAS */

@media (orientation: portrait) and (min-width: 601px) and (max-width: 1100px) {

    body.login-page .login-card {
        border-radius: 24px !important;
        overflow: hidden !important;
    }
}

/* LOGO NO LUGAR DO BONECO - SOMENTE MOBILE */

.logo-icone-mobile {
    display: none !important;
}

@media screen and (max-width: 600px) {

    body.login-page .icone-login i {
        display: none !important;
    }

    body.login-page .icone-login .logo-icone-mobile {
        display: block !important;
        width: 85px !important;
        height: 85px !important;
        object-fit: contain !important;
    }
}
/* REMOVER LOGO SUPERIOR - SOMENTE MOBILE */

@media screen and (max-width: 600px) {
    body.login-page .login-form .logo-mobile {
        display: none !important;
    }
}
/* REMOVER LOGO DE CIMA - MOBILE */

@media screen and (max-width: 600px) {
    body.login-page .login-card .login-right .login-form .logo-mobile,
    body.login-page .login-card .login-right .login-form .logo-mobile img {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* =========================================
   AJUSTE FINAL DO BONEQUINHO E CÍRCULO
   EXCETO MOBILE
========================================= */

@media screen and (min-width: 601px) {
    body.login-page .login-card .login-right .login-form .icone-login {
        position: relative !important;
        top: 0 !important;
        transform: none !important;

border: none !important;
border-radius: 50% !important;
box-shadow: 0 0 0 10px #1fb14d !important;
    }
}

/* TABLETS E RESOLUÇÕES MENORES */
@media screen and (min-width: 601px) and (max-width: 1200px) {
    body.login-page .login-card .login-right .login-form .icone-login {
        top: 10px !important;
    }
}
body.login-page .login-card .login-right .login-form .icone-login img {
    width: 50% !important;
    height: 50% !important;
    object-fit: contain !important;
}
@media screen and (min-width: 601px) {
    body.login-page .icone-login .fa-user {
        font-size: 85px !important;
    }
}
/* AJUSTE DO BONEQUINHO EM MONITORES ESPECÍFICOS */
@media screen and (min-width: 1105px) and (max-width: 1397px) {
    body.login-page .icone-login > i.fa-user {
        font-size: 42px !important;
        line-height: 1 !important;
    }
}
/* RESTAURAR TEXTO INSTITUCIONAL EM MONITORES MENORES */
@media screen and (min-width: 601px) and (max-width: 768px) {

    body.login-page .login-left .texto-institucional {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.login-page .login-left .texto-institucional h2,
    body.login-page .login-left .texto-institucional .subtexto {
        display: block !important;
        visibility: visible !important;
    }
}
/* POSIÇÃO FIXA DO FORMULÁRIO — MONITORES 1366x768 */
@media screen and (min-width: 1105px) and (max-width: 1397px)
and (min-height: 700px) and (max-height: 800px) {

    body.login-page .login-card .login-right {
        align-items: flex-start !important;
    }

    body.login-page .login-card .login-right .login-form {
        margin-top: 75px !important;
    }

    body.login-page .login-card .login-right .login-form .icone-login {
        position: static !important;
        transform: none !important;
    }
}

/* =====================================================
   AJUSTE UNIFICADO — MONITORES E TABLETS
   ADAPTAÇÃO AUTOMÁTICA A TODAS AS RESOLUÇÕES
   MOBILE NÃO É ALTERADO
===================================================== */

@media screen and (min-width: 601px) {

    html,
    body.login-page {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden !important;
    }

    body.login-page {
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 16px !important;
    }

    /* PAINEL PRINCIPAL */
    body.login-page .login-card {
        width: 100% !important;
        max-width: 1450px !important;
        height: calc(100dvh - 32px) !important;
        max-height: 950px !important;
        min-height: 0 !important;
        margin: auto !important;
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
        border-radius: clamp(20px, 2.5vw, 38px) !important;
    }

    /* LADO ESQUERDO */
    body.login-page .login-left {
        width: 46% !important;
        min-width: 0 !important;
        height: 100% !important;
        padding: clamp(18px, 3vw, 55px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        overflow: hidden !important;
    }

    /* LOGO */
    body.login-page .logo-login {
        width: clamp(110px, 17vh, 230px) !important;
        max-width: 85% !important;
        max-height: 22vh !important;
        height: auto !important;
        margin: 0 0 clamp(15px, 3vh, 35px) !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
        object-fit: contain !important;
    }

    /* TEXTO INSTITUCIONAL */
    body.login-page .texto-institucional {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 !important;
    }

    body.login-page .linha-verde {
        width: clamp(55px, 7vw, 110px) !important;
        height: 5px !important;
        margin-bottom: clamp(15px, 3vh, 35px) !important;
    }

    body.login-page .login-left h2 {
        font-size: clamp(22px, 3vw, 46px) !important;
        line-height: 1.15 !important;
        margin-bottom: clamp(10px, 2vh, 22px) !important;
    }

    body.login-page .login-left .subtexto {
        font-size: clamp(13px, 1.35vw, 20px) !important;
        line-height: 1.45 !important;
    }

    /* LADO DIREITO */
    body.login-page .login-right {
        width: 54% !important;
        height: 100% !important;
        min-width: 0 !important;
        flex: 1 !important;
        padding: clamp(15px, 3vw, 45px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* FORMULÁRIO */
    body.login-page .login-form {
        width: 100% !important;
        max-width: 480px !important;
        margin: auto !important;
        padding: 8px 0 !important;
        text-align: center !important;
    }

    /* CÍRCULO DO BONEQUINHO */
    body.login-page .login-card .login-right .login-form .icone-login {
        width: clamp(65px, 10vh, 105px) !important;
        height: clamp(65px, 10vh, 105px) !important;
        min-width: clamp(65px, 10vh, 105px) !important;
        min-height: clamp(65px, 10vh, 105px) !important;
        margin: 0 auto clamp(12px, 2vh, 22px) !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
        border: none !important;
        border-radius: 50% !important;
        box-shadow: 0 0 0 8px #1fb14d !important;
        flex-shrink: 0 !important;
    }

    /* BONEQUINHO */
    body.login-page .login-card .login-right .login-form .icone-login i {
        font-size: clamp(48px, 8vh, 85px) !important;
        line-height: 1 !important;
    }

    /* TÍTULO */
    body.login-page .login-form h1 {
        font-size: clamp(25px, 3vw, 43px) !important;
        line-height: 1.15 !important;
        margin: 0 0 10px !important;
    }

    /* DESCRIÇÃO */
    body.login-page .descricao-login {
        font-size: clamp(13px, 1.2vw, 17px) !important;
        margin: 0 0 clamp(12px, 2vh, 25px) !important;
    }

    /* CAMPOS */
    body.login-page .input-group {
        width: 100% !important;
        height: clamp(48px, 7vh, 62px) !important;
        min-height: 48px !important;
        margin-bottom: clamp(9px, 1.5vh, 16px) !important;
    }

    body.login-page .input-group input {
        font-size: clamp(14px, 1.3vw, 17px) !important;
    }

    /* CAPTCHA */
    body.login-page .captcha-container {
        margin: clamp(8px, 1.5vh, 16px) 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    /* BOTÃO */
    body.login-page .login-form .btn-login {
        width: 100% !important;
        height: clamp(48px, 7vh, 62px) !important;
        min-height: 48px !important;
        font-size: clamp(16px, 1.5vw, 21px) !important;
    }

    /* DIVISOR */
    body.login-page .divisor-login {
        margin: clamp(12px, 2vh, 22px) 0 !important;
    }

    /* RECUPERAÇÃO DE SENHA */
    body.login-page .esqueci-senha {
        margin: 0 !important;
    }

    body.login-page .esqueci-senha a {
        padding: clamp(9px, 1.5vh, 13px) 22px !important;
        font-size: clamp(13px, 1.2vw, 16px) !important;
    }
}

/* LOGO E TRAÇO VERDE — MONITORES E TABLETS */
@media screen and (min-width: 601px) {

    /* LOGO ÚNICA */
    body.login-page .login-left .logo-login {
        width: clamp(170px, 22vw, 300px) !important;
        max-width: 90% !important;
        height: auto !important;
        max-height: 25vh !important;
        margin: 0 auto clamp(20px, 3vh, 35px) !important;
        align-self: center !important;
        transform: none !important;
    }

    /* TRAÇO VERDE */
    body.login-page .login-left .linha-verde {
        width: clamp(100px, 13vw, 170px) !important;
        height: 6px !important;
        margin: 0 auto clamp(25px, 4vh, 40px) !important;
        align-self: center !important;
    }

}

/* AJUSTE FINAL DA LOGO E DO TRAÇO — PC E TABLET */
@media screen and (min-width: 601px) {

    /* LOGO MAIS ALTA E CENTRALIZADA */
    body.login-page .login-left .logo-login {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: translateY(-145px) !important;
    }

    /* TEXTO ALINHADO À ESQUERDA */
    body.login-page .login-left .texto-institucional {
        text-align: left !important;
    }

    /* TRAÇO ACIMA DO TEXTO, ALINHADO À ESQUERDA */
    body.login-page .login-left .linha-verde {
        width: clamp(100px, 13vw, 170px) !important;
        height: 6px !important;
        margin: 0 0 30px 0 !important;
        align-self: flex-start !important;
    }
}



/* LOGO ÚNICA MAIOR — SOMENTE MOBILE */
@media screen and (max-width: 600px) {

    body.login-page .login-card .login-right .login-form .icone-login {
        width: 135px !important;
        height: 135px !important;
        min-width: 135px !important;
        min-height: 135px !important;
        margin: 0 auto 20px !important;
        flex-shrink: 0 !important;
    }

    body.login-page .login-card .login-right .login-form .icone-login .logo-icone-mobile {
        width: 130px !important;
        height: 130px !important;
        max-width: none !important;
        object-fit: contain !important;
    }
}

/* DESCER LOGO — SOMENTE IPAD */
@media screen and (hover: none) and (pointer: coarse)
and (min-width: 601px) and (max-width: 1200px) {

    body.login-page .login-left .logo-login {
        transform: translateY(-45px) !important;
    }

}

/* =====================================================
   AJUSTE DE PROPORÇÃO — IPAD NA VERTICAL
===================================================== */

@media screen and (min-width: 601px)
and (max-width: 1100px)
and (orientation: portrait) {

    body.login-page .login-card {
        width: calc(100% - 32px) !important;
        max-width: 850px !important;
        height: calc(100dvh - 32px) !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
    }

    body.login-page .login-left {
        flex: 0 0 43% !important;
        width: 43% !important;
        min-width: 0 !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    body.login-page .login-right {
        flex: 1 1 57% !important;
        width: 57% !important;
        min-width: 0 !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.login-page .login-form {
        width: 100% !important;
        max-width: 380px !important;
        min-width: 0 !important;
    }

    body.login-page .input-group {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.login-page .captcha-container {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}
