.container-login {
    position: relative;
    z-index: 3;
    width: 500px;
    height: 100%;
    margin-inline: auto;
    background-color: var(--backgroud-card);
    border-radius: 20px;
    padding: 47px;
    /* text-align: center; */
    margin-top: 1%;
    opacity: 0.96;
} 

.titulo-login-passo{
    font-size: 36px;
    font-family: 'poppins', sans-serif;
    font-weight: 700;
    color: #0E0E0E;
}

.txt-login-passo{
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--botao-desativado);
}



.form-login-passo, .form-esquici-senha {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    justify-content: start;
    margin-top: 35px;
}

#btnEnviarSenha {
    margin-top: 30px;
}

#formRedefinirSenha {
    .div-form-cadastro-passo {
        width: 100%;
    }
}

.div-form-login-passo {
    align-self: self-start;
    width: 100%;
}

.label-form-passo{
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #0E0E0E;
}

.container-check-link{
   align-self: self-end;
   text-align: end;
}


.label-checkbox-form{
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--botao-desativado);
}

/* Estilização para o container geral */
.container-check-link {
    display: block;
    font-family: Arial, sans-serif;
}

/* Estilização para o link */
.link-form-sublinhado {
    display: block;
    color: var(--cor-azul-escuro);
    cursor: pointer;
    text-decoration: underline;
}


.link-form {
    display: block;
    color: var(--cor-azul-escuro);
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px; /* Espaço entre o checkbox e o link */
}

.link-form:hover {
    text-decoration: underline;
}

/* Estilização básica para a div e a label do checkbox */
.div-check-form {
    position: relative;
    padding-left: 35px;
    display: inline-block;
}

.label-checkbox-form {
    user-select: none; /* Impede que o texto seja selecionável */
}

/* Ocultar o checkbox original */
.custom-checkbox {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
    left: 0;
}

/* Criar uma caixa para o pseudo-checkbox */
.custom-checkbox + .label-checkbox-form::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 4px;
}

/* Quando o checkbox está marcado, adicione uma marca de seleção */
.custom-checkbox:checked + .label-checkbox-form::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:checked + .label-checkbox-form::before {
    background-color: #000; /* Fundo preto */
    border-color: #000; /* Borda preta */
}

.link-form{
    color: var(--cor-menu-selecionado);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}


.div-btn-login{
    width: 100%;
    display: flex;
    gap: 11px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}



.btn-preto-form-passo {
    border-radius: 10px;
    padding: 10px 40px 10px 40px;
    border: none;
    background-color: #0E0E0E;
    color: #fff;
 
}

.texto-cadastro{
    display: flex;
    flex-direction: row;
    margin: 20px;
    gap: 5px;
}

.img-fom-login{
    width: 51px;
    height: 51px;
    object-fit: cover;
    margin: 0 15px;
}

.btn-face {
    cursor: pointer;
    
    > img {
        max-width: 250px;
        height: auto;
    }
}

/* CELULAR */
@media (max-width: 768px) {
    .container-login {
        position: relative;
        z-index: 3;
        width:100%;
        height: fit-content;
        margin-inline: auto;
        background-color: var(--backgroud-card);
        border-radius: 20px;
        padding: 30px 19px;
        /* text-align: center; */
        margin-top: 3%;
    }
    .titulo-login-passo {
        font-size: 26px;
        font-family: 'Ubunto', sans-serif;
        font-weight: 700;
        color: #0E0E0E;
    }

    .div-btn-login {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }


    .btn-preto-form-passo {
        border-radius: 10px;
        padding: 10px 40px 10px 40px;
        border: none;
        background-color: #0E0E0E;
        color: #fff;
        margin: 0;
      
      
    }

    .btn-form{
        width: 100%;

    }
}




/* TABLETES/LAPTOPS */
@media (min-width: 769px) and (max-width: 1000px) {
    .container-login {
        position: relative;
        z-index: 3;
        width: 500px;
        height: fit-content;
        margin-inline: auto;
        background-color: var(--backgroud-card);
        border-radius: 20px;
        padding: 47px;
        /* text-align: center; */
        margin-top: 3%;
    }

}


/* RESTO */
@media (min-width: 1001px) and (max-width: 1400px) {
    .container-login {
        position: relative;
        z-index: 3;
        width: 500px;
        height: fit-content;
        margin-inline: auto;
        background-color: var(--backgroud-card);
        border-radius: 20px;
        padding: 47px;
        /* text-align: center; */
        margin-top: 3%;
    }
}

/* Login: o branding fica preso ao topo; somente o painel/imagem rola. */
body:has(.login-brand) {
    display: block;
    min-height: 100svh;
    background: #0e151b;
}

body:has(.login-brand) .sidebar,
body:has(.login-brand) > header {
    display: none !important;
}

.login-brand {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 136px;
    display: flex;
    align-items: center;
    padding: 20px 48px;
    background: #0e151b;
}

.login-brand img {
    display: block;
    width: clamp(155px, 14vw, 230px);
    height: auto;
}

body:has(.login-brand) .main {
    display: block;
    width: 100%;
    min-height: 100svh;
    padding-top: 136px;
    background: #0e151b;
}

body:has(.login-brand) .main-border {
    min-height: calc(100svh - 136px) !important;
    overflow: visible !important;
}

.login-brand {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .login-brand {
        height: 92px;
        padding: 15px 24px;
    }

    body:has(.login-brand) .main {
        padding-top: 92px;
    }

    body:has(.login-brand) .main-border {
        min-height: calc(100svh - 92px) !important;
        overflow: visible !important;
    }
}

@media (max-width: 600px) {
    .login-brand {
        height: 76px;
        padding: 12px 16px;
    }

    .login-brand img {
        width: 145px;
    }

    body:has(.login-brand) .main {
        padding-top: 76px;
    }

    body:has(.login-brand) .main-border {
        min-height: calc(100svh - 76px) !important;
        overflow: visible !important;
    }
}
