/* =========================================================
   CASA DOS PELUDOS
   ALTERAR SENHA
========================================================= */


/* =========================
   RESET
========================= */

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

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    background: #f8e9e5;

    color: #403236;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   PÁGINA
========================= */

.page {
    width: 100%;
    min-height: 100vh;

    display: flex;

    background: #f8e9e5;
}


/* =========================
   MENU LATERAL
========================= */

.navbar {
    width: 230px;
    min-width: 230px;

    min-height: 100vh;

    position: fixed;

    left: 0;
    top: 0;

    background: #853b4b;

    padding: 22px 15px;

    display: flex;
    flex-direction: column;

    z-index: 1000;
}


/* LOGO */

.logo {
    width: 100%;
    height: 80px;

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

    margin-bottom: 25px;
}

.logo img {
    width: 155px;
    max-width: 100%;

    height: auto;

    object-fit: contain;
}


/* MENU */

.menu {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.menu a {
    width: 100%;

    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 10px 13px;

    border-radius: 8px;

    color: white;

    font-size: 13px;

    transition: .2s ease;
}

.menu a span {
    width: 24px;

    text-align: center;

    font-size: 15px;
}

.menu a:hover {
    background: rgba(255,255,255,.12);
}

.menu a.active {
    background: rgba(255,255,255,.20);
}


/* SAIR */

.sair {
    width: 100%;

    min-height: 43px;

    margin-top: auto;

    padding: 10px 13px;

    display: flex;
    align-items: center;

    gap: 11px;

    color: white;

    border-radius: 8px;

    font-size: 13px;
}

.sair:hover {
    background: rgba(255,255,255,.12);
}

.sair span {
    width: 24px;

    text-align: center;
}


/* =========================
   CONTEÚDO
========================= */

.conteudo {
    width: calc(100% - 230px);

    min-height: 100vh;

    margin-left: 230px;

    background: #f8e9e5;
}


/* =========================
   TOPBAR
========================= */

.topbar {
    width: 100%;

    min-height: 74px;

    padding: 12px 35px;

    background: white;

    border-bottom: 1px solid #e3c6c2;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.topbar-esquerda {
    display: flex;

    align-items: center;

    gap: 12px;
}

.botao-voltar {
    color: #853b4b;

    font-size: 28px;

    line-height: 1;
}

.topbar-esquerda h1 {
    color: #853b4b;

    font-size: 23px;

    font-weight: 700;
}

.topbar-esquerda p {
    margin-top: 3px;

    color: #817174;

    font-size: 10px;
}


/* USUÁRIO */

.usuario {
    display: flex;

    align-items: center;

    gap: 10px;
}

.usuario-foto {
    width: 38px;
    height: 38px;

    display: flex;

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

    border-radius: 50%;

    background: #853b4b;

    color: white;

    font-weight: bold;

    font-size: 14px;
}

.usuario-info strong {
    display: block;

    color: #403236;

    font-size: 11px;
}

.usuario-info span {
    display: block;

    margin-top: 2px;

    color: #817174;

    font-size: 8px;
}


/* =========================
   BREADCRUMB
========================= */

.breadcrumb {
    width: 100%;

    padding: 17px 35px 10px;

    font-size: 10px;

    color: #817174;
}

.breadcrumb a {
    color: #853b4b;

    font-weight: bold;
}

.breadcrumb span {
    margin: 0 4px;
}


/* =========================
   ÁREA DA SENHA
========================= */

.area-senha {
    width: calc(100% - 70px);

    max-width: 950px;

    margin: 0 auto;

    padding: 10px 0 35px;
}


/* =========================
   CARD PRINCIPAL
========================= */

.card-senha {
    width: 100%;

    padding: 28px;

    background: #fffaf8;

    border: 1px solid #e2c6c1;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(100,45,55,.07);
}


/* =========================
   TÍTULO
========================= */

.titulo-card {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 20px;

    border-bottom: 1px solid #ead6d2;
}

.icone {
    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 9px;

    background: #f1d7d3;

    font-size: 19px;
}

.titulo-card h2 {
    color: #853b4b;

    font-size: 19px;
}

.titulo-card p {
    margin-top: 4px;

    color: #817174;

    font-size: 9px;
}


/* =========================
   FORMULÁRIO
========================= */

form {
    width: 100%;

    max-width: 650px;

    margin: 25px auto 0;
}

.campo {
    width: 100%;

    margin-bottom: 18px;
}

.campo label {
    display: block;

    margin-bottom: 7px;

    color: #403236;

    font-size: 10px;

    font-weight: bold;
}


/* CAMPO COM SENHA */

.campo-senha {
    width: 100%;

    position: relative;
}

.campo-senha input {
    width: 100%;

    height: 43px;

    padding: 10px 45px 10px 12px;

    border: 1px solid #dfc8c4;

    border-radius: 7px;

    outline: none;

    background: white;

    color: #403236;

    font-size: 10px;

    transition: .2s;
}

.campo-senha input::placeholder {
    color: #aaa0a0;
}

.campo-senha input:focus {
    border-color: #a94d60;

    box-shadow: 0 0 0 2px rgba(169,77,96,.10);
}


/* BOTÃO MOSTRAR SENHA */

.mostrar-senha {
    width: 38px;
    height: 38px;

    position: absolute;

    right: 3px;
    top: 3px;

    display: flex;

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

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 14px;

    opacity: .7;
}

.mostrar-senha:hover {
    opacity: 1;
}


/* =========================
   REGRAS DA SENHA
========================= */

.regras {
    margin-top: 5px;

    padding: 15px 17px;

    background: #f9eeee;

    border: 1px solid #ead2ce;

    border-radius: 8px;
}

.regras h3 {
    margin-bottom: 8px;

    color: #853b4b;

    font-size: 10px;
}

.regras ul {
    padding-left: 18px;
}

.regras li {
    margin-bottom: 4px;

    color: #817174;

    font-size: 9px;

    line-height: 1.5;
}


/* =========================
   BOTÕES
========================= */

.botoes {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #ead6d2;
}

.botao-cancelar {
    min-width: 105px;

    height: 39px;

    display: flex;

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

    border: 1px solid #dfc8c4;

    border-radius: 7px;

    background: white;

    color: #853b4b;

    font-size: 10px;

    font-weight: bold;

    transition: .2s;
}

.botao-cancelar:hover {
    background: #f9eeee;
}

.botao-salvar {
    min-width: 155px;

    height: 39px;

    padding: 0 15px;

    border: none;

    border-radius: 7px;

    background: #853b4b;

    color: white;

    font-size: 10px;

    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.botao-salvar:hover {
    background: #71303f;
}


/* =========================
   CARD DE SEGURANÇA
========================= */

.seguranca-card {
    width: 100%;

    margin-top: 15px;

    padding: 15px 18px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    background: #f1d7d3;

    border: 1px solid #dfbeb9;

    border-radius: 8px;
}

.seguranca-icone {
    font-size: 19px;
}

.seguranca-card strong {
    display: block;

    color: #853b4b;

    font-size: 10px;
}

.seguranca-card p {
    margin-top: 4px;

    color: #817174;

    font-size: 8px;

    line-height: 1.6;
}


/* =========================
   RODAPÉ
========================= */

.footer {
    width: 100%;

    padding: 35px 40px;

    background: #853b4b;

    color: white;

    display: grid;

    grid-template-columns: 1.2fr 1fr 1.3fr 1fr;

    gap: 25px;
}


/* IMAGEM */

.footer-imagem {
    display: flex;

    align-items: center;
    justify-content: center;
}

.pet-circulo {
    width: 115px;
    height: 115px;

    overflow: hidden;

    border: 4px solid rgba(255,255,255,.8);

    border-radius: 50%;
}

.pet-circulo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* COLUNAS */

.footer-coluna h3 {
    margin-bottom: 9px;

    font-size: 13px;
}

.footer-coluna p {
    color: rgba(255,255,255,.82);

    font-size: 9px;

    line-height: 1.7;
}

.footer-coluna strong {
    display: block;

    margin-top: 10px;

    font-size: 10px;
}


/* BOTÃO DO FOOTER */

.botao-footer {
    display: inline-block;

    margin-top: 12px;

    padding: 8px 12px;

    border-radius: 6px;

    background: white;

    color: #853b4b;

    font-size: 9px;

    font-weight: bold;
}


/* REDES */

.redes {
    display: flex;

    gap: 7px;

    margin-top: 12px;
}

.redes a {
    width: 27px;
    height: 27px;

    display: flex;

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

    border: 1px solid rgba(255,255,255,.6);

    border-radius: 50%;

    color: white;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1000px) {

    .area-senha {
        max-width: calc(100% - 40px);
    }

    .footer {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 700px) {

    .page {
        display: block;
    }


    /* MENU */

    .navbar {
        width: 100%;

        min-width: 100%;

        min-height: auto;

        position: relative;

        padding: 12px;
    }

    .logo {
        height: 55px;

        margin-bottom: 10px;
    }

    .logo img {
        width: 130px;
    }

    .menu {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 5px;
    }

    .menu a {
        justify-content: center;

        padding: 8px 5px;

        font-size: 10px;
    }

    .menu a span {
        display: none;
    }

    .sair {
        display: none;
    }


    /* CONTEÚDO */

    .conteudo {
        width: 100%;

        margin-left: 0;
    }


    /* TOPBAR */

    .topbar {
        padding: 14px 18px;
    }

    .topbar-esquerda h1 {
        font-size: 19px;
    }

    .usuario-info {
        display: none;
    }


    /* BREADCRUMB */

    .breadcrumb {
        padding: 14px 18px 8px;
    }


    /* ÁREA */

    .area-senha {
        width: calc(100% - 36px);

        max-width: none;

        margin: 0 18px;
    }


    .card-senha {
        padding: 18px;
    }


    /* BOTÕES */

    .botoes {
        flex-direction: column-reverse;
    }

    .botao-cancelar,
    .botao-salvar {
        width: 100%;
    }


    /* FOOTER */

    .footer {
        grid-template-columns: 1fr 1fr;

        padding: 28px 20px;
    }

    .footer-imagem {
        display: none;
    }
}


@media (max-width: 450px) {

    .menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .titulo-card {
        align-items: flex-start;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}