/* ============================================================================
   CSS DO MÓDULO PARTICIPAÇÃO CIDADÃ
   Encapsulado em .modulo-cidadao para não interferir no CSS base
   ============================================================================ */
.modulo-cidadao .cidadao-hub-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    margin-bottom: 2rem;
}
.modulo-cidadao .cidadao-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.modulo-cidadao .cidadao-hub-card .card-header {
    padding: 2rem 1.5rem;
    border-bottom: none;
    text-align: center;
    border-radius: 3px !important;
}
.modulo-cidadao .cidadao-hub-card .card-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    width: 100%;
}
.modulo-cidadao .cidadao-hub-card .card-header h5 {
    text-align: center;
    margin: 0;
    font-weight: 600;
}
.modulo-cidadao .cidadao-hub-card .card-body {
    padding: 1.5rem;
}
.modulo-cidadao .cidadao-hub-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.modulo-cidadao .cidadao-hub-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}
.modulo-cidadao .cidadao-hub-card .card-footer {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
}
.modulo-cidadao .cidadao-hub-card .btn-hub {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.modulo-cidadao .cidadao-hub-card .btn-hub:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Cores temáticas para cada hub - usando cores do menu */
.modulo-cidadao .hub-educativo .card-header {
    background: linear-gradient(135deg, #28ABE3 0%, #1e8bc4 100%);
}
.modulo-cidadao .hub-participacao .card-header {
    background: linear-gradient(135deg, #72bf48 0%, #5a9a3a 100%);
}
.modulo-cidadao .hub-estatisticas .card-header {
    background: linear-gradient(135deg, #9f5fb9 0%, #7a4692 100%);
}
/* Botões com cores do menu */
.modulo-cidadao .hub-educativo .btn-hub.btn-primary {
    background-color: #28ABE3 !important;
    border-color: #28ABE3 !important;
}
.modulo-cidadao .hub-educativo .btn-hub.btn-primary:hover {
    background-color: #1e8bc4 !important;
    border-color: #1e8bc4 !important;
}
.modulo-cidadao .hub-participacao .btn-hub.btn-success {
    background-color: #72bf48 !important;
    border-color: #72bf48 !important;
}
.modulo-cidadao .hub-participacao .btn-hub.btn-success:hover {
    background-color: #5a9a3a !important;
    border-color: #5a9a3a !important;
}
/* Botão roxo para hub estatísticas - cor fortalecida */
.modulo-cidadao .btn-purple {
    background-color: #9f5fb9 !important;
    border-color: #9f5fb9 !important;
    color: #ffffff !important;
}
.modulo-cidadao .btn-purple:hover {
    background-color: #7a4692 !important;
    border-color: #7a4692 !important;
    color: #ffffff !important;
}
/* Seção informativa */
.modulo-cidadao .cidadao-info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
}
.modulo-cidadao .cidadao-info-section h3 {
    color: #212529;
    margin-bottom: 1.5rem;
}
.modulo-cidadao .cidadao-info-section .info-card-item {
    text-align: center;
    padding: 1.5rem;
}
.modulo-cidadao .cidadao-info-section .info-card-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.modulo-cidadao .cidadao-info-section .info-card-item h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
/* Responsividade */
@media (max-width: 768px) {
    .modulo-cidadao .cidadao-hub-card {
        margin-bottom: 1.5rem;
    }
    .modulo-cidadao .cidadao-hub-card .card-header {
        padding: 1.5rem 1rem;
    }
    .modulo-cidadao .cidadao-hub-card .card-header i {
        font-size: 2.5rem;
    }
}
.modulo-cidadao .cidadao-hub-card {
    animation: fadeInUp 0.6s ease-out;
}
.modulo-cidadao .cidadao-hub-card:nth-child(1) {
    animation-delay: 0.1s;
}
.modulo-cidadao .cidadao-hub-card:nth-child(2) {
    animation-delay: 0.2s;
}
.modulo-cidadao .cidadao-hub-card:nth-child(3) {
    animation-delay: 0.3s;
}
/* ============================================================================
   CSS PARA DASHBOARDS DE ESTATÍSTICAS
   ============================================================================ */
.modulo-cidadao .seletor-ano {
    border-radius: 3px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.modulo-cidadao .seletor-ano .form-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.modulo-cidadao .seletor-ano .form-group {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.modulo-cidadao .seletor-ano label {
    margin-bottom: 0;
    display: inline-block;
    font-size: 0.95rem;
    white-space: nowrap;
}
.modulo-cidadao .seletor-ano select {
    border-radius: 3px;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 1rem;
    min-width: 120px;
    max-width: 200px;
    cursor: pointer;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}
.modulo-cidadao .seletor-ano .btn {
    white-space: nowrap;
    padding: 0.5rem 1rem;
}
.modulo-cidadao .card-estatistica {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.modulo-cidadao .card-estatistica:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.modulo-cidadao .card-estatistica .card-body h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.modulo-cidadao .stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    padding: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.modulo-cidadao .stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.modulo-cidadao .stats-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}
.modulo-cidadao .stats-card p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}
.modulo-cidadao .view-toggle {
    margin-bottom: 2rem;
}
.modulo-cidadao .view-toggle .btn {
    margin: 0 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
}
.modulo-cidadao .grafico-section,
.modulo-cidadao .tabela-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}
.modulo-cidadao .grafico-section.show,
.modulo-cidadao .tabela-section.show {
    opacity: 1;
    transform: translateY(0);
}
.modulo-cidadao .grafico-section h4,
.modulo-cidadao .tabela-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.modulo-cidadao .chart-container {
    position: relative;
    height: 400px;
    margin-bottom: 2rem;
}