/*GERAL*/ 
*{ 
    font-family: "Poppins", sans-serif; 
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 20px;
}


/*cabeçalho*/ 
header img{ 
    width: 200px; 
    height: 200px; 
    display: block; 
    margin: 0 auto; 
    object-fit: contain;
} 
 
header h2{ 
    text-align: center; 
}


/*=====BOTÃO-VOLTAR=====*/

.botao-voltar {
    position: absolute;
    top: 25px;
    left: 25px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.botao-voltar:hover {
    color: #0786db;
}
/*FORMULÁRIO*/ 
.formulário2{ 
    font-size: 13px; 
    margin: 15px auto 0 auto; 
    text-align: center;
    width: 100%;
    max-width: 700px;
} 
 
.formulário2 input{ 
    width: 100%; 
    height: 40px; 
    box-sizing: border-box;
    padding: 8px;
} 
 
.formulário2 label{ 
    display: block; 
    width: 100%; 
    margin: 10px 0 5px 0; 
    text-align: left; 
}


/*CEP E BAIRRO*/ 
.cep-bairro{
    display: flex;
    gap: 10px;
    width: 100%;
}

.cep-bairro .campo{
    width: 50%;
}


/*BOTÃO*/ 
.checkbox-wrapper-46{ 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 20px; 
} 
 
.checkbox-wrapper-46 input[type="checkbox"]{ 
    display: none; 
    visibility: hidden; 
} 
 
.checkbox-wrapper-46 .cbx{ 
    margin: 0; 
    -webkit-user-select: none; 
    user-select: none; 
    cursor: pointer; 
} 
 
.checkbox-wrapper-46 .cbx span{ 
    display: inline-block; 
    vertical-align: middle; 
    transform: translate3d(0, 0, 0); 
} 
 
.checkbox-wrapper-46 .cbx span:first-child{ 
    position: relative; 
    width: 18px; 
    height: 18px; 
    border-radius: 3px; 
    transform: scale(1); 
    vertical-align: middle; 
    border: 1px solid #9098a9; 
    transition: all 0.2s ease; 
} 
 
.checkbox-wrapper-46 .cbx span:first-child svg{ 
    position: absolute; 
    top: 3px; 
    left: 2px; 
    fill: none; 
    stroke: #ffffff; 
    stroke-width: 2; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
    stroke-dasharray: 16px; 
    stroke-dashoffset: 16px; 
    transition: all 0.3s ease; 
    transition-delay: 0.1s; 
    transform: translate3d(0, 0, 0); 
} 
 
.checkbox-wrapper-46 .cbx span:first-child:before{ 
    content: ""; 
    width: 100%; 
    height: 100%; 
    background: #506eec; 
    display: block; 
    transform: scale(0); 
    opacity: 1; 
    border-radius: 50%; 
} 
 
.checkbox-wrapper-46 .cbx span:last-child{ 
    padding-left: 8px; 
} 
 
.checkbox-wrapper-46 .cbx:hover span:first-child{ 
    border-color: #506eec; 
} 
 
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child{ 
    background: #506eec; 
    border-color: #506eec; 
    animation: wave-46 0.4s ease; 
} 
 
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg{ 
    stroke-dashoffset: 0; 
} 
 
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before{ 
    transform: scale(3.5); 
    opacity: 0; 
    transition: all 0.6s ease; 
} 
 
@keyframes wave-46{ 
    50%{ 
        transform: scale(0.9); 
    } 
} 


/*CADASTRAR*/ 
.cadastro-completo a{ 
    display: block; 
    width: 100%; 
    max-width: 330px; 
    margin: 25px auto 0 auto; 
    text-align: center; 
    background: rgb(30, 140, 230); 
    color: white; 
    font-size: 20px; 
    padding: 10px; 
    border-radius: 10px;
    text-decoration: none;
}

#mensagem-cadastro {
    display: none;

    color: #198754;
    background-color: #d1e7dd;

    padding: 12px;
    margin: 20px auto;

    width: 80%;
    max-width: 400px;

    text-align: center;
    font-weight: 600;

    border-radius: 8px;
}
/*TABLET*/ 
@media (max-width: 768px){

    body{
        padding: 15px;
    }

    header img{
        width: 170px;
        height: 170px;
    }

    header h2{
        font-size: 24px;
    }

    .formulário2{
        max-width: 600px;
    }

}


/*CELULAR*/ 
@media (max-width: 480px){

    body{
        padding: 10px;
    }

    header img{
        width: 130px;
        height: 130px;
    }

    header h2{
        font-size: 20px;
    }

    .formulário2{
        font-size: 12px;
        max-width: 100%;
    }

    .formulário2 input{
        height: 38px;
    }

    /*CEP E BAIRRO continuam lado a lado*/

    .cep-bairro{
        display: flex;
        gap: 8px;
    }

    .cep-bairro .campo{
        width: 50%;
    }

    .cadastrar{
        width: 100%;
        font-size: 18px;
    }
}

/*=====ESTILIZAÇÃO DO INPUT=====*/

/* CENTRALIZA O FORMULÁRIO */
.formulário2 {
    width: 500px;
    margin: 30px auto;
}

/* ESPAÇAMENTO DOS CAMPOS */
.grupo-campo {
    margin-bottom: 15px;
}

.grupo-campo label {
    display: block;
    margin-bottom: 5px;
}

/* INPUT E ÍCONE */
.campo {
    position: relative;
    width: 100%;
}

.campo input {
    width: 100%;
    height: 45px;
    padding: 0 45px 0 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

/* POSICIONA O ÍCONE DENTRO DO INPUT */
.campo i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: gray;
    pointer-events: none;
}

/* CEP E BAIRRO LADO A LADO */
.cep-bairro {
    display: flex;
    gap: 12px;
}

.cep-bairro .grupo-campo {
    width: 50%;
}