@charset "UTF-8";

i {

    color: var(--cor-texto-claro);

    font-size: 2em;
}
/* ===========================
   HEADER
=========================== */

.header-cadastro {

    background: var(--cor-primaria);

    box-shadow: var(--sombra);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-conteudo {

    height: 70px;

    margin: 0 auto;

    padding: 0 2em;

    display: flex;

    align-items: center;

    justify-content: flex-start;

}

.logo {

    display: flex;
    align-items: center;
    gap: .8rem;

    text-decoration: none;
}

.logo img {

    width: 40px;
    height: 40px;
}

.logo span {

    color: var(--cor-texto-claro);

    font-size: 1.5rem;

    font-weight: 700;
}

/* ==========================
   MENSAGENS
========================== */

.mensagem {

    width: 100%;

    padding: 1rem;

    margin-bottom: 1.5rem;

    border-radius: 10px;

    text-align: center;

    font-weight: 600;

    font-size: .95rem;

    animation: aparecer .3s ease;

}



/* ERRO */

.mensagem-erro {

    background: rgb(239 68 68 / .15);

    color: #DC2626;

    border: 1px solid rgb(239 68 68 / .3);

}



/* SUCESSO */

.mensagem-sucesso {

    background: rgb(34 197 94 / .15);

    color: var(--cor-sucesso);

    border: 1px solid rgb(34 197 94 / .3);

}



@keyframes aparecer {

    from {

        opacity: 0;

        transform: translateY(-10px);

    }


    to {

        opacity: 1;

        transform: translateY(0);

    }

}
/* ===========================
   MOBILE (Padrão)
=========================== */

body {

    font-family: sans-serif;

    background: var(--cor-fundo);
    color: var(--cor-texto);

    min-height: 100vh;
}

.cadastro {

    min-height: calc(100vh - 70px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;

    background: var(--cor-fundo);
}

.cadastro-card {

    width: 100%;

    background: var(--cor-card);

    border-radius: var(--raio);

    box-shadow: var(--sombra);

    padding: 2rem;
}

.cadastro-card h1 {

    text-align: center;

    color: var(--cor-texto);

    font-size: 1.8rem;

    margin-bottom: .5rem;
}

.cadastro-card > p {

    text-align: center;

    color: var(--cor-texto-secundario);

    line-height: 1.5;

    margin-bottom: 2rem;
}

.campo {

    display: flex;
    flex-direction: column;

    margin-bottom: 1.25rem;
}

.campo label {

    margin-bottom: .5rem;

    font-weight: 600;

    color: var(--cor-texto);
}

.campo input {

    width: 100%;

    padding: 1rem;

    border: 1px solid var(--cor-borda);

    border-radius: 10px;

    background: var(--cor-card);

    color: var(--cor-texto);

    font-size: 1rem;

    transition: var(--transicao);
}

.campo input::placeholder {

    color: var(--cor-texto-secundario);
}

.campo input:focus {

    outline: none;

    border-color: var(--cor-primaria);

    box-shadow: 0 0 0 4px rgb(31 69 237 / .15);
}

button {

    width: 100%;

    padding: 1rem;

    border: none;

    border-radius: 10px;

    background: var(--cor-primaria);

    color: var(--cor-texto-claro);

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transicao);
}

button:hover {

    background: var(--cor-secundaria);

    transform: translateY(-2px);
}

.login {

    margin-top: 1.5rem;

    text-align: center;

    color: var(--cor-texto-secundario);
}

.login a {

    color: var(--cor-primaria);

    text-decoration: none;

    font-weight: 600;
}

.login a:hover {

    text-decoration: underline;
}

.cadastro-google {
    margin-top: 16px;
}

.cadastro-google .botao-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cor-borda);
    border-radius: var(--raio-pequeno);
    background: var(--cor-card);
    color: var(--cor-texto);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color .3s ease,
        border-color .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}

.cadastro-google .botao-google:hover {
    background: var(--cor-fundo-secundario);
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    box-shadow: var(--sombra);
}

.cadastro-google .bi {
    font-size: 1.2rem;
}

.cadastro-google .bi-google {
    color: var(--cor-texto);
}

/* ===========================
   TABLETS
=========================== */

@media (min-width: 768px) {

    .cadastro {

        padding: 2rem;
    }

    .cadastro-card {

        max-width: 450px;

        padding: 2.5rem;
    }

    .cadastro-card h1 {

        font-size: 2rem;
    }
}

/* ===========================
   DESKTOP
=========================== */

@media (min-width: 1024px) {

    .cadastro-card {

        max-width: 480px;

        padding: 3rem;
    }

    .cadastro-card h1 {

        font-size: 2.2rem;
    }

    .cadastro-card > p {

        font-size: 1.05rem;
    }
}