/* INDEX */
.circulo_base {
    height: 56px;
    width: 56px;
    min-width: 56px;
    display: block;
    border-radius: 20%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 1px solid #00000026;
}

.circulo_base_eleicao {
    height: 60px;
    width: 60px;
    display: block;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: 1px solid #00000026;
}

.card-upgrade {
    padding: 1rem;
    border-radius: 6px;
    background: #002D78;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.img_x_comparativo {
    width: 32px;
}

.upgrade-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upgrade-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.upgrade-text p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.upgrade-action {
    background: #FFD23F;
    color: #000000;
    padding: 0.5rem;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 6px;
    transition: 0.2s;
}

.quantidade_votos_index {
    font-size: 16px;
    font-weight: 600;
}

.porcentagem_votos_index {
    font-size: 12px;
    color: #7a8189;
}

.div_horizontal_candidato {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nome_candidato {
    font-weight: 600;
    font-size: 14px;
}

.eleicao_participada {
    font-size: 12px;
    color: #7a8189;
}

.dados_historico {
    display: flex;
    flex-direction: column;
}

.div_espaco_index {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card_historico {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #ddd;
}

.card_historico_eleicao {
    background: #ffffff;
    display: flex;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
}


.card_historico_adicionar {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #ddd;
}


.card_historico_comparativo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.div_vertical_candidato {
    display: flex;
    flex-direction: column;
}

.card_comparativo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    background: #ffffff;
    min-width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.texto_adicionar_candidato {
    color: #002D78;
    font-weight: 500;
    font-size: 14px;
}

.div_index_historico {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.container_linha_historico {
    display: flex;
    overflow: auto;
    width: 100%;
    scrollbar-width: none;
    gap: 1rem;
}

.titulo_eleicao {
    font-weight: 600;
    font-size: 14px;
}

.descricao_eleicao {
    font-size: 12px;
}

.nome_comparacao {
    font-size: 12px;
    font-weight: 600;
}

.div_candidato_comparacao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 96px;
}

.descricao_comparativo {
    display: flex;
    flex-direction: column;
}

/* INDEX */


/* PERFIL */
.perfil_header {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.div_foto_perfil {
    position: relative;
}

.div_espaco_perfil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div_foto_perfil img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #00000066;
    position: relative;
}

.icone_camera {
    position: absolute;
    bottom: 0;
    right: 0;
    border: 1px solid #00000066;
    background: #ffffff;
    color: #1b1f2a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.foto_input {
    display: none;
}

.dados_usuario {
    display: flex;
    flex-direction: column;
}

.dados_usuario h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

select {
    background: #fff url('../img/flecha_select_cadastro.png') no-repeat right 8px center;
    background-size: 12px;
    color: #000000;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    caret-color: rgb(0, 0, 0);
    height: 39px;
}

.dados_usuario span {
    font-size: 14px;
    color: #ffffff;
    background: #002D78;
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    box-sizing: border-box;
    width: fit-content;
}

.secao_perfil {
    background: #ffffff;
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.secao_perfil h3 {
    margin-bottom: 0.7rem;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
}

.div_inputs_perfil {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.div_dois_perfil_vertical {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 140px;
}

.div_dois_perfil_vertical span {
    font-size: 14px;
}

.div_dois_perfil_vertical input {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    box-sizing: border-box;
}

.div_dois_perfil_vertical input:focus {
    outline: 1px solid #002D78;
}

.acoes_perfil {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn_padrao {
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn_salvar {
    background: #002D78;
    color: #ffffff;
}

.btn_logout {
    background: #212224;
    color: #ffffff;
}

.btn_excluir {
    background: #ff0000;
    color: #ffffff;
}

.linha_dupla {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.linha_dupla .div_dois_perfil_vertical {
    flex: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal.hide {
    opacity: 0;
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    color: rgb(0, 0, 0);
    width: 90%;
    max-width: 330px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    animation: fadeInScale 0.3s ease forwards;
    transform: scale(0.9);
    box-sizing: border-box;
}

.modal-content h2 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2b2b2b;
}

.icon-sucesso,
.icon-erro {
    font-size: 52px;
    margin-bottom: 1rem;
}

.icon-sucesso {
    color: #ddb40e;
}

.icon-erro {
    color: #ff4f4f;
}

.btn_modal {
    margin-top: 1rem;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    width: 100%;
    transition: 0.2s ease;
}

.btn_modal_erro {
    background-color: #E53935;
}

.btn_modal_sucesso {
    background: linear-gradient(90deg, #ffcc00, #ffaa00);
    color: black;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.87);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* PERFIL */


/* PESQUISA */
.div_tipo_pesquisa {
    display: flex;
    width: 100%;
    overflow: auto;
    gap: 0.5rem;
    scrollbar-width: none;
}

.resultado_pesquisa {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.card_tipo_pesquisa {
    background-color: #002D78;
    opacity: 0.4;
    padding: 1rem 0.6rem;
    color: white;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    text-align: center;
    min-width: 130px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 0.2rem;
}

.card_tipo_pesquisa.ativo {
    opacity: 1;
}

.img_candidatos_resultados {
    width: 80px;
    border-radius: 50%;
    border: 2px solid #80808087;
}

.card_candidatos {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.div_resultado_candidato {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.table_pesquisa {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.table_pesquisa thead th:first-child,
.table_pesquisa tbody td:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.table_pesquisa thead th:last-child,
.table_pesquisa tbody td:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.table_pesquisa tbody tr:first-child {
    background-color: #002D78;
    color: white;
}

.table_pesquisa tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.table_pesquisa tbody tr:first-child th:first-child {
    border-top-left-radius: 6px;
}

.table_pesquisa tbody tr:first-child th:last-child {
    border-top-right-radius: 6px;
}

.table_pesquisa tbody tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

.table_pesquisa tbody tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

.div_candidato_vertical {
    display: flex;
    flex-direction: column;
}

.tag_candidato_eleito {
    font-size: 14px;
    color: #ffffff;
    background: #0e7800;
    border-radius: 6px;
    padding: 0.1rem 0.2rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    font-size: 12px !important;
    box-sizing: border-box;
    width: fit-content;
    text-transform: uppercase;
}

.tag_candidato_nao_eleito {
    font-size: 14px;
    color: #ffffff;
    background: #002D78;
    font-size: 12px !important;
    border-radius: 6px;
    padding: 0.1rem 0.2rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    box-sizing: border-box;
    width: fit-content;
    text-transform: uppercase;
}

.div_listagem_eleicao {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.resultado {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
}

.cargo_eleicao {
    font-size: 14px;
    color: #002D78;
}

.texto_ano {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    height: 60px;
    width: 60px;
    border-radius: 8px;
    background-color: #002D78;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div_texto_eleicao {
    display: flex;
    flex-direction: column;
}

.card_resultado_bairro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.porcentagem_votos {
    width: 40px;
    display: flex;
    align-items: end;
    justify-content: end;
}

.titulo_local {
    background-color: #002D78;
    color: white;
    padding: 0.4rem;
    border-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.div_porcentagem_resultado {
    display: flex;
}

.resultado_votos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.card_resultado_eleicao {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    background: #ffffff;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.container_local {
    margin-bottom: 0.5rem;
}

/* PESQUISA */

/* PLANOS */
.card_plano.destaque {
    border: 2px solid #002D78;
}

.texto_pagamento {
    font-size: 14px;
    font-weight: 600;
}

.badge_plano.destaque {
    background: #002D78;
    color: #ffffff;
}

.preco_plano .valor {
    color: #002D78;
}

.beneficios_plano i {
    color: #0e7800;
}

.btn_plano.destaque {
    background: #002D78;
    transition: 0.25s ease;
}

.container_planos {
    display: flex;
    width: 100%;
    overflow: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.card_plano {
    background: #ffffff;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 100%;
}

.card_plano.destaque {
    border: 2px solid #002D78;
}

.badge_plano {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.badge_plano.destaque {
    background: #002D78;
    color: #ffffff;
}

.texto_titulo_plano {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.preco_plano {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.preco_plano .valor {
    font-size: 26px;
    font-weight: 600;
    color: #002D78;
}

.preco_plano .periodo {
    font-size: 14px;
    color: #666;
}

.beneficios_plano {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
}

.beneficios_plano div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.beneficios_plano i {
    color: #0e7800;
    font-size: 14px;
}

.btn_plano {
    border: none;
    border-radius: 6px;
    padding: 0.7rem;
    background: #002D78;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.opcoes_pagamento {
    display: flex;
    gap: 0.6rem;
    margin: 0.8rem 0;
    margin-top: 0.4rem;
}

.opcao_pagamento {
    flex: 1;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.opcao_pagamento i {
    font-size: 18px;
}

.opcao_pagamento.selecionado {
    border: 1px solid #002D78;
    background: #f0f4ff;
    color: #002D78;
}

.btn_confirmar {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    background: #002D78;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

/* PLANOS */

/*DETALHES CANDIDATOS*/
.container_resultado_detalhes {
    width: 100%;
}

.btn_xlsx {
    background: #16A34A;
    color: white;
    width: 100%;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn_pdf {
    background: #2c2c2c;
    color: white;
    width: 100%;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.div_btns_exportar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.div_deitada_btns_exportar {
    display: flex;
    gap: 0.5rem;
}

.card_politico_escolhido {
    background: #ffffff;
    display: flex;
    align-items: center;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.container_dados_politico {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.div_filtros_candidato {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 6px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 100%;
    padding: 0.4rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.filtro_candidato {
    display: flex;
    align-items: center;
    padding: 0.4rem;
    font-size: 14px;
    border-radius: 8px;
    flex: 1;
    justify-content: center;
    cursor: pointer;
}

.filtro_candidato.selecionado {
    background-color: #002D78;
    color: white;
}

/*DETALHES CANDIDATOS*/

/*PLANEJAR*/
.btn_planejamento {
    position: absolute;
    bottom: 72px;
    right: 20px;
    height: 44px;
    width: 44px;
    background: linear-gradient(135deg, #16A34A, #16A34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icone_adicionar_planejamento {
    color: white;
    font-size: 16px;
}

/*PLANEJAR*/

/* PLANEJAMENTO */
.card_metrica {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #ddd;
}

.icone_metrica {
    width: 48px;
    height: 48px;
    background: #f0fdf4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16A34A;
    font-size: 1.5rem;
}

.info_metrica h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.info_metrica span {
    font-size: 0.9rem;
    color: #666;
}

.abas_plano {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.aba {
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.aba.ativa {
    background: #16A34A;
    color: white;
    border-color: #16A34A;
}

.conteudo_aba {
    display: none;
}

.conteudo_aba.ativa {
    display: block;
}

.grid_regioes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.card_regiao_plano {
    background: white;
    border-radius: 6px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    border-left: 4px solid #002D78;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    border-radius: 6px;
}

.header_regiao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.nome_regiao {
    font-weight: 600;
    font-size: 14px;
}

.status_regiao {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: #f0fdf4;
    color: #16A34A;
}

.status_regiao.atraso {
    background: #fee;
    color: rgb(220, 38, 38);
}

.info_votos {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
    font-size: 14px;
    margin-bottom: 0;
}

.meta_votos {
    color: #666;
    font-size: 14px;
}

.votos_atuais {
    font-weight: 600;
    color: #333;
}

.progresso_regiao {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.barra_progresso_regiao {
    height: 100%;
    background: rgb(22, 163, 74);
    border-radius: 3px;
}

.custo_regiao {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.cards_analise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.card_analise {
    background: white;
    border-radius: 6px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card_analise h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.valor_destaque {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.comparativo {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.planejado {
    color: #16A34A;
}

.realizado {
    color: #F97316;
}

.variacao_analise {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.variacao_analise.positiva {
    background: #e6f7e6;
    color: #16A34A;
}

.variacao_analise.negativa {
    background: #fee;
    color: #dc2626;
}

.variacao_analise.neutra {
    background: #f0f0f0;
    color: #666;
}

.card_grafico_comparativo {
    background: white;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.grafico_barras_duplas {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.item_comparativo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label_comparativo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.9rem;
}

.nome_item {
    font-weight: 500;
}

.valores_item {
    color: #666;
}

.barras_duplas {
    display: flex;
    gap: 2px;
    height: 30px;
    border-radius: 6px;
    overflow: hidden;
}

.barra_planejado {
    background: #16A34A;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: width 0.3s;
}

.barra_realizado {
    background: #F97316;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: width 0.3s;
}

.legenda_cores {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-direction: column;
}

.legenda_item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.cor_legenda {
    width: 16px;
    height: 16px;
    border-radius: 6px;
}

.cor_legenda.planejado {
    background: #16A34A;
}

.cor_legenda.realizado {
    background: #F97316;
}

.tabela_analise {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.tabela_analise table {
    width: 100%;
    border-collapse: collapse;
}

.tabela_analise th {
    background: #f5f5f5;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.tabela_analise td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.tabela_analise tr:last-child td {
    border-bottom: none;
}

.indicador_acerto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.barra_indicador {
    width: 60px;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.preenchimento_indicador {
    height: 100%;
    background: #16A34A;
    border-radius: 3px;
}

.grid_insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.card_insight {
    background: #ffffff;
    border-radius: 6px;
    padding: 1.2rem;
    border-left: 4px solid;
}

.card_insight.verde {
    border-left-color: #16A34A;
}

.card_insight.azul {
    border-left-color: #3B82F6;
}

.card_insight.laranja {
    border-left-color: #F97316;
}

.card_insight h4 {
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card_insight p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}


.grid_material {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.card_material {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.icone_material {
    width: 40px;
    height: 40px;
    background: #f0fdf4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16A34A;
}

.info_material h4 {
    margin: 0;
    font-size: 1rem;
}

.info_material span {
    font-size: 0.8rem;
    color: #999;
}

.muted {
    font-size: 14px;
}

.titulo_local_tabela {
    font-weight: 600;
}

.input_editar_votos {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    box-sizing: border-box;
}

.input_editar_votos:focus {
    outline: 1px solid #002D78;
}

.card_historico_eleicao {
    background: #ffffff;
    display: flex;
    min-width: 100%;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.8rem;
    border: 1px solid #ddd;
}

.info_candidato {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.titulo_eleicao {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.linha_badges {
    display: flex;
    gap: 0.5rem;
}

.badge_partido {
    background: #002D78;
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.badge_cargo {
    background: #cfecff;
    color: #0369a1;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.badge_numero {
    background: #313131;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.localizacao {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.localizacao i {
    font-size: 13px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .info_candidato {
        flex-direction: column;
        align-items: flex-start;
    }

    .nome_cargo h1 {
        font-size: 1.4rem;
    }

    .tabela_analise {
        overflow-x: auto;
    }

    .tabela_analise table {
        min-width: 1200px;
    }
}
/* PLANEJAMENTO */