/* ===========================================================
   SIDEBAR
=========================================================== */
.login-sidebar {

    height: 100dvh;
    width: 100%;
    max-width: 520px;
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    align-items: center;
    box-shadow: 0 5px 8px rgb(0 0 0 / 31%);

    display: flex;
    justify-content: center;  /* horizontal */
}
.login-sidebar-corpo{
    max-width: 420px;
    width: 100%;
}
/* ===========================================================
   LOGO
=========================================================== */
.login-logo {
    max-width: 80%;
    display: block;
    margin: auto;
    margin-bottom: 15px;
    max-height: 120px;
}

/* ===========================================================
   TÍTULOS
=========================================================== */
.login-title {
    margin-bottom: 0px;
    font-size: 20px;
    text-align: center;
}

.login-title-sub {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.signup-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.signup-subtitle {
    color: #202020;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ===========================================================
   INPUTS
=========================================================== */
.login-input,
.sidebar-input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    margin-bottom: 15px;
}

.sidebar-input {
    border-color: #ddd;
    border-radius: 8px;
}

.sidebar-input:focus {
    border-color: var(--primary);
}

.sidebar-group {
    margin-bottom: 15px;
}

/* ===========================================================
   BOTÕES
=========================================================== */
.login-btn,
.signup-btn,
.sidebar-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s;

}
.login-btn{
    margin-top: 15px;
}


.sidebar-btn {
    border-radius: 8px;
    font-size: 15px;
}

.login-btn:hover,
.signup-btn:hover,
.sidebar-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.option-btn {
    margin-bottom: 10px;
    transition: 0.25s;
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

/* ===========================================================
   SENHA (ícone)
=========================================================== */
.password-container {
    position: relative;
}

.password-container .fa-eye {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
}

/* ===========================================================
   LINKS E AÇÕES
=========================================================== */
.forgot-pass {
    text-align: right;
}

.signup-toggle,
.back-login {
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary);
    margin-top: 15px;
    font-size: 14px;
}

.back-login:hover,
.signup-toggle:hover {
    text-decoration: underline;
}

.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center; /* alinha verticalmente */
    margin: 10px 0;
}

/* reseta completamente os filhos */
.login-links > * {
    margin: 0;
    padding: 0;
    line-height: 1;        /* altura igual para ambos */
    display: flex;
    align-items: center;   /* garante alinhamento interno */
}

/* estilo dos links */
.forgot-pass a,
.signup-toggle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.login-links.only-center {
    justify-content: center !important;
}


/* ===========================================================
   DIVISOR
=========================================================== */
.divider {
    margin: 15px 0;
    text-align: center;
    color: #777;
    font-size: 16px;

}

.divider span {
    background: #fff;
    padding: 0 8px;
    color: #202020;
    font-size: 16px;
}

/* ===========================================================
   SSO LOGIN
=========================================================== */
.sso-area {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sso-icon {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.sso-icon:hover {
    background: #eee;
}

/* ===========================================================
   CAIXA DE CADASTRO / RECUPERAÇÃO
=========================================================== */
.signup-box,
.login-recovery {
    display: none;
    flex-direction: column;
    text-align: center;
}

.recovery-title {
    font-size: 16px;
    margin: 10px 0 15px;
}

.sidebar-title-recovery {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.sidebar-back {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    color: #555;
}

.sidebar-back a {
    color: var(--primary);
    font-weight: 600;
}

/* ===========================================================
   RODAPÉ
=========================================================== */
.footer-login {
    margin-top: auto;
    text-align: center;
}

.footer-login h4 {
    font-size: 13px;
    margin-bottom: 10px;
}

.social a {
    margin: 0 10px;
    font-size: 20px;
    color: #444;
}

.social a:hover {
    color: var(--primary);
}

/* ===========================================================
   RESPONSIVIDADE
=========================================================== */

/* ============================

   ============================ */


@media screen and (max-height: 800px) {
    .login-logo{
        max-width: 80%;
    }
    .login-title {
        margin-bottom: 5px;
        font-size: 18px;
    }
    .divider{
        margin: 10px 0;
    }

}

@media screen and (max-height: 600px) {
    .login-logo{
        width: 45%;
    }
    .login-title {
        margin-bottom: 5px;
        font-size: 18px;
    }
    .divider{
        margin: 5px 0;
    }

}

@media screen and (min-width: 480px) and (max-width: 1100px) {

    .login-logo {
        width: 80%;
        margin: auto;
        margin-bottom: 10px;
    }

    .login-sidebar {
        max-width: 100%;
    }

    .login-input, .sidebar-input {
        margin-bottom: 5px;

    }
}

 .signup-toggle{
     text-align: right;
     margin-top: 0px;
 }
 #login-esqueci-senha{
     display: flex;
     justify-content: center;
 }
#login-inscricao{
    text-align: center;
}
#login-password{
    margin-bottom: 0px;
}

.footer-login {
    text-align: center;
    /* position: absolute; */
    bottom: 10px;
    margin: auto;
    margin-top: 15px;
    width: 100%;
}


@media screen and (max-height: 600px) {
    .login-logo{
        width: 30%;
    }
    .login-title {
        margin-bottom: 5px;
        font-size: 18px;
    }
    .divider{
        margin: 5px 0;
    }
    .footer-login{
        display: none;
    }
}

@media screen and (max-height: 650px) {
    .login_acesse_conta{
        display: none;
    }
    .social{
       /* display: none;*/
    }

    .login-logo {
        width: 70%!important;
    }
}

#mostrarSenha {
    transition: .3s;
    position: absolute;
    top: 28px;
    right: 30px;
    font-size: 15px;
    transform: translateY(-80%);
    cursor: pointer;
}