body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.box-login{
    margin-top: 10px;
    padding: 20px;
    display: grid;
    gap: 20px;
}
.box-login-top {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}
.box-login-middle {
    display: grid;
    gap: 4px;
}

.box-login-middle {
    & h3 {
        font-weight: var(--weight-Medium);
        display: flex;
        justify-content: center;
    }
    & .cadastre-se {
        justify-content: center;
        display: flex;
        gap: 4px;
        font-weight: var(--weight-Medium);
        font-size: 1.4rem;
        & span {
            display: inline;
        }
        & a {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 4px;
            font-weight: var(--weight-Medium);
            color: var(--color-lightblue);
        }
        & .material-symbols-rounded {
            font-size: 1.6rem;
            font-weight: var(--weight-Medium);
        }
        & a:where(:hover, :active, :focus, :focus-visible) {
            color: var(--color-blue_whenhover);
        }
    }
}

.form {
    margin-top: 40px;
    & h1 {
        font-weight: var(--weight-Bold);
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 40px;
    }
    & p {
        margin-top: 10px;
        font-weight: var(--weight-Regular);
        font-size: 1.4rem;
        & a {
            font-weight: var(--weight-Medium);
            display: inline;
            color: var(--color-lightblue);
        }
    }
}

.form-top{
    display: grid;
    gap: 20px;
}
.input-area {
    display: grid;
    gap: 10px;
    position: relative;
    & i {
        position: absolute;
        right: 5px;
        bottom: 5px;
        cursor: pointer;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
    }
}
input {
    width: 100%;
    padding: 12px;
    /* border-radius: 8px; */
    /* border-radius: 20px; */
    border-radius: var(--radius-full);
    outline: none;
    border: 0.1px solid #707072;
}
input:where(:hover, :focus, :focus-visible, :active) {
    border: 1px solid var(--color-primary-gray);
}
input[type=submit] {
    margin-top: 40px;
    min-width: 180px;
    cursor: pointer;
    outline: none;
    border: none;
}
.form-bottom {
    display: flex;
    justify-content: end;
}


/*******************************************\
            MENSAGENS PHP
\*******************************************/

/*******************************************\
            MMESSAGE ERROR
\*******************************************/

.message-error {
    margin-top: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
    gap: 20px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #F43E31;
    border-radius: 20px;

    & img {
        width: 50px;
        transition: 0.3s ease;
    }


    & .close-btn {    
        background-color: transparent;
        color: #707072;
        font-size: 2.4rem;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: absolute;
        right: 10px;
        top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        
        transition: 0.3s ease;
    }

    & p {
        text-align: center;
        font-weight: var(--weight-Medium);


        & span {
            display: inline;
            color: #F43E31;
        }
    }

    & .erros {
        padding: 10px;
        gap: 16px;

        & li {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: left;
            font-size: 1.5rem;

            & .ball-indicator {
                width: 8px;
                height: 8px;
                background-color: #F43E31;
                border-radius: 50%;
                flex-shrink: 0;
                flex-grow: 0;
                
            }
        }
    }
}

.message-error:where(:hover, :active, :focus, :focus-visible) {
    img {
        width: 56px;
    }

    & .close-btn {
        background-color: #F43E31;
        color: var(--color-white);
    }

}

.message-error.active {
    display: none;
}


/*******************************************\
            MMESSAGE SUCCESS
\*******************************************/


.message-success {
    margin-top: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 10px;
    border-radius: 20px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #47D176 ;

    & img {
        width: 50px;
        transition: 0.3s ease;
    }

    & .close-btn {    
        background-color: transparent;
        color: #707072;
        font-size: 2.4rem;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: absolute;
        right: 10px;
        top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        
        transition: 0.3s ease;
    }

    & .mensagem-content {
        display: grid;
        gap: 6px;
        
        & .titulo {
            font-weight: var(--weight-Medium);
            font-size: 1.7rem;
        }

        & span {
            display: inline;
            font-weight: var(--weight-Semibold);
        }
    }
}

.message-success:where(:hover, :active, :focus, :focus-visible) {
    img {
        width: 56px;
    }

    & .close-btn {
        background-color: #47D176;
        color: var(--color-white);
    }

}

.message-success.active {
    display: none;
}
