.psicoapp-paciente-acesso {
    width: 100%;
    padding: 0 20px;
    font-family: "Nunito", Arial, sans-serif;
    color: #00357a;
}

/* =========================================================
   PSICOAPP — LOGIN PROFISSIONAL
   ========================================================= */

.psicoapp-paciente-acesso__card,
.psicoapp-paciente-acesso__card * {
    box-sizing: border-box;
    font-family: "Nunito", Arial, sans-serif;
}

.psicoapp-paciente-acesso__card {
    width: 100%;
    max-width: 520px;
    margin: 40px auto;
    padding: 34px 36px 36px;

    background: #ffffff;

    border: 1px solid #d8efff;
    border-radius: 20px;

    box-shadow:
        0 8px 28px rgba(15, 28, 55, 0.08);
}


/* =========================================================
   LOGO
   ========================================================= */

.psicoapp-paciente-acesso__logo {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 8px;
}

.psicoapp-paciente-acesso__logo img {
    display: block;

    width: 170px;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.psicoapp-paciente-acesso__cabecalho {
    margin: 0 0 30px;
    text-align: center;
}

.psicoapp-paciente-acesso__cabecalho h1 {
    margin: 0 0 8px;

    color: #00357a;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.psicoapp-paciente-acesso__cabecalho p {
    margin: 0;

    color: #667085;

    font-size: 15px;
    line-height: 1.5;
}


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

.psicoapp-paciente-form {
    width: 100%;
}

.psicoapp-paciente-form__campo {
    width: 100%;
    margin: 0 0 20px;
}

.psicoapp-paciente-form__campo label {
    display: block;

    margin: 0 0 7px;

    color: #0f1c37;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}


/* =========================================================
   INPUTS
   ========================================================= */

.psicoapp-paciente-form__input {
    position: relative;

    width: 100%;
    min-height: 50px;
}

.psicoapp-paciente-form__icone {
    position: absolute;

    top: 50%;
    left: 15px;

    z-index: 2;

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

    width: 20px;
    height: 20px;

    pointer-events: none;

    transform: translateY(-50%);
}

.psicoapp-paciente-form__icone svg {
    display: block;

    width: 18px !important;
    height: 18px !important;

    fill: #38b6ff;
    stroke: none;

    max-width: 18px !important;
    max-height: 18px !important;
}

.psicoapp-paciente-form__input input {
    display: block;

    width: 100% !important;
    height: 50px !important;

    margin: 0 !important;
    padding: 0 15px 0 47px !important;

    background: #ffffff !important;

    border: 1px solid #cfe7f7 !important;
    border-radius: 12px !important;

    color: #222222 !important;

    font-size: 15px !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.psicoapp-paciente-form__input input[type="password"] {
    padding-right: 58px !important;
}

.psicoapp-paciente-form__input input::placeholder {
    color: #98a2b3;
}

.psicoapp-paciente-form__input input:hover {
    border-color: #9bd7fb !important;
}

.psicoapp-paciente-form__input input:focus {
    border-color: #38b6ff !important;

    box-shadow:
        0 0 0 3px
        rgba(56, 182, 255, .12) !important;
}


/* =========================================================
   OLHO DA SENHA
   ========================================================= */

.psicoapp-paciente-form__ver-senha {
    position: absolute !important;

    top: 50% !important;
    right: 10px !important;

    z-index: 4;

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

    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 8px !important;

    color: #38b6ff !important;

    cursor: pointer;

    box-shadow: none !important;
    outline: none !important;

    transform: translateY(-50%) !important;
}

.psicoapp-paciente-form__ver-senha:hover,
.psicoapp-paciente-form__ver-senha:focus {
    background: #eef8ff !important;
}

.psicoapp-paciente-form__ver-senha svg {
    display: block;

    width: 21px !important;
    height: 21px !important;

    max-width: 21px !important;
    max-height: 21px !important;

    fill: none !important;
    stroke: currentColor !important;

    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-paciente-form__olho--ocultar {
    display: none !important;
}

.psicoapp-paciente-form__ver-senha--ativo
.psicoapp-paciente-form__olho--mostrar {
    display: none !important;
}

.psicoapp-paciente-form__ver-senha--ativo
.psicoapp-paciente-form__olho--ocultar {
    display: block !important;
}


/* =========================================================
   ESQUECI MINHA SENHA
   ========================================================= */

.psicoapp-paciente-form__acoes {
    display: flex;
    justify-content: flex-end;

    margin: -5px 0 20px;
}

.psicoapp-paciente-form__esqueci {
    color: #0878d1;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.psicoapp-paciente-form__esqueci:hover {
    color: #38b6ff;
}


/* =========================================================
   BOTÃO ENTRAR
   ========================================================= */

.psicoapp-paciente-form__botao {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px;

    width: 100% !important;
    min-height: 50px;

    margin: 0 !important;
    padding: 13px 22px !important;

    background: #38b6ff !important;

    border: 0 !important;
    border-radius: 11px !important;

    color: #ffffff !important;

    cursor: pointer;

    font-size: 15px !important;
    font-weight: 800 !important;

    box-shadow:
        0 4px 12px
        rgba(0, 53, 122, .14);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.psicoapp-paciente-form__botao span {
    color: #ffffff !important;
}

.psicoapp-paciente-form__botao svg {
    display: block;

    width: 18px !important;
    height: 18px !important;

    max-width: 18px !important;
    max-height: 18px !important;

    fill: #ffffff !important;
}

.psicoapp-paciente-form__botao:hover {
    background: #38b6ff !important;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px
        rgba(56, 182, 255, .22);
}


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

.psicoapp-paciente-acesso__rodape {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    margin-top: 26px;
    padding-top: 22px;

    border-top: 1px solid #e5f3fc;

    text-align: center;
}

.psicoapp-paciente-acesso__rodape span {
    color: #667085;
    font-size: 13px;
}

.psicoapp-paciente-acesso__rodape a {
    color: #00357a;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;
}

.psicoapp-paciente-acesso__rodape a:hover {
    color: #38b6ff;
}


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

.psicoapp-paciente-acesso__erro {
    width: 100%;
    max-width: 520px;

    margin: 0 auto 22px;
    padding: 14px 16px;

    border-radius: 12px;

    font-family: "Nunito", Arial, sans-serif;

    font-size: 14px;
    line-height: 1.5;
}

.psicoapp-paciente-acesso__erro--erro {
    background: #fff5f5;
    border: 1px solid #ffc7c7;
    color: #9b1c1c;
}

.psicoapp-paciente-acesso__erro--info {
    background: #f5faff;
    border: 1px solid #b9e4ff;
    color: #00357a;
}


/* =========================================================
   PROTEÇÃO CONTRA CSS GLOBAL
   ========================================================= */

.psicoapp-paciente-acesso__card button::before,
.psicoapp-paciente-acesso__card button::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .psicoapp-paciente-acesso__card {
        margin: 25px auto;
        padding: 26px 20px;

        border-radius: 16px;
    }

    .psicoapp-paciente-acesso__logo img {
        width: 145px;
    }

    .psicoapp-paciente-acesso__cabecalho h1 {
        font-size: 25px;
    }

    .psicoapp-paciente-acesso__cabecalho p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .psicoapp-paciente-acesso {
        padding: 0;
    }
}

/* =========================================================
 * RECUPERAR SENHA
 * Estilos exclusivos desta tela.
 * Não altera login, cadastro ou redefinição de senha.
 * ========================================================= */

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__card {
    max-width: 600px;
    padding: 44px 44px 38px;
    border-color: #beddF8;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(0, 53, 122, 0.09);
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__logo {
    margin-bottom: 24px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__logo img {
    max-width: 145px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho {
    margin-bottom: 32px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho h1 {
    margin-bottom: 10px;
    font-size: 31px;
    line-height: 1.18;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho p {
    max-width: 470px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.55;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__campo {
    margin-bottom: 18px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__campo label {
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 900;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__input input {
    height: 58px;
    padding-left: 50px;
    border-color: #abd5f8;
    border-radius: 14px;
    font-size: 15px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__icone {
    left: 17px;
    width: 21px;
    height: 21px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__icone svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
}

.psicoapp-recuperar-senha
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao {
    min-height: 58px !important;
    margin-top: 0 !important;
    border-radius: 14px !important;
    background: #38b6ff !important;
    background-color: #38b6ff !important;
    font-size: 16px !important;
    box-shadow: 0 8px 20px rgba(11, 99, 206, 0.18) !important;
}

.psicoapp-recuperar-senha
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:hover,
.psicoapp-recuperar-senha
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:focus {
    background: #38b6ff !important;
    background-color: #38b6ff !important;
    box-shadow: 0 10px 24px rgba(11, 99, 206, 0.22) !important;
}

.psicoapp-recuperar-senha__aviso {
    display: grid;
    width: 100%;
    margin-top: 28px;
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    align-items: center;
    gap: 14px;
}

.psicoapp-recuperar-senha__aviso span {
    display: block;
    width: 100%;
    height: 1px;
    background: #d9e9f7;
}

.psicoapp-recuperar-senha__aviso p {
    max-width: 390px;
    margin: 0;
    color: #58728d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__sucesso {
    width: 100%;
    margin: 0 0 6px;
    padding: 15px 16px;
    border: 1px solid #bfe8d0;
    border-radius: 12px;
    background: #f2fbf6;
    color: #176b3a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__rodape {
    margin-top: 27px;
    padding-top: 23px;
}

.psicoapp-recuperar-senha .psicoapp-paciente-acesso__rodape a {
    font-size: 14px;
}

@media (max-width: 600px) {
    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__card {
        max-width: 100%;
        padding: 32px 22px 28px;
        border-radius: 20px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__logo {
        margin-bottom: 20px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__logo img {
        max-width: 125px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho {
        margin-bottom: 27px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho h1 {
        font-size: 27px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-acesso__cabecalho p {
        font-size: 14px;
    }

    .psicoapp-recuperar-senha .psicoapp-paciente-form__input input {
        height: 54px;
        font-size: 16px;
    }

    .psicoapp-recuperar-senha
    .psicoapp-paciente-form
    button.psicoapp-paciente-form__botao {
        min-height: 54px !important;
        font-size: 15px !important;
    }

    .psicoapp-recuperar-senha__aviso {
        margin-top: 24px;
        grid-template-columns: 24px auto 24px;
        gap: 10px;
    }

    .psicoapp-recuperar-senha__aviso p {
        font-size: 12px;
    }
}


/* =========================================================
 * RECUPERAR SENHA — CORREÇÃO DOS ÍCONES
 * Escopo exclusivo desta tela.
 * ========================================================= */

.psicoapp-recuperar-senha .psicoapp-paciente-form__icone svg {
    fill: none !important;
    stroke: #38b6ff !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.psicoapp-recuperar-senha .psicoapp-paciente-form__botao svg {
    fill: none !important;
    stroke: #ffffff !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}


/* =========================================================
 * REDEFINIR SENHA — ÍCONES SVG
 * Correção exclusiva desta tela.
 * ========================================================= */

.psicoapp-redefinir-senha .psicoapp-paciente-form__icone svg {
    fill: none !important;
    stroke: #38b6ff !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-redefinir-senha .psicoapp-paciente-form__botao svg {
    fill: none !important;
    stroke: #ffffff !important;
    stroke-width: 2 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
 * BOTÃO "IR PARA MINHA ÁREA" — SEM SUBLINHADO
 * ========================================================= */

a.psicoapp-paciente-form__botao,
a.psicoapp-paciente-form__botao:hover,
a.psicoapp-paciente-form__botao:focus,
a.psicoapp-paciente-form__botao:active,
a.psicoapp-paciente-form__botao:visited {
    text-decoration: none !important;
}


/* =========================================================
 * RECUPERAR SENHA — ORIGEM PROFISSIONAL
 * Mantém a tela compartilhada, alterando somente o botão
 * quando o acesso veio do login profissional.
 * ========================================================= */

.psicoapp-recuperar-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao,
.psicoapp-recuperar-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:hover,
.psicoapp-recuperar-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:focus {
    background: #00357a !important;
    background-color: #00357a !important;
}

.psicoapp-recuperar-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:hover,
.psicoapp-recuperar-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 53, 122, 0.22) !important;
}


/* =========================================================
 * REDEFINIR SENHA — ORIGEM PROFISSIONAL
 * Paciente permanece azul-claro.
 * Profissional usa azul-escuro sem troca de cor no hover.
 * ========================================================= */

.psicoapp-redefinir-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao,
.psicoapp-redefinir-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:hover,
.psicoapp-redefinir-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:focus {
    background: #00357a !important;
    background-color: #00357a !important;
    border-color: #00357a !important;
}

.psicoapp-redefinir-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:hover,
.psicoapp-redefinir-senha--profissional
.psicoapp-paciente-form
button.psicoapp-paciente-form__botao:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 53, 122, 0.22) !important;
}

/* =========================================================
 * REDEFINIR SENHA — SUCESSO — ORIGEM PROFISSIONAL
 * Mantém "Entrar na PsicoApp" azul-escuro no hover.
 * ========================================================= */

.psicoapp-redefinir-senha--profissional
a.psicoapp-paciente-form__botao,
.psicoapp-redefinir-senha--profissional
a.psicoapp-paciente-form__botao:hover,
.psicoapp-redefinir-senha--profissional
a.psicoapp-paciente-form__botao:focus {
    background: #00357a !important;
    background-color: #00357a !important;
    border-color: #00357a !important;
}

.psicoapp-redefinir-senha--profissional
a.psicoapp-paciente-form__botao:hover,
.psicoapp-redefinir-senha--profissional
a.psicoapp-paciente-form__botao:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 53, 122, 0.22) !important;
}

