/* =========================================================
   PSICOAPP PROFISSIONAIS — PERFIL PROFISSIONAL
========================================================= */

.psicoapp-perfil {
    width: 100%;
    max-width: 820px;
    margin: 40px auto;
    padding: 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;
}

.psicoapp-perfil *,
.psicoapp-perfil *::before,
.psicoapp-perfil *::after {
    box-sizing: border-box;
}

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

/* CABEÇALHO */

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

.psicoapp-perfil__titulo-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-bottom: 7px;
}

.psicoapp-perfil__titulo-principal h2 {
    margin: 0;
    color: #0f1c37;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.psicoapp-perfil__titulo-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: #eef8ff;
    border: 1px solid #c7eaff;
    border-radius: 12px;
    color: #38b6ff;
}

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

.psicoapp-perfil__cabecalho p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.5;
}

/* ESTRUTURA */

.psicoapp-perfil__formulario {
    width: 100%;
}

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

.psicoapp-perfil__campo {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
}

.psicoapp-perfil__campo > label,
.psicoapp-perfil__titulo-linha > label {
    display: block;
    margin: 0 0 7px;
    color: #0f1c37;
    font-size: 14px;
    font-weight: 800;
}

.psicoapp-perfil__titulo-linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.psicoapp-perfil__titulo-linha > label {
    margin: 0;
}

.psicoapp-perfil__titulo-linha > span {
    color: #38b6ff;
    font-size: 12px;
    font-weight: 700;
}

/* CAMPOS */

.psicoapp-perfil input[type="text"],
.psicoapp-perfil input[type="email"],
.psicoapp-perfil input[type="tel"],
.psicoapp-perfil input[type="number"],
.psicoapp-perfil textarea,
.psicoapp-perfil select {
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid #cfe7f7 !important;
    border-radius: 12px !important;
    outline: none !important;
    color: #0f1c37 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 15px !important;
    box-shadow: none !important;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.psicoapp-perfil input[type="text"],
.psicoapp-perfil input[type="email"],
.psicoapp-perfil input[type="tel"],
.psicoapp-perfil input[type="number"],
.psicoapp-perfil select {
    height: 50px;
    padding: 0 15px 0 48px !important;
    background-repeat: no-repeat !important;
    background-position: 16px center !important;
    background-size: 19px 19px !important;
}

.psicoapp-perfil textarea {
    min-height: 190px;
    padding: 15px !important;
    resize: vertical;
}

.psicoapp-perfil input::placeholder,
.psicoapp-perfil textarea::placeholder {
    color: #98a2b3;
}

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

/* ÍCONES PADRONIZADOS */

#psicoapp_crp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h8M8 15h5'/%3E%3C/svg%3E") !important;
}

#psicoapp_valor {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8.5c-.8-.7-1.9-1-3.1-1-1.7 0-3 .8-3 2 0 3 6 1.5 6 4.5 0 1.3-1.3 2.2-3.2 2.2-1.4 0-2.7-.4-3.7-1.2M12 5.8v12.4'/%3E%3C/svg%3E") !important;
}

#psicoapp_whatsapp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.8 7L4 20l1.5-4.1A8 8 0 1 1 20 11.5Z'/%3E%3Cpath d='M9.2 8.8c.3 2.1 1.9 3.8 4 4.4'/%3E%3C/svg%3E") !important;
}

#psicoapp_telefone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b6ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3l1.5 4-2 1.5a16 16 0 0 0 7 7l1.5-2L20 16v3a2 2 0 0 1-2 2C10.3 20.5 3.5 13.7 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E") !important;
}

/* ABORDAGEM — LIVRO */

.psicoapp-perfil__input-com-icone {
    position: relative;
}

.psicoapp-perfil__input-com-icone input {
    padding-left: 48px !important;
}

.psicoapp-perfil__input-icone {
    position: absolute;
    z-index: 2;
    left: 16px;
    top: 50%;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: #38b6ff;
    pointer-events: none;
    transform: translateY(-50%);
}

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

/* FOTO — MESMO TAMANHO DA ABORDAGEM */

.psicoapp-perfil__arquivo-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.psicoapp-perfil__arquivo-campo {
    display: flex !important;
    width: 100%;
    height: 50px;
    margin: 0 !important;
    padding: 0 14px !important;
    align-items: center;
    gap: 11px;
    background: #ffffff;
    border: 1px solid #cfe7f7;
    border-radius: 12px;
    color: #0f1c37 !important;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.psicoapp-perfil__arquivo-campo:hover {
    border-color: #38b6ff;
}

.psicoapp-perfil__arquivo-icone {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef8ff;
    border-radius: 8px;
    color: #38b6ff;
}

.psicoapp-perfil__arquivo-placeholder {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.psicoapp-perfil__arquivo-placeholder svg,
.psicoapp-perfil__arquivo-seta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-perfil__arquivo-preview {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.psicoapp-perfil__arquivo-texto {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    line-height: 1.15;
}

.psicoapp-perfil__arquivo-texto strong {
    max-width: 100%;
    overflow: hidden;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psicoapp-perfil__arquivo-texto small {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 600;
}

.psicoapp-perfil__arquivo-seta {
    display: inline-flex;
    flex: 0 0 20px;
    color: #38b6ff;
}

/* MULTISSELEÇÃO */

.psicoapp-selecao__cabecalho {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.psicoapp-selecao__titulo {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #0f1c37 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.psicoapp-selecao__titulo-icone {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    background: #eef8ff;
    border: 1px solid #c7eaff;
    border-radius: 8px;
    color: #38b6ff;
}

.psicoapp-selecao__titulo-icone svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-selecao__subtitulo {
    margin: 2px 0 0 36px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.psicoapp-selecao__limite {
    flex: 0 0 auto;
    padding: 5px 9px;
    background: #eef8ff;
    border: 1px solid #c7eaff;
    border-radius: 999px;
    color: #0067b8;
    font-size: 11px;
    font-weight: 800;
}

.psicoapp-multiselect {
    position: relative;
    z-index: 10;
}

.psicoapp-multiselect--aberto {
    z-index: 50;
}

.psicoapp-multiselect__controle {
    display: flex;
    width: 100%;
    min-height: 54px;
    padding: 8px 42px 8px 12px;
    align-items: center;
    gap: 7px;
    background: #f8fcff;
    border: 1px solid #cfe7f7;
    border-radius: 12px;
    color: #0f1c37;
    cursor: pointer;
    font-family: "Nunito", sans-serif;
    text-align: left;
    position: relative;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.psicoapp-multiselect--aberto .psicoapp-multiselect__controle {
    border-color: #38b6ff;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, .10);
}

.psicoapp-multiselect__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.psicoapp-multiselect__placeholder {
    color: #98a2b3;
    font-size: 14px;
}

.psicoapp-multiselect__chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 4px 8px 4px 10px;
    background: #eef8ff;
    border: 1px solid #a8ddff;
    border-radius: 999px;
    color: #00569b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.psicoapp-multiselect__chip-remover {
    display: inline-flex;
    width: 17px;
    height: 17px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50%;
    color: #3e78a3 !important;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.psicoapp-multiselect__chip-remover:hover {
    background: rgba(56, 182, 255, .12) !important;
}

.psicoapp-multiselect__seta {
    position: absolute;
    right: 14px;
    top: 50%;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: #0067b8;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.psicoapp-multiselect--aberto .psicoapp-multiselect__seta {
    transform: translateY(-50%) rotate(180deg);
}

.psicoapp-multiselect__seta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.psicoapp-multiselect__menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: none;
    max-height: 270px;
    overflow-y: auto;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #cfe7f7;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 28, 55, .12);
}

.psicoapp-multiselect--aberto .psicoapp-multiselect__menu {
    display: block;
}

.psicoapp-multiselect__opcao {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 0 !important;
    padding: 8px 9px;
    border-radius: 9px;
    color: #334155 !important;
    cursor: pointer;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.psicoapp-multiselect__opcao:hover {
    background: #f2f9ff;
}

.psicoapp-multiselect__opcao input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.psicoapp-multiselect__check {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: #ffffff;
    border: 1.5px solid #72c8fa;
    border-radius: 5px;
}

.psicoapp-multiselect__opcao input:checked + .psicoapp-multiselect__check {
    background: #38b6ff;
    border-color: #38b6ff;
}

.psicoapp-multiselect__opcao input:checked + .psicoapp-multiselect__check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.psicoapp-multiselect__opcao:has(input:disabled) {
    opacity: .45;
    cursor: not-allowed;
}

/* CONTADORES */

.psicoapp-perfil__contador {
    margin-top: 7px;
    text-align: right;
    color: #38b6ff;
    font-size: 12px;
    font-weight: 700;
}

/* BOTÃO */

.psicoapp-perfil__botao {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 250px;
    margin: 10px 0 0 auto !important;
    padding: 14px 22px !important;
    background: #00357a !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    cursor: pointer;
    font-family: "Nunito", sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 14px rgba(0, 53, 122, .16);
    transition:
        background .2s ease,
        transform .2s ease;
}

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

/* MENSAGENS */

.psicoapp-perfil-mensagem {
    width: 100%;
    max-width: 820px;
    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-perfil-mensagem--erro {
    background: #fff5f5;
    border: 1px solid #ffc7c7;
    color: #9b1c1c;
}

.psicoapp-perfil-mensagem--sucesso {
    background: #f2fbff;
    border: 1px solid #b9e4ff;
    color: #00357a;
}

/* MOBILE */

@media (max-width: 767px) {

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

    .psicoapp-perfil__titulo-principal h2 {
        font-size: 24px;
    }

    .psicoapp-perfil__titulo-icone {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .psicoapp-perfil__linha {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .psicoapp-selecao__cabecalho {
        gap: 8px;
    }

    .psicoapp-selecao__subtitulo {
        margin-left: 36px;
    }

    .psicoapp-multiselect__controle {
        min-height: 52px;
    }

    .psicoapp-perfil__arquivo-campo {
        height: 52px;
    }

    .psicoapp-perfil__botao {
        width: 100% !important;
        min-width: 0;
    }

    .psicoapp-perfil__titulo-linha {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}


/* =========================================================
   PÚBLICOS ATENDIDOS + ESPECIALIDADES
   Padrão 50/50 igual ao formulário anterior da PsicoApp
========================================================= */

.psicoapp-perfil__linha--selecoes {
    align-items: stretch;
    gap: 18px;
    margin-top: 2px;
}

.psicoapp-selecao-card {
    position: relative;
    min-width: 0;
    margin-bottom: 20px !important;
    padding: 16px;
    background: #f7fbff;
    border: 1px solid #cfe7f7;
    border-radius: 18px;
}

.psicoapp-selecao-card .psicoapp-selecao__cabecalho {
    min-height: 48px;
    margin-bottom: 12px;
}

.psicoapp-selecao-card .psicoapp-selecao__titulo {
    gap: 7px;
    font-size: 14px !important;
}

.psicoapp-selecao-card .psicoapp-selecao__titulo-icone {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    background: #eef8ff;
    border-color: #c7eaff;
    border-radius: 8px;
}

.psicoapp-selecao-card .psicoapp-selecao__titulo-icone svg {
    width: 15px;
    height: 15px;
}

.psicoapp-selecao-card .psicoapp-selecao__subtitulo {
    margin: 2px 0 0 33px;
    color: #667085;
    font-size: 11px;
}

.psicoapp-selecao-card .psicoapp-selecao__limite {
    margin-top: 1px;
    padding: 5px 8px;
    background: #eef8ff;
    border-color: #c7eaff;
    color: #0067b8;
    font-size: 10px;
    white-space: nowrap;
}

/* Controle igual ao print: caixa interna ocupando toda a largura */
.psicoapp-selecao-card .psicoapp-multiselect__controle {
    width: 100%;
    min-height: 54px;
    padding: 8px 40px 8px 10px;
    background: #ffffff;
    border: 1px solid #bfe0f5;
    border-radius: 14px;
    outline: none !important;
    box-shadow: none !important;
}

.psicoapp-selecao-card .psicoapp-multiselect__controle:focus,
.psicoapp-selecao-card .psicoapp-multiselect__controle:focus-visible {
    border-color: #38b6ff;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, .10) !important;
}

.psicoapp-selecao-card .psicoapp-multiselect--aberto
.psicoapp-multiselect__controle {
    border-color: #38b6ff;
}

/* Chips menores para caberem bem nos cards 50/50 */
.psicoapp-selecao-card .psicoapp-multiselect__chips {
    max-width: 100%;
    gap: 5px;
}

.psicoapp-selecao-card .psicoapp-multiselect__chip {
    max-width: 100%;
    min-height: 28px;
    padding: 4px 7px 4px 9px;
    background: #eef8ff;
    border-color: #a8ddff;
    font-size: 11px;
}

.psicoapp-selecao-card .psicoapp-multiselect__chip > span:first-child {
    max-width: 175px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.psicoapp-selecao-card .psicoapp-multiselect__chip-remover {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.psicoapp-selecao-card .psicoapp-multiselect__placeholder {
    color: #98a2b3;
    font-size: 12px;
}

.psicoapp-selecao-card .psicoapp-multiselect__menu {
    z-index: 100;
    max-height: 250px;
}

/* Evita qualquer borda vermelha nativa do navegador no componente customizado */
.psicoapp-selecao-card button:invalid,
.psicoapp-selecao-card button:user-invalid,
.psicoapp-selecao-card .psicoapp-multiselect__controle:invalid {
    border-color: #bfe0f5 !important;
    box-shadow: none !important;
}

/* Máscaras */
#psicoapp_crp,
#psicoapp_whatsapp,
#psicoapp_telefone,
#psicoapp_valor {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {

    .psicoapp-perfil__linha--selecoes {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .psicoapp-selecao-card .psicoapp-multiselect__chip > span:first-child {
        max-width: 210px;
    }
}


/* =========================================================
   ACABAMENTO FINAL — CAMPOS / HOVERS / CHIPS / BOTÃO
========================================================= */

/* Todos os campos principais com a mesma altura padrão */
.psicoapp-perfil input[type="text"],
.psicoapp-perfil input[type="email"],
.psicoapp-perfil input[type="tel"],
.psicoapp-perfil input[type="number"],
.psicoapp-perfil select,
.psicoapp-perfil__arquivo-campo,
.psicoapp-multiselect__controle {
    min-height: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
}

/* Multiselect: mantém branco em todos os estados */
.psicoapp-selecao-card .psicoapp-multiselect__controle,
.psicoapp-selecao-card .psicoapp-multiselect__controle:hover,
.psicoapp-selecao-card .psicoapp-multiselect__controle:focus,
.psicoapp-selecao-card .psicoapp-multiselect__controle:active,
.psicoapp-selecao-card .psicoapp-multiselect--aberto .psicoapp-multiselect__controle {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f1c37 !important;
    border-color: #bfe0f5 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Hover azul claro, nunca vermelho */
.psicoapp-selecao-card .psicoapp-multiselect__controle:hover {
    border-color: #38b6ff !important;
}

/* Remove qualquer estilo global do tema/Elementor em botões do multiselect */
.psicoapp-multiselect button,
.psicoapp-multiselect button:hover,
.psicoapp-multiselect button:focus,
.psicoapp-multiselect button:active {
    background-image: none !important;
    text-decoration: none !important;
}

/* Controle ocupa exatamente a largura do card */
.psicoapp-selecao-card .psicoapp-multiselect,
.psicoapp-selecao-card .psicoapp-multiselect__controle {
    width: 100% !important;
}

/* Chips com altura visual padronizada */
.psicoapp-selecao-card .psicoapp-multiselect__chip {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 7px 0 10px !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* X centralizado perfeitamente */
.psicoapp-multiselect__chip-remover,
.psicoapp-multiselect__chip-remover:hover,
.psicoapp-multiselect__chip-remover:focus,
.psicoapp-multiselect__chip-remover:active {
    display: inline-flex !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #4e86ad !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-shadow: none !important;
    transform: none !important;
}

.psicoapp-multiselect__chip-remover:hover {
    background: #dff3ff !important;
    color: #00357a !important;
}

/* Seta centralizada à direita */
.psicoapp-multiselect__seta {
    right: 13px !important;
}

/* =========================================================
   WHATSAPP — ÍCONE ORIGINAL/RECONHECÍVEL EM AZUL PSICOAPP
========================================================= */

#psicoapp_whatsapp {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2338b6ff'%3E%3Cpath d='M12.04 2C6.52 2 2.04 6.47 2.04 11.98c0 1.76.46 3.48 1.33 4.99L2 22l5.16-1.35a10 10 0 0 0 4.88 1.25h.01c5.51 0 9.99-4.48 9.99-9.99C22.04 6.48 17.56 2 12.04 2Zm0 18.21h-.01a8.27 8.27 0 0 1-4.21-1.15l-.3-.18-3.06.8.82-2.98-.2-.31a8.2 8.2 0 0 1-1.26-4.41 8.22 8.22 0 1 1 8.22 8.23Zm4.51-6.16c-.25-.12-1.46-.72-1.69-.8-.23-.08-.4-.12-.57.12-.17.25-.65.8-.8.97-.15.17-.3.19-.55.06-.25-.12-1.05-.39-2-1.24-.74-.66-1.24-1.48-1.38-1.73-.15-.25-.02-.38.11-.5.11-.11.25-.3.37-.45.12-.15.17-.25.25-.42.08-.17.04-.31-.02-.43-.06-.12-.57-1.37-.78-1.88-.21-.5-.42-.43-.57-.44h-.49c-.17 0-.43.06-.66.31-.23.25-.87.85-.87 2.08s.89 2.42 1.02 2.59c.12.17 1.76 2.69 4.27 3.77.6.26 1.06.41 1.42.52.6.19 1.14.16 1.57.1.48-.07 1.46-.6 1.67-1.18.21-.58.21-1.08.15-1.18-.06-.1-.23-.16-.48-.28Z'/%3E%3C/svg%3E") !important;
    background-size: 19px 19px !important;
}

/* =========================================================
   BOTÃO FINAL CENTRALIZADO
========================================================= */

.psicoapp-perfil__botao {
    width: auto !important;
    min-width: 340px !important;
    max-width: 100%;
    margin: 16px auto 0 !important;
    padding: 14px 24px !important;
    text-align: center !important;
}

/* Evita hover vermelho herdado do tema */
.psicoapp-perfil__botao:hover,
.psicoapp-perfil__botao:focus,
.psicoapp-perfil__botao:active {
    background: #00357a !important;
    background-color: #00357a !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

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

@media (max-width: 767px) {

    .psicoapp-perfil__botao {
        width: 100% !important;
        min-width: 0 !important;
    }

    .psicoapp-perfil input[type="text"],
    .psicoapp-perfil input[type="email"],
    .psicoapp-perfil input[type="tel"],
    .psicoapp-perfil input[type="number"],
    .psicoapp-perfil select,
    .psicoapp-perfil__arquivo-campo,
    .psicoapp-multiselect__controle {
        min-height: 50px !important;
        height: 50px !important;
    }
}


/* =========================================================
   MULTISSELEÇÃO — CHIPS SEMPRE DENTRO DA CAIXA
========================================================= */

/* Remove altura fixa somente dos dois campos de multiseleção */
.psicoapp-selecao-card .psicoapp-multiselect__controle,
.psicoapp-selecao-card .psicoapp-multiselect__controle:hover,
.psicoapp-selecao-card .psicoapp-multiselect__controle:focus,
.psicoapp-selecao-card .psicoapp-multiselect__controle:active,
.psicoapp-selecao-card .psicoapp-multiselect--aberto .psicoapp-multiselect__controle {
    height: auto !important;
    min-height: 50px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    align-items: center !important;
    overflow: hidden !important;
}

/* Área de chips ocupa o espaço disponível e quebra linha dentro da caixa */
.psicoapp-selecao-card .psicoapp-multiselect__chips {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 22px) !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: hidden !important;
}

/* Chip nunca ultrapassa a largura do campo */
.psicoapp-selecao-card .psicoapp-multiselect__chip {
    max-width: 100% !important;
    flex: 0 1 auto !important;
}

/* Mantém a seta fixa à direita sem empurrar os chips para fora */
.psicoapp-selecao-card .psicoapp-multiselect__seta {
    position: absolute !important;
    right: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.psicoapp-selecao-card .psicoapp-multiselect--aberto
.psicoapp-multiselect__seta {
    transform: translateY(-50%) rotate(180deg) !important;
}


/* =========================================================
   PESQUISA DENTRO DE PÚBLICOS E ESPECIALIDADES
========================================================= */

.psicoapp-multiselect__pesquisa-wrap {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    padding: 6px;
    background: #ffffff;
}

.psicoapp-multiselect__pesquisa-icone {
    position: absolute;
    left: 17px;
    top: 50%;
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: #38b6ff;
    pointer-events: none;
    transform: translateY(-50%);
}

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

.psicoapp-multiselect__pesquisa {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px 0 38px !important;
    background: #f8fcff !important;
    border: 1px solid #cfe7f7 !important;
    border-radius: 10px !important;
    color: #0f1c37 !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 13px !important;
    box-shadow: none !important;
    outline: none !important;
}

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

.psicoapp-multiselect__pesquisa:focus {
    border-color: #38b6ff !important;
    box-shadow: 0 0 0 3px rgba(56, 182, 255, .10) !important;
}

.psicoapp-multiselect__lista {
    max-height: 210px;
    overflow-y: auto;
}

.psicoapp-multiselect__vazio {
    display: none;
    padding: 14px 10px;
    color: #667085;
    font-size: 12px;
    text-align: center;
}

/* O menu externo não precisa mais rolar; a lista interna rola */
.psicoapp-multiselect__menu {
    max-height: none !important;
    overflow: visible !important;
    padding: 8px !important;
}


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

@media (max-width: 767px) {

    .psicoapp-selecao-card .psicoapp-multiselect__chips {
        max-width: calc(100% - 22px) !important;
    }

    .psicoapp-selecao-card .psicoapp-multiselect__chip > span:first-child {
        max-width: 170px !important;
    }
}