/* Importando Material Icons e Poppins */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

/* Assegura que todos os elementos considerem padding e border dentro da largura total */
* {
    box-sizing: border-box;
}

body {
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
}

/* Estilos base para o plugin de busca */
#mpb-form-busca {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

/* Contêiner principal do plugin - fundo aplicado aqui */
.mpb-plugin-container {
    background: #F7F7F7;
    width: 100%;
    max-width: 100%;
    padding: 20px 56px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: visible; /* Alterado de hidden para visible para permitir rolagem */
}

/* Estilos específicos para versão tela cheia */
.mpb-fullscreen {
    position: relative; /* Mantém como relative para não sobrepor o menu */
    padding-top: 40px; /* Reduzido para um valor fixo menor */
    margin: 0;
    overflow-y: visible; /* Alterado de auto para visible - permite rolagem na página */
}

.mpb-fullscreen .mpb-autocomplete-wrapper {
    margin-bottom: 40px;
}

/* Botão de fechar tela cheia */
.mpb-close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #1A1A1A;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 10000;
    transition: background-color 0.3s, transform 0.2s;
}

.mpb-close-fullscreen:hover {
    background: #333;
    transform: scale(1.1);
}

/* Estilos atualizados para o campo de busca e autocomplete */
.mpb-autocomplete-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    height: 64px;
    background: #F7F7F7;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

/* New container for input and icons */
.mpb-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
}

.mpb-input {
    width: 100%;
    height: 40px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
    color: #1A1A1A;
    border: none;
    border-bottom: 1px solid #B3B3B3;
    outline: none;
    background: transparent;
    flex: 1;
    padding: 8px 40px 8px 40px; /* Add padding for the icons */
    transition: border-color 0.3s ease;
    min-width: 0; /* Prevents input from causing overflow */
}

.mpb-input:focus {
    border-bottom-color: #808080;
}

.mpb-icon-search {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    font-family: 'Material Icons';
    font-size: 24px;
    color: #1A1A1A;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.mpb-icon-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    font-family: 'Material Icons';
    font-size: 24px;
    color: #1A1A1A;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

/* Estilos para esconder o botão de fechar quando não há texto */
.mpb-icon-close.hidden {
    display: none;
}

/* Estilos para resultados */
#mpb-resultados {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 24px 10px;
    background: #F7F7F7;
    flex: 1;
    overflow: visible; /* Permitir que o conteúdo seja visível e gere scrollbar quando necessário */
    min-height: 200px; /* Altura mínima para melhorar o espaçamento */
}

/* Estilos para resultados agrupados por categoria */
.mpb-categoria {
    margin-bottom: 30px;
    width: 100%;
}

.mpb-categoria-titulo {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #1A1A1A;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #CCCCCC;
    word-wrap: break-word; /* Permite quebra de texto em palavras longas */
}

/* Estilos específicos para cada categoria */
.mpb-categoria-titulo:contains('Notícias') {
    border-bottom-color: #004BE0;
}

.mpb-categoria-titulo:contains('Páginas') {
    border-bottom-color: #00A86B;
}

.mpb-categoria-titulo:contains('Contratos') {
    border-bottom-color: #FF6B00;
}

.mpb-categoria-titulo:contains('Processos Seletivos') {
    border-bottom-color: #9C27B0;
}

.mpb-categoria-titulo:contains('Compras e Licitações') {
    border-bottom-color: #F44336;
}

/* Estilos para o card normal (posts e páginas) */
.mpb-resultado {
    margin-bottom: 20px;
    padding: 16px;
    background: #FFFFFF;
    border-radius: 4px;
    transition: transform 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.mpb-resultado:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mpb-resultado h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.mpb-resultado-link {
    color: #004BE0;
    text-decoration: none;
}

.mpb-resultado-link:hover {
    text-decoration: underline;
}

.mpb-resultado p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6E6E6E;
    margin-bottom: 8px;
}

.mpb-ver-mais {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #004BE0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.mpb-ver-mais:after {
    content: 'arrow_forward';
    font-family: 'Material Icons';
    font-size: 16px;
    margin-left: 4px;
}

.mpb-ver-mais:hover {
    text-decoration: underline;
}

/* Estilos para Cards Expansíveis (igual ao plugin de contratos) */
.gcc-card-fechado {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gcc-card-fechado:hover {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.gcc-card-expansivel {
    cursor: pointer;
}

.gcc-card-aberto {
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
    background-color: #FFFFFF;
}

.gcc-card-header {
    padding: 16px 24px;
    position: relative;
}

.gcc-card-linha1 {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.gcc-card-processo-label {
    font-weight: 500;
    margin-right: 4px;
}

.gcc-card-processo-num {
    font-weight: 400;
}

.gcc-card-linha2 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #1A1A1A;
    margin-right: 40px;
    white-space: normal;
    word-wrap: break-word;
}

.gcc-card-plus-icon {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.gcc-card-plus-icon svg {
    transition: transform 0.3s ease;
    transform: rotate(-180deg);
}

.gcc-card-detalhes {
    background-color: #FFFFFF;
    border-top: 1px solid #E0E0E0;
    overflow: hidden; /* Impedir transbordamento */
}

.gcc-card-detalhes-container {
    padding: 24px;
    background-color: #FFFFFF;
}

.gcc-card-titulo-completo {
    width: 100%;
    padding: 24px;
    padding-right: 40px;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.gcc-card-processo {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666666;
    margin-bottom: 8px;
}

.gcc-card-processo-valor {
    font-weight: 400;
}

.gcc-card-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.gcc-card-close-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    font-weight: normal;
    color: #666666;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcc-card-info-container {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 132px;
    padding: 0 24px;
    gap: 32px;
    margin-top: 24px;
    background-color: #FFFFFF;
}

.gcc-card-info-coluna {
    flex: 1;
    min-width: 250px;
    padding-right: 24px;
    margin-bottom: 16px;
}

.gcc-card-info-item {
    margin-bottom: 16px;
}

.gcc-card-info-label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 4px;
}

.gcc-card-info-valor {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 1.5;
}

.gcc-card-divisor {
    width: 100%;
    border-top: 1px solid #cccccc;
    margin: 24px 0;
    height: 1px;
    background-color: transparent; /* Não precisa de background */
}

.gcc-card-anexos {
    width: 100%;
    height: auto;
    min-height: 126px;
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #FFFFFF;
}

.gcc-card-anexo-container {
    margin-bottom: 16px;
}

.gcc-card-anexo-item {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.gcc-card-anexo-icon {
    margin-right: 12px;
    color: #004BE0;
}

.gcc-card-anexo-link {
    color: #004BE0;
    text-decoration: none;
    font-weight: 500;
}

.gcc-card-anexo-link:hover {
    text-decoration: underline;
}

.gcc-card-anexo-detalhes {
    margin-top: 8px;
    margin-left: 36px;
}

.gcc-card-anexo-info {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #666666;
    margin-bottom: 4px;
}

.gcc-card-anexo-label {
    font-weight: 500;
    margin-right: 4px;
}

/* Melhorias para a paginação */
.mpb-paginacao {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 16px;
}

.mpb-paginacao button {
    font-family: 'Poppins', sans-serif;
    background-color: #F7F7F7;
    border: 1px solid #CCCCCC;
    color: #1A1A1A;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.mpb-paginacao button:hover {
    background-color: #EEEEEE;
}

/* Estilos para mensagens informativas */
.mpb-sem-resultados, 
.mpb-erro {
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    text-align: center;
    background-color: #F7F7F7;
    border-radius: 4px;
    margin-top: 20px;
}

.mpb-sem-resultados {
    color: #6E6E6E;
    font-size: 16px;
}

.mpb-erro {
    color: #D32F2F;
    font-size: 16px;
    background-color: #FFEBEE;
}

/* Indicador de pesquisa */
.mpb-searching {
    position: relative;
    display: none;
    color: #6E6E6E;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.25px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 8px;
    text-align: center;
    animation: pulse 1.5s infinite;
}

/* Indicador de carregamento */
.mpb-loading {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #004BE0;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 4px;
    margin: 15px 0;
    animation: pulse 1.5s infinite;
}

/* Animação de pulsação */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Media queries para responsividade */
@media (max-width: 1200px) {
    .mpb-autocomplete-wrapper,
    #mpb-resultados {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mpb-plugin-container {
        padding: 16px;
    }
    
    .mpb-fullscreen {
        padding-top: 20px; /* Menor espaçamento no topo para telas menores */
    }
    
    .mpb-autocomplete-wrapper {
        padding: 0 10px;
        height: 56px;
    }
    
    #mpb-resultados {
        padding: 16px 10px; /* Reduzir o padding para mais conteúdo visível */
    }
    
    .mpb-input-container {
        height: 36px;
    }
    
    .mpb-input {
        height: 36px;
        font-size: 16px;
        padding: 6px 36px 6px 36px;
    }
    
    .mpb-icon-search,
    .mpb-icon-close {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
    
    .mpb-searching {
        top: 70px;
    }

    .mpb-resultado h3 {
        font-size: 15px;
    }

    .mpb-resultado p {
        font-size: 13px;
    }
    
    .gcc-card-info-container {
        flex-direction: column;
    }
    
    .gcc-card-info-coluna {
        padding-right: 0;
        margin-bottom: 16px;
    }

    .gcc-card-detalhes-container {
        padding: 16px;
    }
    
    .gcc-card-divisor {
        margin: 0 16px 16px;
    }
    
    .gcc-card-anexos {
        padding: 0 16px 16px;
    }
}

@media (max-width: 480px) {
    .mpb-plugin-container {
        padding: 12px;
    }
    
    .mpb-fullscreen {
        padding-top: 10px; /* Menos espaço no topo para telas muito pequenas */
    }
    
    .mpb-autocomplete-wrapper {
        padding: 0 8px;
        height: 48px;
    }
    
    #mpb-resultados {
        padding: 12px 8px; /* Ainda menos padding para telas menores */
        min-height: 150px; /* Menor altura mínima */
    }
    
    .mpb-input-container {
        height: 32px;
    }
    
    .mpb-input {
        height: 32px;
        font-size: 14px;
        padding: 4px 30px 4px 30px;
    }
    
    .mpb-icon-search,
    .mpb-icon-close {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
    
    .mpb-categoria-titulo {
        font-size: 16px;
    }
    
    .gcc-card-header {
        padding: 12px 16px;
    }
    
    .gcc-card-linha2 {
        font-size: 14px;
        margin-right: 30px;
    }
    
    .gcc-card-plus-icon {
        right: 16px;
    }
}

/* Estilos para o botão "Ver todos os resultados" */
.mpb-ver-todos-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.mpb-ver-todos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 8px;
    max-width: 219px;
    height: 20px;
    text-decoration: none;
}

.mpb-btn-text {
    max-width: 193px;
    height: 20px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.25px;
    color: #004BE0;
    white-space: nowrap;
}

.mpb-ver-todos .material-icons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: #004BE0;
}

.mpb-ver-todos:hover .mpb-btn-text {
    text-decoration: underline;
}

/* Card expandido - o fundo de todo o card deve ser branco */
.gcc-card-fechado.gcc-card-aberto {
    width: 100%;
    height: auto;
    min-height: auto;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
    position: relative;
    padding: 0;
    overflow: hidden; /* Impedir transbordamento */
}

/* Estilos para Compras e Licitações */
.gcl-card {
    color: #1A1A1A;
    background-color: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    width: 100%;
    max-width: 100%;
}

.gcl-header {
    color: #1A1A1A;
    padding: 24px 24px 28px 24px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
    min-height: 114px;
    background: #FFFFFF;
    flex-wrap: wrap;
}

.gcl-title {
    color: #1A1A1A;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    width: 100%;
    height: auto;
    margin-bottom: 2px;
}

.gcl-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    width: calc(100% - 56px);
}

.gcl-process-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    width: 100%;
    min-height: 26px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.gcl-process-number {
    font-family: 'Poppins';
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
    margin-right: 12px;
}

.gcl-process-number-label {
    font-family: 'Poppins';
    font-weight: 600 !important;
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
}

.gcl-process-number-value {
    font-family: 'Poppins';
    font-weight: 500 !important;
    font-size: 14px;
    line-height: 20px;
    color: #1A1A1A;
}

.gcl-status {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    height: 26px;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #1A1A1A;
}

.gcl-status-label {
    color: #1A1A1A;
    font-weight: 600;
}

.gcl-status-value {
    font-weight: 600;
}

.gcl-status-aberto {
    color: #00A86B !important;
}

.gcl-status-encerrado {
    color: #F44336 !important;
}

.gcl-status-futuro {
    color: #FFA000 !important;
}

.gcl-toggle {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    color: #1A1A1A;
    background-color: #F7F7F7;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.gcl-toggle:hover {
    background-color: #E7E7E7;
}

.gcl-body {
    color: #1A1A1A;
    background-color: #FFFFFF;
    padding: 20px;
    display: none;
    width: 100%;
    box-sizing: border-box;
}

.licitacao-conteudo {
    color: #1A1A1A;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.linha-info {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    flex-wrap: wrap;
}

.licitacao-info-esquerda {
    flex: 1 1 60%;
    min-width: 300px;
}

.licitacao-info-direita {
    flex: 1 1 30%;
    min-width: 250px;
}

.rotulo {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.valor {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
    margin-bottom: 16px;
}

.licitacao-info-direita p {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.licitacao-info-direita p strong {
    font-weight: 600;
}

.divider {
    width: 100%;
    max-width: 100%;
    height: 0px;
    border: none;
    border-top: 1px solid #CCCCCC;
    margin: 8px 0;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.anexos {
    color: #1A1A1A;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.botao-anexo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.botao-anexo .material-icons {
    color: #004BE0;
    font-size: 24px;
    min-width: 24px;
}

.botao-anexo a {
    color: #004BE0;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.botao-anexo a:hover {
    text-decoration: underline;
}

/* Responsividade para os cards de compras e licitações */
@media (max-width: 992px) {
    .gcl-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .licitacao-info-esquerda,
    .licitacao-info-direita {
        flex: 1 1 100%;
    }
    
    .linha-info {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .gcl-header {
        padding: 16px;
        min-height: auto;
    }
    
    .gcl-title {
        font-size: 18px;
        line-height: 26px;
    }
    
    .gcl-process-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .gcl-status {
        margin-top: 4px;
    }
    
    .licitacao-conteudo {
        padding: 16px;
    }
    
    .rotulo, .valor {
        font-size: 14px;
        line-height: 20px;
    }
    
    .botao-anexo a {
        font-size: 14px;
    }
}

/* Additional styles to fix visibility issues in Compras e Licitações cards */
.gcl-card {
    color: #1A1A1A;
    background-color: #FFFFFF;
}

.gcl-header {
    color: #1A1A1A;
}

.gcl-title {
    color: #1A1A1A;
}

.gcl-process-number,
.gcl-process-number-label,
.gcl-process-number-value,
.gcl-status,
.gcl-status-label {
    color: #1A1A1A;
}

.gcl-body {
    color: #1A1A1A;
    background-color: #FFFFFF;
}

.licitacao-conteudo {
    color: #1A1A1A;
}

.licitacao-info-esquerda .rotulo,
.licitacao-info-direita p strong {
    color: #6E6E6E;
    font-weight: 500;
}

.licitacao-info-esquerda .valor,
.licitacao-info-direita p {
    color: #1A1A1A;
}

/* New style for the value text */
.gcl-info-value {
    color: #1A1A1A;
    font-weight: 400;
}

.anexos {
    color: #1A1A1A;
}

.botao-anexo a {
    color: #004BE0;
}

/* Make sure all text in the licitacao-info-direita is visible */
.licitacao-info-direita p {
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
}

/* Color adjustments for status indicators */
.gcl-status-aberto {
    color: #00A86B !important;
}

.gcl-status-encerrado {
    color: #F44336 !important;
}

.gcl-status-futuro {
    color: #FFA000 !important;
}

/* Estilos para processos seletivos - versão final e otimizada */
.processo-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 24px;
    width: 100%;
    height: 114px; /* Altura fixa quando fechado */
    background: #FFFFFF !important;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease; /* Transição suave */
    margin-bottom: 16px;
    cursor: pointer; /* Indica que é clicável */
    overflow: hidden;
}

.processo-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.processo-card-nome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: calc(100% - 32px);
    height: 66px;
    flex-grow: 1;
}

.processo-card-linha1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    width: 100%;
    height: auto;
    min-height: 26px;
    flex-wrap: wrap;
}

.processo-card-linha1 .info-grupo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}

.processo-card-label {
    width: auto;
    height: 20px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #1A1A1A;
}

.processo-card-valor {
    width: auto;
    height: 26px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
    color: #1A1A1A;
}

.processo-card-linha2 {
    width: 100%;
    height: 32px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    color: #1A1A1A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.processo-card-plus-icon {
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
    z-index: 10 !important;
}

.processo-card.aberto {
    height: auto !important; /* Forçar altura automática quando aberto */
    min-height: 200px !important; /* Altura mínima maior quando aberto */
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    overflow: visible !important;
}

.processo-card-detalhes {
    display: none !important; /* Esconder quando fechado */
    width: 100% !important;
    padding: 12px 24px 24px 24px !important;
    transition: all 0.3s ease !important;
    color: #1A1A1A !important;
}

.processo-card.aberto .processo-card-detalhes {
    display: block !important; /* Forçar exibição quando card estiver aberto */
    opacity: 1 !important;
}

.processo-card-close-btn {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    width: 24px !important;
    height: 24px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

.processo-card.aberto .processo-card-close-btn {
    display: flex !important;
}

.processo-card.aberto .processo-card-plus-icon {
    display: none !important;
}

/* Garantir cores visíveis nos elementos internos */
.processo-card-info-label,
.processo-card-info-valor,
.processo-card-cargo-nome,
.processo-card-titulo-edital h3 {
    color: #1A1A1A !important;
}

.processo-card-titulo-completo {
    position: relative;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #EEEEEE;
}

.processo-card-titulo-edital {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.processo-card-titulo-edital h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #1A1A1A;
    margin: 0;
}

.processo-card-linha1 .status-finalizado {
    color: #FF5722;
}

.processo-card-linha1 .status-andamento {
    color: #4CAF50;
}

/* Esconder a linha de cargos quando o card estiver aberto */
.processo-card.aberto .processo-card-linha2 {
    display: none;
}

/* Adicionar estilos essenciais que foram removidos */
.processo-card-header {
    cursor: pointer !important;
    z-index: 5 !important;
    position: relative !important;
}

.processo-card-cargos {
    margin-top: 16px;
    width: 100%;
}

.processo-card-cargo-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EEEEEE;
}

.processo-card-cargo-nome {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.processo-card-cargo-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.processo-card-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.processo-card-info-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #1A1A1A;
}

.processo-card-info-valor {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
}

.processo-card-anexos {
    margin-top: 16px;
    width: 100%;
}

.processo-card-anexo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.processo-card-anexo-item .material-icons {
    font-size: 20px;
    color: #004BE0;
}

.processo-card-anexo-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #004BE0;
    text-decoration: none;
}

.processo-card-anexo-link:hover {
    text-decoration: underline;
}

/* Estilos críticos para corrigir a expansão dos cards de processos seletivos */
.processo-card {
    height: 114px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.processo-card.aberto {
    height: auto !important;
    min-height: 200px !important;
    overflow: visible !important;
}

.processo-card-detalhes {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.processo-card.aberto .processo-card-detalhes {
    display: block !important;
    opacity: 1 !important;
}

/* Garantir que os ícones sejam clicáveis */
.processo-card-plus-icon {
    z-index: 10 !important;
    cursor: pointer !important;
}

/* Ajuste para o body quando o plugin estiver ativo */
body.has-mpb-search {
    overflow: auto !important; /* Forçar overflow auto no body */
}
