/* =========================================================
   PSICOAPP — CONTA PROFISSIONAL
   Arquivo completo: conta.css
   ========================================================= */

.psicoapp-conta {
    width: 100%;
    max-width: 560px;
    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);
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
    overflow: hidden;
}

.psicoapp-conta,
.psicoapp-conta * {
    box-sizing: border-box;
}


/* =========================================================
   PROTEÇÃO CONTRA CSS GLOBAL DO TEMA / ELEMENTOR
   ========================================================= */

/* Impede SVGs gigantes causados por regras globais */
.psicoapp-conta svg {
    display: block !important;
    max-width: none !important;
    max-height: none !important;
}

/* Remove pseudo-elementos herdados de botões do tema */
.psicoapp-conta button::before,
.psicoapp-conta button::after {
    content: none !important;
    display: none !important;
}


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

.psicoapp-conta__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
}

.psicoapp-conta__logo img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


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

.psicoapp-conta__cabecalho {
    margin-bottom: 30px;
    text-align: center;
}

.psicoapp-conta__cabecalho h2 {
    margin: 0 0 8px;
    color: #00357a;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
}

.psicoapp-conta__cabecalho p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.5;
    font-family: "Nunito", sans-serif;
}


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

.psicoapp-conta__formulario {
    width: 100%;
    margin: 0;
}

.psicoapp-conta__campo {
    width: 100%;
    margin-bottom: 20px;
}

.psicoapp-conta__campo label {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: #0f1c37;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    font-family: "Nunito", sans-serif;
}


/* =========================================================
   CAMPOS COM ÍCONES
   ========================================================= */

.psicoapp-conta__input-wrap {
    position: relative;
    width: 100%;
    min-height: 50px;
}

.psicoapp-conta__input-icone {
    position: absolute !important;
    top: 50% !important;
    left: 15px !important;
    z-index: 2 !important;

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

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

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

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

    overflow: hidden !important;
    pointer-events: none;

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

.psicoapp-conta__input-icone > svg {
    display: block !important;

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

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

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

    fill: #38b6ff !important;
    stroke: none !important;

    flex: 0 0 18px !important;

    transform: none !important;
}

.psicoapp-conta__campo input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;

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

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

    outline: none !important;

    color: #222222 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.2 !important;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.psicoapp-conta__input-wrap--senha input {
    padding-right: 58px !important;
}

.psicoapp-conta__campo input::placeholder {
    color: #98a2b3 !important;
    opacity: 1 !important;
}

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

.psicoapp-conta__campo input:focus {
    background: #ffffff !important;
    border-color: #38b6ff !important;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.12) !important;
}

.psicoapp-conta__campo small {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.4;
    font-family: "Nunito", sans-serif;
}


/* =========================================================
   MOSTRAR / OCULTAR SENHA
   ========================================================= */

.psicoapp-conta .psicoapp-conta__senha-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    z-index: 4 !important;

    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;
    background-image: none !important;

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

    color: #38b6ff !important;

    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;

    cursor: pointer !important;

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

    appearance: none !important;
    -webkit-appearance: none !important;

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

.psicoapp-conta .psicoapp-conta__senha-toggle:hover,
.psicoapp-conta .psicoapp-conta__senha-toggle:focus {
    background: #eef8ff !important;
    color: #38b6ff !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.psicoapp-conta .psicoapp-conta__senha-toggle > svg {
    display: block !important;

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

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

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

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;

    flex: 0 0 21px !important;

    transform: none !important;
}

.psicoapp-conta
.psicoapp-conta__senha-toggle
> .psicoapp-conta__olho--mostrar {
    display: block !important;
}

.psicoapp-conta
.psicoapp-conta__senha-toggle
> .psicoapp-conta__olho--ocultar {
    display: none !important;
}

.psicoapp-conta
.psicoapp-conta__senha-toggle--ativo
> .psicoapp-conta__olho--mostrar {
    display: none !important;
}

.psicoapp-conta
.psicoapp-conta__senha-toggle--ativo
> .psicoapp-conta__olho--ocultar {
    display: block !important;
}


/* =========================================================
   BOTÃO CONTINUAR
   ========================================================= */

.psicoapp-conta__acoes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.psicoapp-conta .psicoapp-conta__botao {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;

    width: auto !important;
    min-width: 145px !important;
    max-width: none !important;

    min-height: 48px !important;

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

    background: #00357a !important;
    background-image: none !important;

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

    color: #ffffff !important;

    cursor: pointer !important;

    font-family: "Nunito", sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: 0 4px 12px rgba(0, 53, 122, 0.14) !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    overflow: hidden !important;

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

.psicoapp-conta .psicoapp-conta__botao span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font: inherit !important;
    line-height: inherit !important;
}

.psicoapp-conta .psicoapp-conta__botao > svg {
    display: block !important;

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

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

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

    fill: #ffffff !important;
    stroke: none !important;

    flex: 0 0 18px !important;

    transform: none !important;
}

.psicoapp-conta .psicoapp-conta__botao:hover {
    background: #00357a !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(0, 53, 122, 0.22) !important;
}

.psicoapp-conta .psicoapp-conta__botao:focus {
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.18) !important;
}


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

.psicoapp-conta-mensagem {
    width: 100%;
    max-width: 560px;
    margin: 20px auto;
    padding: 14px 16px;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.psicoapp-conta .psicoapp-conta-mensagem {
    margin: 0 0 22px;
}

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

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


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

@media (max-width: 767px) {

    .psicoapp-conta {
        margin: 25px auto;
        padding: 26px 20px;
        border-radius: 16px;
    }

    .psicoapp-conta__logo {
        margin-bottom: 8px;
    }

    .psicoapp-conta__logo img {
        width: 145px;
    }

    .psicoapp-conta__cabecalho {
        margin-bottom: 25px;
    }

    .psicoapp-conta__cabecalho h2 {
        font-size: 25px;
    }

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

    .psicoapp-conta__campo input {
        height: 49px !important;
        min-height: 49px !important;
    }

    .psicoapp-conta__acoes {
        width: 100%;
    }

    .psicoapp-conta .psicoapp-conta__botao {
        width: 100% !important;
    }
}