/* =========================================================
   PSICOAPP — ÁREA DO PROFISSIONAL
   Visual padrão PsicoApp
========================================================= */

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

.psicoapp-area {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 72px;
    font-family: "Nunito", Arial, sans-serif;
    color: #0f1c37;
}

.psicoapp-painel {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.psicoapp-painel__lateral {
    position: sticky;
    top: 28px;
    overflow: hidden;
    padding: 22px 14px 14px;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(15, 28, 55, .055);
}

.psicoapp-painel__marca {
    padding: 2px 10px 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e7f1f8;
}

.psicoapp-painel__marca-selo {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef8ff;
    color: #0757ad;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.psicoapp-painel__menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 4px;
}

.psicoapp-painel__menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #315b8d !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.psicoapp-painel__menu-item:hover {
    background: #f4faff;
    border-color: #d8efff;
    color: #00357a !important;
    transform: translateX(1px);
}

.psicoapp-painel__menu-item.is-active {
    background: #eaf6ff;
    border-color: #cceaff;
    color: #00357a !important;
}

.psicoapp-painel__menu-item.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 0 8px 8px 0;
    background: #38b6ff;
}

.psicoapp-painel__menu-icone {
    display: flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f2f8fd;
    color: #38b6ff;
}

.psicoapp-painel__menu-item.is-active .psicoapp-painel__menu-icone {
    background: #ffffff;
    color: #00357a;
}

.psicoapp-painel__menu-icone svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-painel__conteudo {
    min-width: 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(15, 28, 55, .055);
}

.psicoapp-painel__cabecalho {
    margin-bottom: 25px;
    padding-bottom: 23px;
    border-bottom: 1px solid #e7f1f8;
}

.psicoapp-painel__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #38b6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.psicoapp-painel__cabecalho h1 {
    margin: 0;
    color: #00357a;
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.15;
    font-weight: 900;
}

.psicoapp-painel__cabecalho p {
    max-width: 650px;
    margin: 8px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.55;
}

.psicoapp-plano-painel {
    overflow: hidden;
    border: 1px solid #dceefb;
    border-radius: 18px;
    background: #fbfdff;
}

.psicoapp-plano-painel__topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 25px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border-bottom: 1px solid #e2eff8;
}

.psicoapp-plano-painel__rotulo {
    display: block;
    margin-bottom: 5px;
    color: #7b8794;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.psicoapp-plano-painel h2 {
    margin: 0;
    color: #00357a;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
}

.psicoapp-plano-painel__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.psicoapp-plano-painel__status.is-ok {
    background: #eafaf0;
    color: #168653;
}

.psicoapp-plano-painel__status.is-pendente {
    background: #fff6e6;
    color: #a56800;
}

.psicoapp-plano-painel__status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: currentColor;
}

.psicoapp-plano-painel__grade {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e2eff8;
}

.psicoapp-plano-painel__dado {
    min-width: 0;
    padding: 24px 25px;
    background: #ffffff;
}

.psicoapp-plano-painel__dado > span {
    display: block;
    margin-bottom: 7px;
    color: #7b8794;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.psicoapp-plano-painel__dado strong {
    display: block;
    color: #0f1c37;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.psicoapp-plano-painel__dado small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.psicoapp-plano-painel__acao {
    padding: 20px 25px 24px;
    background: #ffffff;
    border-top: 1px solid #e2eff8;
}

.psicoapp-area__botao {
    display: inline-flex;
    min-height: 45px;
    padding: 11px 19px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.psicoapp-area__botao--principal {
    background: #00357a;
    border: 1px solid #00357a;
    color: #ffffff !important;
}

.psicoapp-area__botao--principal:hover {
    background: #38b6ff;
    border-color: #38b6ff;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.psicoapp-area--login {
    display: flex;
    min-height: 500px;
    align-items: center;
    justify-content: center;
}

.psicoapp-area__login-card,
.psicoapp-area__vazio {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 28, 55, .07);
    text-align: center;
}

.psicoapp-area__logo img {
    width: auto;
    max-width: 160px;
    max-height: 58px;
    margin-bottom: 18px;
}

.psicoapp-area__login-card h1,
.psicoapp-area__vazio h2 {
    margin: 0 0 8px;
    color: #00357a;
    font-size: 27px;
    font-weight: 900;
}

.psicoapp-area__login-card p,
.psicoapp-area__vazio p {
    margin: 0 auto 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.psicoapp-area__vazio-icone {
    display: flex;
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    align-items: center;
    justify-content: center;
    background: #eef8ff;
    border-radius: 50%;
    color: #38b6ff;
}

.psicoapp-area__vazio-icone svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-area__mensagem {
    width: min(680px, calc(100% - 32px));
    margin: 40px auto;
    padding: 18px;
    background: #fff4f4;
    border: 1px solid #ffd4d4;
    border-radius: 14px;
    color: #a52b2b;
    font-family: "Nunito", Arial, sans-serif;
    font-weight: 800;
    text-align: center;
}

.psicoapp-painel--editar .psicoapp-painel__conteudo {
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.psicoapp-painel--editar .psicoapp-perfil {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 30px !important;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(15, 28, 55, .055);
}

.psicoapp-painel--editar .psicoapp-perfil__etapa {
    display: none !important;
}

.psicoapp-painel--editar .psicoapp-perfil__cabecalho {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    padding-bottom: 22px;
    border-bottom: 1px solid #e7f1f8;
}

.psicoapp-painel--editar .psicoapp-perfil__titulo-principal h2 {
    color: #00357a !important;
}

.psicoapp-painel--editar .psicoapp-perfil__titulo-icone {
    color: #38b6ff !important;
}

@media (max-width: 900px) {

    .psicoapp-painel {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 18px;
    }

    .psicoapp-painel__conteudo,
    .psicoapp-painel--editar .psicoapp-perfil {
        padding: 24px !important;
    }
}

@media (max-width: 700px) {

    .psicoapp-area {
        width: min(100% - 20px, 1180px);
        margin-top: 22px;
        margin-bottom: 48px;
    }

    .psicoapp-painel {
        display: block;
    }

    .psicoapp-painel__lateral {
        position: static;
        margin-bottom: 14px;
        padding: 12px;
        border-radius: 16px;
    }

    .psicoapp-painel__marca {
        display: none;
    }

    .psicoapp-painel__menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0;
    }

    .psicoapp-painel__menu-item {
        justify-content: center;
        min-height: 46px;
        padding: 9px 8px;
        font-size: 13px;
        text-align: center;
    }

    .psicoapp-painel__menu-item:hover {
        transform: none;
    }

    .psicoapp-painel__menu-item.is-active::before {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: -1px;
        width: auto;
        height: 3px;
        border-radius: 8px 8px 0 0;
    }

    .psicoapp-painel__menu-icone {
        display: none;
    }

    .psicoapp-painel__conteudo,
    .psicoapp-painel--editar .psicoapp-perfil {
        padding: 20px !important;
        border-radius: 18px;
    }

    .psicoapp-painel__cabecalho {
        margin-bottom: 20px;
        padding-bottom: 19px;
    }

    .psicoapp-painel__cabecalho h1 {
        font-size: 26px;
    }

    .psicoapp-plano-painel__topo {
        display: block;
        padding: 20px;
    }

    .psicoapp-plano-painel__status {
        margin-top: 14px;
    }

    .psicoapp-plano-painel__grade {
        grid-template-columns: 1fr;
    }

    .psicoapp-plano-painel__dado {
        padding: 20px;
    }

    .psicoapp-plano-painel__acao {
        padding: 18px 20px 20px;
    }

    .psicoapp-area__login-card,
    .psicoapp-area__vazio {
        padding: 28px 18px;
    }
}

/* =========================================================
   UPGRADE START → PLUS
========================================================= */

.psicoapp-upgrade-plus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 25px;
    background: #f4faff;
    border-top: 1px solid #dceefb;
}

.psicoapp-upgrade-plus__conteudo {
    min-width: 0;
}

.psicoapp-upgrade-plus__selo {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e4f5ff;
    color: #0757ad;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.psicoapp-upgrade-plus h3 {
    margin: 0;
    color: #00357a;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.psicoapp-upgrade-plus p {
    margin: 5px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.psicoapp-upgrade-plus__botao {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 17px;
    align-items: center;
    justify-content: center;
    border: 1px solid #38b6ff;
    border-radius: 12px;
    background: #38b6ff;
    color: #ffffff !important;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.psicoapp-upgrade-plus__botao:hover {
    background: #00357a;
    border-color: #00357a;
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 700px) {

    .psicoapp-upgrade-plus {
        display: block;
        padding: 20px;
    }

    .psicoapp-upgrade-plus__botao {
        width: 100%;
        margin-top: 15px;
    }
}

/* =========================================================
   SAUDAÇÃO
========================================================= */

.psicoapp-painel__ola {
    margin-bottom: 10px;
    color: #315b8d;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}


/* =========================================================
   HOME DO PROFISSIONAL
========================================================= */

.psicoapp-home-profissional__boas-vindas {
    padding-bottom: 25px;
    border-bottom: 1px solid #e7f1f8;
}

.psicoapp-home-profissional__boas-vindas h1 {
    margin: 0;
    color: #00357a;
    font-size: clamp(28px, 3.5vw, 36px);
    line-height: 1.15;
    font-weight: 900;
}

.psicoapp-home-profissional__boas-vindas p {
    max-width: 700px;
    margin: 9px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.psicoapp-home-profissional__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.psicoapp-home-profissional__card {
    padding: 24px;
    background: #fbfdff;
    border: 1px solid #dceefb;
    border-radius: 18px;
}

.psicoapp-home-profissional__icone {
    display: flex;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    background: #eaf6ff;
    border-radius: 12px;
    color: #38b6ff;
}

.psicoapp-home-profissional__icone svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-home-profissional__rotulo {
    display: block;
    margin-bottom: 5px;
    color: #7b8794;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.psicoapp-home-profissional__card h2 {
    margin: 0 0 13px;
    color: #00357a;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.psicoapp-home-profissional__status {
    display: inline-flex;
    min-height: 29px;
    padding: 6px 10px;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.psicoapp-home-profissional__status.is-ok {
    background: #eafaf0;
    color: #168653;
}

.psicoapp-home-profissional__status.is-pendente {
    background: #fff6e6;
    color: #a56800;
}

.psicoapp-home-profissional__link {
    display: flex;
    width: fit-content;
    margin-top: 22px;
    align-items: center;
    gap: 8px;
    color: #0757ad !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;
}

.psicoapp-home-profissional__link:hover {
    color: #38b6ff !important;
}


/* Botão do checkout no lado direito */
.psicoapp-plano-painel__acao {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


@media (max-width: 700px) {

    .psicoapp-home-profissional__cards {
        grid-template-columns: 1fr;
    }

    .psicoapp-home-profissional__card {
        padding: 20px;
    }

    .psicoapp-painel__menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .psicoapp-painel__menu-item {
        min-width: 0;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;
    }

    .psicoapp-plano-painel__acao .psicoapp-area__botao {
        width: 100%;
    }
}

/* =========================================================
   DIVULGAÇÃO — 3 TEMPLATES
========================================================= */

.psicoapp-painel--divulgacao .psicoapp-painel__conteudo {
    overflow: visible;
}

.psicoapp-divulgacao__aviso {
    margin: 0 0 22px;
    padding: 14px 16px;
    background: #fff8e9;
    border: 1px solid #f7dc9c;
    border-radius: 12px;
    color: #8c6200;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.psicoapp-divulgacao-lista {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.psicoapp-divulgacao-template {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 28, 55, .06);
}

.psicoapp-divulgacao-template__topo {
    padding: 20px 22px 0;
}

.psicoapp-divulgacao-template__numero {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 5px 9px;
    background: #eef8ff;
    border-radius: 999px;
    color: #38b6ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.psicoapp-divulgacao-template__topo h2 {
    margin: 0 0 18px;
    color: #00357a;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.psicoapp-divulgacao-template__preview {
    width: min(100% - 40px, 690px);
    margin: 0 auto;
    padding: 10px;
    background: #f7fbff;
    border: 1px solid #d8efff;
    border-radius: 18px;
}

.psicoapp-divulgacao-template__preview canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 13px;
}

.psicoapp-divulgacao-template__config {
    margin: 18px 20px 0;
    padding: 18px;
    background: #f9fcff;
    border: 1px solid #e1f0fa;
    border-radius: 16px;
}

.psicoapp-divulgacao-foto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid #e3eff7;
}

.psicoapp-divulgacao-foto__texto {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.psicoapp-divulgacao-foto__texto strong {
    color: #00357a;
    font-size: 14px;
    font-weight: 900;
}

.psicoapp-divulgacao-foto__texto span {
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
}

.psicoapp-divulgacao-foto__anexar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #b9e4ff;
    border-radius: 11px;
    color: #0757ad;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.psicoapp-divulgacao-foto__anexar:hover {
    background: #eef8ff;
    border-color: #38b6ff;
}

.psicoapp-divulgacao-foto__anexar svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-divulgacao-foto__input {
    display: none !important;
}

.psicoapp-divulgacao-foto__origem {
    grid-column: 1 / -1;
    color: #7b8794;
    font-size: 11px;
    line-height: 1.4;
}

.psicoapp-divulgacao-controles {
    display: grid;
    grid-template-columns: .8fr 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.psicoapp-divulgacao-controles__grupo {
    min-width: 0;
}

.psicoapp-divulgacao-controles__grupo + .psicoapp-divulgacao-controles__grupo {
    padding-left: 18px;
    border-left: 1px solid #e0edf6;
}

.psicoapp-divulgacao-controles__rotulo {
    display: block;
    margin-bottom: 10px;
    color: #315b8d;
    font-size: 12px;
    font-weight: 900;
}

.psicoapp-divulgacao-controles__zoom {
    display: grid;
    grid-template-columns: 42px minmax(58px, 1fr) 42px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cfe7f7;
    border-radius: 10px;
    background: #ffffff;
}

.psicoapp-divulgacao-controles__zoom button,
.psicoapp-divulgacao-controles__setas button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 7px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #00357a !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.psicoapp-divulgacao-controles__zoom button:hover,
.psicoapp-divulgacao-controles__setas button:hover {
    background: #eef8ff !important;
}

.psicoapp-divulgacao-controles__zoom strong {
    color: #00357a;
    font-size: 12px;
    text-align: center;
}

.psicoapp-divulgacao-controles__setas {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    gap: 5px;
    justify-content: start;
}

.psicoapp-divulgacao-controles__setas button {
    border: 1px solid #cfe7f7 !important;
}

.psicoapp-divulgacao-controles__centralizar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    width: 100% !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 12px !important;
    background: #ffffff !important;
    border: 1px solid #b9e4ff !important;
    border-radius: 10px !important;
    color: #0757ad !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.psicoapp-divulgacao-controles__centralizar:hover {
    background: #eef8ff !important;
    border-color: #38b6ff !important;
}

.psicoapp-divulgacao-template__acoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 20px 22px;
}

.psicoapp-divulgacao-template__botao {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border-radius: 12px !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    cursor: pointer;
    transition: .18s ease;
}

.psicoapp-divulgacao-template__botao span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psicoapp-divulgacao-template__botao svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-divulgacao-template__botao--compartilhar {
    background: #00357a !important;
    border: 1px solid #00357a !important;
    color: #ffffff !important;
}

.psicoapp-divulgacao-template__botao--compartilhar:hover {
    background: #00357a !important;
    border-color: #00357a !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 17px rgba(0, 53, 122, 0.22);
}

.psicoapp-divulgacao-template__botao--baixar {
    background: #ffffff !important;
    border: 1px solid #38b6ff !important;
    color: #0757ad !important;
}

.psicoapp-divulgacao-template__botao--baixar:hover {
    background: #ffffff !important;
    border-color: #38b6ff !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 17px rgba(0, 53, 122, 0.14);
}

.psicoapp-divulgacao-privacidade {
    margin: 18px auto 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
   MOBILE — DIVULGAÇÃO
========================================================= */

@media (max-width: 700px) {

    .psicoapp-divulgacao-lista {
        gap: 20px;
    }

    .psicoapp-divulgacao-template__topo {
        padding: 17px 15px 0;
    }

    .psicoapp-divulgacao-template__preview {
        width: calc(100% - 24px);
        padding: 7px;
        border-radius: 14px;
    }

    .psicoapp-divulgacao-template__config {
        margin: 13px 12px 0;
        padding: 14px;
    }

    .psicoapp-divulgacao-foto {
        grid-template-columns: 1fr;
    }

    .psicoapp-divulgacao-foto__anexar {
        width: 100%;
    }

    .psicoapp-divulgacao-controles {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .psicoapp-divulgacao-controles__grupo + .psicoapp-divulgacao-controles__grupo {
        padding-left: 0;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid #e0edf6;
    }

    .psicoapp-divulgacao-controles__setas {
        justify-content: center;
    }

    .psicoapp-divulgacao-template__acoes {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 15px 12px 17px;
    }

    /*
     * Quatro opções no menu lateral.
     */
    .psicoapp-painel__menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   DIVULGAÇÃO — PREVIEW À ESQUERDA / CONTROLES À DIREITA
========================================================= */

@media (min-width: 901px) {

    .psicoapp-divulgacao-template {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(285px, .8fr);
        column-gap: 18px;
        align-items: start;
        padding: 20px;
    }

    .psicoapp-divulgacao-template__topo {
        grid-column: 1 / -1;
        padding: 0 0 16px;
    }

    .psicoapp-divulgacao-template__topo h2 {
        margin-bottom: 0;
    }

    .psicoapp-divulgacao-template__preview {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 10px;
        align-self: start;
    }

    .psicoapp-divulgacao-template__config {
        grid-column: 2;
        grid-row: 2;
        height: 100%;
        margin: 0;
        padding: 18px;
        align-self: stretch;
    }

    .psicoapp-divulgacao-foto {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .psicoapp-divulgacao-foto__anexar {
        width: 100%;
    }

    .psicoapp-divulgacao-controles {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 17px;
    }

    .psicoapp-divulgacao-controles__grupo + .psicoapp-divulgacao-controles__grupo {
        padding-top: 15px;
        padding-left: 0;
        border-top: 1px solid #e0edf6;
        border-left: 0;
    }

    .psicoapp-divulgacao-controles__setas {
        justify-content: center;
    }

    .psicoapp-divulgacao-controles__centralizar {
        width: 100% !important;
    }

    .psicoapp-divulgacao-template__acoes {
        grid-column: 1 / -1;
        grid-row: 3;
        padding: 18px 0 0;
    }
}


/* Mantém tudo empilhado quando a largura não comporta duas colunas */
@media (min-width: 701px) and (max-width: 900px) {

    .psicoapp-divulgacao-template__preview {
        width: calc(100% - 40px);
    }

    .psicoapp-divulgacao-controles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   DIVULGAÇÃO — BOTÕES LOGO ABAIXO DO TEMPLATE
   Desktop: preview + botões à esquerda / controles à direita
========================================================= */

@media (min-width: 901px) {

    .psicoapp-divulgacao-template {
        grid-template-rows: auto auto auto;
    }

    /*
     * A caixa de controles continua na coluna direita,
     * mas deixa de determinar a altura da linha do preview.
     */
    .psicoapp-divulgacao-template__config {
        grid-column: 2;
        grid-row: 2 / span 2;
        height: auto;
        align-self: start;
    }

    /*
     * Os botões passam para a coluna da imagem e ficam
     * imediatamente abaixo dela.
     */
    .psicoapp-divulgacao-template__acoes {
        grid-column: 1;
        grid-row: 3;
        padding: 12px 0 0;
        align-self: start;
    }
}



/* =========================================================
   DIVULGAÇÃO — AJUSTE FINAL DOS CONTROLES
   Remove o espaço extra e mantém os botões junto ao preview.
========================================================= */

@media (min-width: 901px) {

    .psicoapp-divulgacao-template__config {
        height: auto !important;
        min-height: 0 !important;
        align-self: start !important;
    }

    .psicoapp-divulgacao-controles {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-top: 17px !important;
    }

    .psicoapp-divulgacao-controles__grupo {
        padding-bottom: 0 !important;
    }

    .psicoapp-divulgacao-controles__grupo + .psicoapp-divulgacao-controles__grupo {
        padding-top: 14px !important;
        padding-left: 0 !important;
        border-top: 1px solid #e0edf6 !important;
        border-left: 0 !important;
    }

    .psicoapp-divulgacao-template__acoes {
        grid-column: 1 !important;
        grid-row: 3 !important;
        margin-top: 0 !important;
        padding: 12px 0 0 !important;
        align-self: start !important;
    }
}


/* =========================================================
   DIVULGAÇÃO — CONVITE PARA MARCAR A PSICOAPP
========================================================= */

.psicoapp-divulgacao-repost {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 24px 0 0;
    padding: 17px 18px;
    background: #eef8ff;
    border: 1px solid #b9e4ff;
    border-radius: 15px;
}

.psicoapp-divulgacao-repost__icone {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 12px;
    color: #38b6ff;
}

.psicoapp-divulgacao-repost__icone svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-divulgacao-repost__texto {
    min-width: 0;
}

.psicoapp-divulgacao-repost__texto strong {
    display: block;
    margin: 1px 0 4px;
    color: #00357a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.psicoapp-divulgacao-repost__texto p {
    margin: 0;
    color: #52677f;
    font-size: 13px;
    line-height: 1.55;
}

.psicoapp-divulgacao-repost__texto b {
    color: #0757ad;
    font-weight: 900;
}

@media (max-width: 700px) {

    .psicoapp-divulgacao-repost {
        gap: 11px;
        margin-top: 18px;
        padding: 14px;
    }

    .psicoapp-divulgacao-repost__icone {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .psicoapp-divulgacao-repost__texto strong {
        font-size: 14px;
    }

    .psicoapp-divulgacao-repost__texto p {
        font-size: 12px;
    }
}

/* =========================================================
   SEGURANÇA E ACESSO
========================================================= */

.psicoapp-painel--seguranca .psicoapp-painel__conteudo {
    overflow: visible;
}

.psicoapp-seguranca-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 20px;
    align-items: start;
}

.psicoapp-seguranca-card {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #d8efff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 28, 55, .055);
}

.psicoapp-seguranca-card__cabecalho {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.psicoapp-seguranca-card__icone {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #eef8ff;
    border-radius: 13px;
    color: #38b6ff;
}

.psicoapp-seguranca-card__icone svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-seguranca-card__rotulo {
    display: block;
    margin-bottom: 2px;
    color: #38b6ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.psicoapp-seguranca-card__cabecalho h2 {
    margin: 0;
    color: #00357a;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.psicoapp-seguranca-email {
    padding: 16px;
    background: #f8fcff;
    border: 1px solid #d8efff;
    border-radius: 13px;
}

.psicoapp-seguranca-email span {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.psicoapp-seguranca-email strong {
    display: block;
    overflow-wrap: anywhere;
    color: #0f1c37;
    font-size: 15px;
    font-weight: 900;
}

.psicoapp-seguranca-card__nota {
    margin: 12px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

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

.psicoapp-seguranca-campo {
    margin-bottom: 16px;
}

.psicoapp-seguranca-campo label {
    display: block;
    margin-bottom: 7px;
    color: #0f1c37;
    font-size: 13px;
    font-weight: 900;
}

.psicoapp-seguranca-senha-wrap {
    position: relative;
}

.psicoapp-seguranca-senha-wrap input {
    display: block;
    width: 100%;
    height: 49px;
    padding: 0 50px 0 14px !important;
    background: #ffffff !important;
    border: 1px solid #cfe7f7 !important;
    border-radius: 11px !important;
    color: #0f1c37 !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
}

.psicoapp-seguranca-senha-wrap input:focus {
    border-color: #38b6ff !important;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, .12) !important;
}

.psicoapp-seguranca-senha-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !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;
    transform: translateY(-50%);
}

.psicoapp-seguranca-senha-toggle:hover,
.psicoapp-seguranca-senha-toggle.is-active {
    background: #eef8ff !important;
}

.psicoapp-seguranca-senha-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-seguranca-campo small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 11px;
}

.psicoapp-seguranca-form__aviso {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 13px;
    background: #f5faff;
    border: 1px solid #d8efff;
    border-radius: 11px;
}

.psicoapp-seguranca-form__aviso > span {
    display: flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    color: #38b6ff;
}

.psicoapp-seguranca-form__aviso svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-seguranca-form__aviso p {
    margin: 0;
    color: #52677f;
    font-size: 11px;
    line-height: 1.5;
}

.psicoapp-seguranca-form__acoes {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.psicoapp-seguranca__botao {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 20px !important;
    border-radius: 11px !important;
    font-family: "Nunito", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: .18s ease;
}

.psicoapp-seguranca__botao--principal {
    background: #00357a !important;
    border: 1px solid #00357a !important;
    color: #ffffff !important;
}

.psicoapp-seguranca__botao--principal:hover {
    background: #00357a !important;
    border-color: #00357a !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 17px rgba(0, 53, 122, 0.22);
}

.psicoapp-seguranca-mensagem {
    margin: 0 0 18px;
    padding: 13px 15px;
    border-radius: 12px;
}

.psicoapp-seguranca-mensagem p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.psicoapp-seguranca-mensagem p + p {
    margin-top: 5px;
}

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

.psicoapp-seguranca-sucesso {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f3fbf7;
    border: 1px solid #bde8cf;
    border-radius: 18px;
}

.psicoapp-seguranca-sucesso__icone {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    color: #1e9b57;
}

.psicoapp-seguranca-sucesso__icone svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-seguranca-sucesso h2 {
    margin: 0 0 5px;
    color: #0f1c37;
    font-size: 21px;
    font-weight: 900;
}

.psicoapp-seguranca-sucesso p {
    margin: 0 0 16px;
    color: #52677f;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 900px) {

    .psicoapp-seguranca-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .psicoapp-seguranca-card {
        padding: 17px;
        border-radius: 15px;
    }

    .psicoapp-seguranca-form__acoes {
        width: 100%;
    }

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

    .psicoapp-seguranca-sucesso {
        flex-direction: column;
        padding: 19px;
    }
}

/* =========================================================
   PSICOAPP — SELO DO PROFISSIONAL CENTRALIZADO
   Única alteração: centraliza o selo dentro da área da marca.
   ========================================================= */
.psicoapp-painel__marca {
    text-align: center;
}

.psicoapp-painel__marca-selo {
    justify-content: center;
}

