/* ============================================================================================================
   PORTAL DE TRANSPARÊNCIA - CSS PARA ABA PLANO DE TRABALHO
   Adicionar ao arquivo portalTransparenciaModalAbas.css ou criar separado
   ============================================================================================================ */

/* ============================================================================================================
   SISTEMA DE ABAS - REGRAS BÁSICAS (ESSENCIAL PARA FUNCIONAMENTO)
   ============================================================================================================ */

.detalhe-emenda-tabs {
    width: 100%;
}

.detalhe-emenda-tabs .tabs-header {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
}

.detalhe-emenda-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.detalhe-emenda-tabs .tab-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

.detalhe-emenda-tabs .tab-btn.active {
    background: #ffffff;
    color: #1e40af;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detalhe-emenda-tabs .tab-btn i {
    font-size: 16px;
}

/* REGRAS ESSENCIAIS PARA ESCONDER/MOSTRAR ABAS */
.detalhe-emenda-tabs .tabs-content .tab-pane {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.detalhe-emenda-tabs .tabs-content .tab-pane.active {
    display: block !important;
    visibility: visible;
    height: auto;
    overflow: visible;
}

.detalhe-emenda-tabs .tabs-content {
    padding: 20px;
    background: #ffffff;
}

/* ============================================================================================================
   ESTILOS GERAIS - SEÇÕES DE DETALHE (todas as abas)
   ============================================================================================================ */

.detalhe-secao {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.detalhe-secao:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detalhe-secao > h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detalhe-secao > h4 i {
    font-size: 18px;
    color: #3b82f6;
}

/* ============================================================================================================
   PLANO DE TRABALHO - CARD PRINCIPAL DO PROJETO
   ============================================================================================================ */

.plano-trabalho-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.pt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.pt-header h5 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.pt-cnpj {
    font-size: 12px;
    font-family: 'Courier New', monospace;
    color: #64748b;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.pt-entidade {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
}

.pt-entidade i {
    font-size: 20px;
    color: #2E6E9E;
}

.pt-entidade span {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.pt-descricao {
    margin-bottom: 16px;
}

.pt-descricao label,
.pt-texto-bloco label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pt-descricao p,
.pt-texto-bloco p {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.pt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.pt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pt-item i {
    font-size: 24px;
    color: #2E6E9E;
}

.pt-item-valor {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.pt-item-label {
    display: block;
    font-size: 12px;
    color: #64748b;
}

/* ============================================================================================================
   PLANO DE TRABALHO - BLOCOS DE TEXTO
   ============================================================================================================ */

.pt-texto-bloco {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

/* ============================================================================================================
   PLANO DE TRABALHO - OBJETIVOS ESPECÍFICOS
   ============================================================================================================ */

.pt-lista-objetivos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-objetivo-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pt-objetivo-item:hover {
    background: #f1f5f9;
    border-color: #2E6E9E;
}

.pt-objetivo-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2E6E9E 0%, #6EAED3 100%);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.pt-objetivo-texto {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

/* ============================================================================================================
   PLANO DE TRABALHO - PÚBLICO-ALVO
   ============================================================================================================ */

.pt-publico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.pt-publico-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.pt-publico-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pt-publico-card i {
    font-size: 24px;
    color: #2E6E9E;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 110, 158, 0.1);
    border-radius: 10px;
}

.pt-publico-genero {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.pt-publico-faixa {
    display: block;
    font-size: 12px;
    color: #64748b;
}

/* ============================================================================================================
   PLANO DE TRABALHO - EQUIPE / PESSOAL
   ============================================================================================================ */

.pt-equipe-resumo {
    background: linear-gradient(135deg, #2E6E9E 0%, #6EAED3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.pt-equipe-resumo strong {
    font-size: 16px;
}

.pt-equipe-table {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.pt-equipe-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pt-equipe-table thead {
    background: #f1f5f9;
}

.pt-equipe-table th {
    padding: 12px 10px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #e2e8f0;
}

.pt-equipe-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.pt-equipe-table tbody tr:hover {
    background: #f8fafc;
}

.pt-equipe-table .text-center {
    text-align: center;
}

.pt-equipe-table .text-right {
    text-align: right;
    font-family: 'Courier New', monospace;
}

/* ============================================================================================================
   PLANO DE TRABALHO - PLANO DE AÇÃO
   ============================================================================================================ */

.pt-acoes-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pt-acao-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2E6E9E;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.pt-acao-card:hover {
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pt-acao-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pt-acao-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2E6E9E;
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pt-acao-tipo {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.pt-acao-atendimentos {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #059669;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.pt-acao-execucao,
.pt-acao-objetivo {
    margin-top: 8px;
}

.pt-acao-execucao label,
.pt-acao-objetivo label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pt-acao-execucao p,
.pt-acao-objetivo p {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================================================================
   PLANO DE TRABALHO - INDICADORES
   ============================================================================================================ */

.pt-indicadores-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pt-indicador-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s ease;
}

.pt-indicador-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pt-indicador-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.pt-indicador-header i {
    font-size: 20px;
    color: #f59e0b;
    margin-top: 2px;
}

.pt-indicador-header span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.pt-indicador-detalhes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pt-indicador-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
}

.pt-indicador-tag i {
    font-size: 12px;
    color: #2E6E9E;
}

.pt-indicador-acompanhamento label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pt-indicador-acompanhamento p {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
}

/* ============================================================================================================
   PLANO DE TRABALHO - MONITORAMENTO
   ============================================================================================================ */

.pt-monitoramento-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-monitoramento-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pt-monitoramento-item:hover {
    background: #f1f5f9;
    border-color: #10b981;
}

.pt-monitoramento-item i {
    font-size: 18px;
    color: #10b981;
    margin-top: 2px;
}

.pt-monitoramento-item span {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

/* ============================================================================================================
   PLANO DE TRABALHO - VULNERABILIDADES
   ============================================================================================================ */

.pt-vulnerabilidade-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pt-vulnerabilidade-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pt-vulnerabilidade-item:hover {
    background: #fde68a;
    border-color: #f59e0b;
}

.pt-vulnerabilidade-item i {
    font-size: 18px;
    color: #f59e0b;
    margin-top: 2px;
}

.pt-vulnerabilidade-item span {
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}

/* ============================================================================================================
   PLANO DE TRABALHO - RESPONSÁVEIS
   ============================================================================================================ */

.pt-responsaveis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.pt-responsavel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.pt-responsavel-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pt-responsavel-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E6E9E 0%, #6EAED3 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.pt-responsavel-avatar i {
    font-size: 24px;
    color: white;
}

.pt-responsavel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pt-responsavel-nome {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-responsavel-cargo {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-responsavel-tipo {
    font-size: 11px;
    font-weight: 600;
    color: #2E6E9E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ============================================================================================================
   RESPONSIVIDADE
   ============================================================================================================ */

@media (max-width: 768px) {
    .pt-header {
        flex-direction: column;
    }
    
    .pt-grid {
        grid-template-columns: 1fr;
    }
    
    .pt-publico-grid {
        grid-template-columns: 1fr;
    }
    
    .pt-responsaveis-grid {
        grid-template-columns: 1fr;
    }
    
    .pt-equipe-table {
        font-size: 12px;
    }
    
    .pt-equipe-table th,
    .pt-equipe-table td {
        padding: 8px 6px;
    }
    
    .pt-acao-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pt-indicador-detalhes {
        flex-direction: column;
    }
}

/* ============================================================================================================
   ANIMAÇÕES
   ============================================================================================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane[data-tab="planotrabalho"].active .detalhe-secao {
    animation: slideInUp 0.3s ease forwards;
}

.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(1) { animation-delay: 0s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(2) { animation-delay: 0.05s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(3) { animation-delay: 0.1s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(4) { animation-delay: 0.15s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(5) { animation-delay: 0.2s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(6) { animation-delay: 0.25s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(7) { animation-delay: 0.3s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(8) { animation-delay: 0.35s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(9) { animation-delay: 0.4s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(10) { animation-delay: 0.45s; }
.tab-pane[data-tab="planotrabalho"].active .detalhe-secao:nth-child(11) { animation-delay: 0.5s; }

/* ============================================================================================================
   AJUSTES RESPONSIVOS PARA 4 ABAS
   ============================================================================================================ */

@media (max-width: 768px) {
    .tabs-header {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        min-width: auto;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .tab-btn i {
        display: none;
    }
}

/* ============================================================================================================
   ABA EXECUÇÃO ORÇAMENTÁRIA - ESTILOS
   ============================================================================================================ */

/* Resumo de valores no topo */
.execucao-resumo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.execucao-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.execucao-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.execucao-card > i {
    font-size: 24px;
    color: #3b82f6;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    border-radius: 10px;
}

.execucao-card:nth-child(2) > i {
    color: #f59e0b;
    background: #fef3c7;
}

.execucao-card:nth-child(3) > i {
    color: #8b5cf6;
    background: #ede9fe;
}

.execucao-card:nth-child(4) > i {
    color: #10b981;
    background: #d1fae5;
}

.execucao-card > div {
    flex: 1;
}

.execucao-label {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.execucao-valor {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Itens de execução (contratos, empenhos, etc) */
.item-execucao {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.item-execucao:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.item-execucao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.item-execucao-header strong {
    font-size: 15px;
    color: #1e293b;
}

.item-execucao-header span {
    font-size: 15px;
    font-weight: 600;
    color: #059669;
}

.item-execucao-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.item-execucao-datas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
}

.item-execucao-datas i {
    color: #94a3b8;
    margin-right: 4px;
}

/* Sub-itens (empenhos dentro de contratos) */
.subitens {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.subitens > strong {
    font-size: 13px;
    color: #475569;
    display: block;
    margin-bottom: 10px;
}

.subitem {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.subitem:last-child {
    margin-bottom: 0;
}

.subitem-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.subitem-header span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.subitem-header span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
}

.subitem > p {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.subitem-detalhes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #94a3b8;
}

.subitem-detalhes i {
    margin-right: 4px;
}

.subitem-data,
.subitem-dotacao {
    display: flex;
    align-items: center;
}

.subitem-dotacao {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Sub-sub-itens (liquidações e pagamentos) */
.subsubitens {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dotted #e2e8f0;
}

.subsubitens > strong {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.subsubitem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    background: #ffffff;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 12px;
}

.subsubitem span:first-child {
    color: #475569;
    font-weight: 500;
}

.subsubitem span:nth-child(2) {
    color: #059669;
    font-weight: 600;
}

.subsubitem span:last-child {
    color: #94a3b8;
}

/* Mensagem vazia */
.mensagem-vazia {
    text-align: center;
    color: #64748b;
    padding: 24px;
    font-size: 14px;
}

.mensagem-vazia i {
    margin-right: 8px;
    color: #94a3b8;
}

/* ============================================================================================================
   ABA PRESTAÇÃO DE CONTAS - ESTILOS
   ============================================================================================================ */

.item-prestacao {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.item-prestacao:last-child {
    margin-bottom: 0;
}

.item-prestacao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

.prestacao-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prestacao-header-left strong {
    font-size: 16px;
    color: #1e293b;
}

.badge-status-prestacao {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-status-prestacao.status-prestacao-aprovada {
    background: #d1fae5;
    color: #059669;
}

.badge-status-prestacao.status-prestacao-pendente {
    background: #fef3c7;
    color: #d97706;
}

.badge-status-prestacao.status-prestacao-analise {
    background: #dbeafe;
    color: #2563eb;
}

.badge-status-prestacao.status-prestacao-reprovada {
    background: #fee2e2;
    color: #dc2626;
}

.badge-status-prestacao.status-prestacao-correcao {
    background: #ffedd5;
    color: #ea580c;
}

.badge-status-prestacao.status-prestacao-parcial {
    background: #e0e7ff;
    color: #4f46e5;
}

.periodo {
    font-size: 13px;
    color: #64748b;
}

/* Lista de arquivos */
.arquivos-lista {
    margin-bottom: 16px;
}

.arquivos-lista > strong {
    font-size: 14px;
    color: #334155;
    display: block;
    margin-bottom: 12px;
}

.grupo-tipo-arquivo {
    margin-bottom: 12px;
}

.grupo-tipo-arquivo:last-child {
    margin-bottom: 0;
}

.label-tipo-arquivo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.label-tipo-arquivo i {
    color: #f59e0b;
}

.arquivo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.arquivo-item:hover {
    background: #e2e8f0;
}

.arquivo-item i {
    font-size: 14px;
    color: #ef4444;
}

.arquivo-item a {
    color: #334155;
    text-decoration: none;
}

.arquivo-item a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.aviso-sem-arquivos {
    color: #f59e0b;
    font-size: 13px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    margin-bottom: 16px;
}

.aviso-sem-arquivos i {
    margin-right: 8px;
}

/* Lista de planos de aplicação */
.planos-lista {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.planos-lista > strong {
    font-size: 14px;
    color: #334155;
    display: block;
    margin-bottom: 12px;
}

.plano-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.plano-item:last-child {
    margin-bottom: 0;
}

.plano-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.plano-header span:first-child {
    flex: 1;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.plano-valor {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
}

/* Responsivo */
@media (max-width: 768px) {
    .execucao-resumo {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .execucao-card {
        padding: 12px;
    }
    
    .execucao-valor {
        font-size: 16px;
    }
    
    .item-execucao-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-prestacao-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .subsubitem {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ============================================================================================================
   PRESTAÇÃO DE CONTAS - ESTILOS APRIMORADOS
   ============================================================================================================ */

/* Seções dentro da prestação */
.prestacao-secao {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
}

.prestacao-secao:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.prestacao-secao-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prestacao-secao-titulo i {
    color: #3b82f6;
}

/* Documentos Obrigatórios */
.documentos-obrigatorios {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.documento-obrigatorio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.documento-obrigatorio:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.doc-obrig-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-icon {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.doc-icon.extrato {
    color: #059669;
    background: #d1fae5;
}

.doc-icon.relatorio {
    color: #0284c7;
    background: #e0f2fe;
}

.doc-obrig-info > div {
    display: flex;
    flex-direction: column;
}

.doc-tipo {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-nome {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.doc-download {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    color: #059669;
    transition: all 0.2s ease;
    text-decoration: none;
}

.doc-download:hover {
    background: #059669;
    color: #ffffff;
}

.sem-documentos {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
    margin: 0;
}

/* Planos de Aplicação na Prestação */
.planos-aplicacao-prestacao {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plano-aplicacao-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.plano-aplicacao-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.plano-aplicacao-header {
    margin-bottom: 12px;
}

.plano-aplicacao-desc {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
    line-height: 1.5;
}

.plano-aplicacao-valores {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.plano-valor-item {
    flex: 1;
    min-width: 140px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plano-valor-item.destaque {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.plano-valor-item .valor-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.plano-valor-item .valor-numero {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.plano-valor-item.destaque .valor-numero {
    color: #059669;
}

/* Arquivos do Plano */
.plano-arquivos {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
}

.plano-arquivos-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 8px;
}

.plano-arquivos-label i {
    color: #94a3b8;
    margin-right: 4px;
}

.plano-arquivos-lista {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arquivo-item-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #ffffff;
    border-radius: 6px;
    font-size: 12px;
}

.arquivo-item-mini i {
    color: #ef4444;
    font-size: 12px;
}

.arquivo-item-mini a {
    color: #475569;
    text-decoration: none;
}

.arquivo-item-mini a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Arquivos Soltos */
.arquivos-soltos {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Responsivo para Prestação */
@media (max-width: 768px) {
    .documento-obrigatorio {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .doc-download {
        align-self: flex-end;
    }
    
    .plano-aplicacao-valores {
        flex-direction: column;
    }
    
    .plano-valor-item {
        min-width: 100%;
    }
}

/* ============================================================================================================
   BADGES DE ORIGEM E IMPOSITIVA
   ============================================================================================================ */

/* Badge de Origem da Emenda */
.badge-origem {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-origem.origem-federal {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.badge-origem.origem-estadual {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border: 1px solid #86efac;
}

.badge-origem.origem-municipal {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border: 1px solid #fcd34d;
}

.badge-origem.origem-default {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Badge de Emenda Impositiva */
.badge-impositiva {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-impositiva.sim {
    background: #d1fae5;
    color: #059669;
}

.badge-impositiva.sim i {
    color: #10b981;
}

.badge-impositiva.nao {
    background: #fee2e2;
    color: #dc2626;
}

.badge-impositiva.nao i {
    color: #ef4444;
}

/* ============================================================================================================
   CARD DO PARLAMENTAR COM FOTO
   ============================================================================================================ */

.parlamentar-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.parlamentar-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.parlamentar-foto-container {
    position: relative;
    flex-shrink: 0;
}

.parlamentar-foto {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.parlamentar-card:hover .parlamentar-foto {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.parlamentar-esfera-badge {
    position: absolute;
    bottom: 0;
    right: -4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.parlamentar-esfera-badge.esfera-federal {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}

.parlamentar-esfera-badge.esfera-estadual {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.parlamentar-esfera-badge.esfera-municipal {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.parlamentar-esfera-badge.esfera-default {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff;
}

.parlamentar-info {
    flex: 1;
    min-width: 0;
}

.parlamentar-nome {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.parlamentar-detalhes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.parlamentar-cargo,
.parlamentar-partido {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.parlamentar-cargo i,
.parlamentar-partido i {
    color: #94a3b8;
    font-size: 12px;
}

.parlamentar-cargo {
    color: #475569;
    font-weight: 500;
}

.parlamentar-partido {
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Responsivo para card do parlamentar */
@media (max-width: 576px) {
    .parlamentar-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .parlamentar-foto {
        width: 80px;
        height: 80px;
    }
    
    .parlamentar-detalhes {
        justify-content: center;
    }
    
    .parlamentar-nome {
        font-size: 18px;
    }
}

/* ============================================================================================================
   SEÇÃO DE DOCUMENTOS DA EMENDA
   ============================================================================================================ */

.documentos-secao {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px dashed #e2e8f0;
}

.documentos-secao h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e40af;
    margin-bottom: 16px;
}

.documentos-secao h4 i {
    color: #3b82f6;
}

.documentos-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.documentos-grupo {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
}

.documentos-grupo-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.documentos-grupo-titulo i {
    color: #3b82f6;
}

.documentos-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.documento-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.documento-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
}

.documento-icone {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.documento-icone i {
    font-size: 20px;
    color: #dc2626;
    transition: all 0.2s ease;
}

/* Link no ícone do documento */
.documento-icon-link {
    text-decoration: none;
    display: flex;
}

.documento-icon-link:hover .documento-icone {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.documento-icon-link:hover .documento-icone i {
    color: #b91c1c;
}

/* Cores diferentes por tipo de arquivo */
.documento-item:has(.fa-file-word) .documento-icone {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.documento-item:has(.fa-file-word) .documento-icone i {
    color: #2563eb;
}

.documento-item:has(.fa-file-excel) .documento-icone {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.documento-item:has(.fa-file-excel) .documento-icone i {
    color: #16a34a;
}

.documento-item:has(.fa-file-image) .documento-icone {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.documento-item:has(.fa-file-image) .documento-icone i {
    color: #d97706;
}

.documento-item:has(.fa-file-zipper) .documento-icone {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}
.documento-item:has(.fa-file-zipper) .documento-icone i {
    color: #9333ea;
}

.documento-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.documento-nome {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.documento-tipo {
    font-size: 12px;
    color: #64748b;
}

.documento-processo,
.documento-data {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.documento-processo i,
.documento-data i {
    font-size: 10px;
}

.documento-download {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.documento-download:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Responsivo para documentos */
@media (max-width: 576px) {
    .documento-item {
        flex-wrap: wrap;
    }
    
    .documento-info {
        flex: 1 1 calc(100% - 60px);
    }
    
    .documento-download {
        margin-left: auto;
    }
}

/* ============================================================================================================
   LINKS CLICÁVEIS EM NOMES DE ARQUIVOS
   ============================================================================================================ */

/* Link no nome dos documentos obrigatórios */
.doc-nome-link {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.doc-nome-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Link no ícone dos documentos obrigatórios */
.doc-icon-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.doc-icon-link:hover .doc-icon {
    transform: scale(1.1);
}

.doc-icon-link:hover .doc-icon.extrato {
    color: #059669;
}

.doc-icon-link:hover .doc-icon.relatorio {
    color: #2563eb;
}

/* Link genérico em nome de documento */
.documento-nome-link {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.documento-nome-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Link em nome de arquivo genérico */
.arquivo-nome-link {
    flex: 1;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arquivo-nome-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Item de arquivo de comprovante (com botão de download) */
.arquivo-item-comprovante {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 6px;
    font-size: 13px;
}

/* Link no ícone de comprovante */
.arquivo-icon-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.arquivo-icon-link i {
    color: #ef4444;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.arquivo-icon-link:hover i {
    color: #3b82f6;
    transform: scale(1.15);
}

.arquivo-item-comprovante > i:first-child {
    color: #ef4444;
    font-size: 14px;
    flex-shrink: 0;
}

.arquivo-download-mini {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.arquivo-download-mini:hover {
    background: #3b82f6;
    color: #ffffff;
}

.arquivo-download-mini i {
    font-size: 12px;
}

/* Item de arquivo solto (com botão de download) */
.arquivo-item-solto {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.arquivo-item-solto:hover {
    background: #f8fafc;
}

.arquivo-item-solto > .arquivo-icon-link i {
    color: #ef4444;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.arquivo-item-solto > .arquivo-icon-link:hover i {
    color: #3b82f6;
    transform: scale(1.15);
}

.arquivo-item-solto > i:first-child {
    color: #ef4444;
    font-size: 16px;
    flex-shrink: 0;
}

.arquivo-download-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.arquivo-download-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* ============================================================================================================
   ANEXOS DA PARCELA
   ============================================================================================================ */

.anexos-parcela-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anexo-parcela-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.anexo-parcela-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.anexo-icone {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.anexo-icone i {
    font-size: 18px;
    color: #d97706;
    transition: all 0.2s ease;
}

/* Link no ícone do anexo */
.anexo-icon-link {
    text-decoration: none;
    display: flex;
}

.anexo-icon-link:hover .anexo-icone {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.anexo-icon-link:hover .anexo-icone i {
    color: #b45309;
}

.anexo-nome-link {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.anexo-nome-link:hover {
    color: #78350f;
    text-decoration: underline;
}

.anexo-download-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    color: #d97706;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.anexo-download-btn:hover {
    background: #d97706;
    color: #ffffff;
}

/* Responsivo para anexos */
@media (max-width: 576px) {
    .anexo-parcela-item {
        flex-wrap: wrap;
    }
    
    .anexo-nome-link {
        flex: 1 1 calc(100% - 100px);
    }
}