/* LOGIN */

.container-login{
    width:92%;
    max-width:1080px;
    min-height: 100vh;
    margin:0 auto;
    position:relative;
}
.auth-section{
    margin: 2rem 0;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius:10px;
    overflow: hidden;
}
.auth-left{
    width: calc(100% - 3rem);
    padding: 1.5rem;
    flex: 1;
    background-color: var(--primary-3);
    background-image: url('../img/bg-auth.webp');
    background-position: center;
    background-size: cover;
    color: var(--light-1);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}
.auht-logo{
    width: 100%;
    max-width: 180px;
    padding: .5rem 1.25rem .75rem 1.25rem;
    background:rgba(255,255,255,.2);
    border-radius: 60px;
    margin-bottom: 1rem;
}
.auht-logo img{
    width: 100%
}
.home-cont{
    width: 100%;
}
.home-cont h1{
    margin-bottom: 1rem;
}
.home-cont p {
    margin-bottom: 1rem;
    color: var(--light-2);
    font-weight: 400;
}
.home-cont p:last-child{
    width: fit-content;
    background-color: var(--light-1);
    background-image: var(--light-gradient);
    color: var(--primary-1);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 0.75rem 1rem;
    margin: 1.5rem auto 0 auto;
    font-weight: 500;
}
.auth-right{
    width: 366px;
    background-color: var(--light-1);
    border-radius: 0 6px 6px 0;
}
.forms{
    width:calc(100% - 2rem);
    padding:0 1rem;
    flex-direction: column;
}
.forms h2{
    color: var(--primary-1);
    margin-bottom: .75rem;
}
.forms input, #form-forget input{
    width: calc(100% - calc(1rem + 2px));
    padding: .2rem .5rem;
    border-radius: 8px;
    margin-bottom: .35rem;
}
.forms button, #form-forget button{
    width: 100%;
    padding: .4rem 0;
    border-radius: 8px;
    text-transform: uppercase;
    border: none;
    background-color: var(--primary-1);
    background-image: var(--primary-gradient);
    color: var(--light-1);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.125);
    cursor: pointer;
    margin-bottom: 1rem;
}
.form-footer-link {
    width: 100%;
    display: block;
}
.form-footer-link a {
    color: var(--primary-1);
    display: block;
    font-weight:500;
}
.form-return-messagem{
    width: 100%;
    margin-top: .25rem;
    color: var(--error);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    transition:max-height .25s ease, opacity .2s ease, padding .2s ease;
}
.form-return-messagem.show{
    max-height: 120px;
    opacity: 1;
    padding: .35rem 0;
}
.form-return-messagem a{
    font-weight: 500;
}

#fl-forget{
    margin-top: 1rem;
}
#fl-forget a{
    display: inline;
}

/* ALTER LANGUAGE */

.alter-language{
    display: inline-block;
    width: fit-content;
    background-color: transparent;
    border: none;
    color: var(--primary-1);
    cursor: pointer;
    font-weight: 300;
    padding: 0;
}

/* TERMOS DE USO - POLÍTICA DE PRIVACIDADE  */

.terms-content {
    width: 100%;
    margin: 2rem 0;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 0 10PX rgba(0, 0, 0, 0.1);
    background: var(--light-1);
}
.terms-content h1 {
    margin-bottom: 2rem;
    text-align: center;
    color:var(--primary-1)
}
.terms-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    color:var(--primary-1)
}
.terms-content p {
    margin-bottom: 1rem;
    color: var(--dark-5);
}
.terms-content .terms-date {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    text-align: center;
}

/* FOOTER */

.footer-links {
    width: 100%;
    background: var(--primary-4);;
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-3);
    color: var(--primary-1);
}
.footer-link {
    gap: 8px;
    flex-wrap: wrap;
}
.footer-link a {
    color: var(--primary-1);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-separator {
    color: var(--primary-1);
}
.footer{
    width: 100%;
    padding: 1rem 0;
    color: var(--light-1);
    background: var(--primary-1);
    user-select: none;
}
@media only screen and (max-width:960px) {
    html,body{
        background-image: url('../img/bg-auth.webp');
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
    }
    .container-login{
        width:100%;
        min-height:auto;
        padding:0;
    }
    .auth-section{
        margin:0;
        box-shadow:none;
        border-radius:0;
        box-shadow:none;
        overflow:visible;
        flex-direction: column;
    }
    .auth-left{
        flex: 0;
        align-items:center;
        background-color: transparent;
        background-image:none;
    }
    .auth-left img{
        max-width:160px;
    }
    .auth-left h1{
        margin-bottom:1rem;
    }
    .auth-left p{
        margin:0 auto 1rem auto;
    }
    .auth-right{
        width:100%;
        padding: 3rem 0;
        border-radius: 0;
        text-align: center;
    }
    .login-form{
        max-width:100%;
        border-left:none;
        border-top:1px solid var(--primary-5);
        padding-top:2rem;
    }
    .forms input, #form-forget input{
        width: calc(100% - calc(1.2rem + 2px));
        padding: .25rem .6rem;
        margin-bottom: .5rem;
    }
    .forms button, #form-forget button{
        padding: .5rem 0;
    }

    .terms-content {
        padding: 1.2rem;
    }
    .terms-content h1 {
        font-size: 1.7rem;
    }
    .terms-content h2 {
        font-size: 1.1rem;
    }
}