﻿:root {
    --Dark: #353535;
    --primary: #ed1c24;
    --primaryDark: #C7171E;
    --primaryLight: #FF3639;
    --primaryTransparence: rgba(3, 157, 178, 0.05);
    --warning: #b29704;
    --success: #03b214;
    --danger: #b20606;
    --base: #f8f7ef;
    --old: #ed1c24;
    --gray: #616060;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    align-items: center;
}

aside {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: aliceblue;
    padding: 4rem 2rem 1rem;
    color: var(--gray)
}

main {
    width: 100%;
    height: 100%;
    background-image: url("../images/background_login.png");
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins, 'Segoe UI', sans-serif;
}


.info-system-container {
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}

.info-system {
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 4rem;
}

.info-system-login {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}
    .info-system-login .description-login {
        font-size: 10pt;
        font-weight: 500;
    }

.info-system-title {
    font-weight: 700;
    font-size: 14pt;
}

.info-system-description {
    text-align: justify;
    font-weight: 500;
    font-size: 10pt;
    color: var(--gray);
}

.info-system-footer {
    text-align: justify;
    font-weight: 500;
    font-size: 10pt;
    color: var(--gray);
}

.logo {
    width: 20rem;
    align-self: center;
    margin: 0 0 2rem 0;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/*----------- BUTTON -----------*/

button {
    border: none;
    border-radius: 2rem;
    min-width: 8rem;
    max-width: 100%;
    height: 2.5rem;
    background-color: var(--primaryDark);
    color: white;
    transition: all 0.3s ease-in;
}

    button:hover {
        cursor: pointer;
        background-color: var(--primaryLight);
    }

    button.full {
        width: 100%;
    }

/*----------- INPUT -----------*/
    .input-group {
        position: relative;
    }

    .input-group input[type="email"]{
        padding-left: 3rem;
    }

    .input-group i {
        position: absolute;
        left: 1rem;
        top: 0.6rem;
        font-size: 14pt;
        color: var(--primaryDark);
    }

input[type="email"]{
    width: 100%;
    height: 2.5rem;
    padding: 0.5rem;
    background-color: white;
    border: none;
    border-radius: 1rem;
    color: var(--gray);
    font-size: 10pt;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.2);
}

    input[type="email"]:-webkit-autofill{
        -webkit-box-shadow: 0 0 0 50px white inset;
        box-shadow: 0 0 0 50px white inset;
    }

        input[type="email"]:-webkit-autofill:before{
            box-shadow: 0 3px 3px 0 rgba(0,0,0,0.2);
        }

    input[type="email"]:focus,
    input[type="email"]:active {
        outline: none;        
        background-color: white;
        box-shadow: 0 3px 3px 0 rgba(0,0,0,0.2);
    }

    input[type="email"]::placeholder,
    input[type="email"]::placeholder {
        color: #b3b3b3;
    }

/*----------- VALIDAÇÃO INPUT -----------*/
input:invalid {
    border: 1px solid var(--danger);
}

input:valid {    
    border: none;
}

/*----------- RESPONSIVIDADE MOBILE -----------*/
@media only screen and (max-width: 1100px) {
    aside{
        width: 100%;
    }
    main{
        display: none;
    }
}

/*----------- ALERTAS -----------*/

.alert-validation {
    width: 50%;
    background-color: #fffffffa;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1rem 1.5rem 1rem;
    border-radius: 1rem;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.4);
}

.hide {
    display: none;
}

.alert-validation-header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.alert-validation-title {
    font-size: 13pt;
    font-weight: 500;
    align-self: center;
}

.alert-validation-close {
    color: var(--primaryDark);
    align-self: end;
    cursor: pointer;
}

.alert-validation-content {
    width: 100%;
    font-size: 10pt;
    text-align: center;
    padding: 0.5rem 0;
}