body {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}
.dashboard-container {
    background: #2d3748; 
    padding: 24px; 
    border-radius: 18px; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    max-width: 1600px;
    margin: auto;
}
.dashboard-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 24px; 
}
.dashboard-header h2 { 
    color: #e2e8f0; 
    margin: 0; 
}
.filtros-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 24px; 
    flex-wrap: wrap; 
}
.filtro-item { display: flex; align-items: center; gap: 8px; }
.filtro-item label { color: #a0aec0; font-weight: 500; font-size: 14px; }
.filtro-item select { 
    background-color: #4a5568; 
    color: #e2e8f0; 
    border: 1px solid #718096; 
    border-radius: 8px; 
    padding: 8px 12px; 
    font-size: 16px; 
}
.cards-resumo { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 18px; 
    margin-bottom: 28px; 
}
.card { 
    background: #fff; 
    border-radius: 10px; 
    padding: 18px; 
    box-shadow: 0 2px 12px #00000014; 
    color: #2d3748;
}
.card h4 { 
    color: #718096; 
    font-size: 13px; 
    font-weight: 600; 
    margin: 0 0 4px 0; 
    text-transform: uppercase; 
}
.card .valor { 
    color: #3182ce; 
    font-size: 26px; 
    font-weight: 700; 
    word-wrap: break-word; 
    min-height: 32px; 
}
#visao-detalhada-container { 
    margin-bottom: 28px; 
}
#detalhes-colaboradores-container { 
    display: flex; 
    align-items: stretch; 
    gap: 20px; 
    margin-top: 20px;
}
.detalhe-card { 
    background: #fff; 
    border-radius: 10px; 
    padding: 16px; 
    box-shadow: 0 2px 12px #00000014; 
    flex-basis: 50%; 
    display: flex; 
    flex-direction: column;
    color: #2d3748;
}
.detalhe-card h6 { 
    margin-top: 0; 
    font-size: 1rem; 
    color: #4a5568; 
    border-bottom: 1px solid #edf2f7; 
    padding-bottom: 10px; 
    margin-bottom: 8px; 
    flex-shrink: 0; 
}
.detalhe-list-wrapper { 
    flex-grow: 1; 
    overflow-y: auto; 
    max-height: 320px; 
}
.detalhe-list { list-style-type: none; padding: 0; margin: 0; }
.detalhe-item { 
    display: flex; 
    justify-content: space-between; 
    padding: 6px 4px; 
    border-bottom: 1px solid #f7fafc; 
    font-size: 14px; 
}
.meta-item { margin-bottom: 15px; }
.meta-label { 
    display: flex; 
    justify-content: space-between; 
    font-size: 14px; 
    margin-bottom: 6px; 
}
.meta-progress-bar { 
    background-color: #e2e8f0; 
    border-radius: 8px; 
    height: 16px; 
    overflow: hidden; 
}
.meta-progress { 
    background-color: #3182ce; 
    height: 100%; 
    border-radius: 8px; 
}
.graficos-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px; 
    margin-bottom: 20px;
}
.grafico { 
    background: #4a5568; 
    border-radius: 10px; 
    padding: 16px; 
}
.top-ocorrencias-container { 
    margin-bottom: 28px; 
}
.top-ocorrencias-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 20px; 
}
.tables-bis { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; 
}
.table-bi { 
    background: #fff; 
    border-radius: 10px; 
    padding: 12px;
    color: #2d3748;
}
.table-bi h4 { 
    margin: 5px 5px 10px 5px; 
    color: #3182ce; 
    font-size: 1rem; 
}
.table-bi table { 
    border-collapse: collapse; 
    width: 100%; 
}
.table-bi th, .table-bi td { 
    font-size: 14px; 
    padding: 6px 8px; 
    text-align: left; 
}
.table-bi th { 
    color: #4a5568; 
    font-weight: 700; 
    border-bottom: 1px solid #e2e8f0; 
}
