 #intro-modal {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.55);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
 }

 body.modal-open {
     overflow: hidden;
 }

 /* Caixa do popup */
 #intro-box {
     background: white;
     width: 90%;
     max-width: 800px;
     border-radius: 10px;
     padding: 25px 35px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
 }

 #intro-box h2,
 #intro-box h3 {
     margin: 15px 0 8px;
     font-weight: bold;
 }

 #intro-box p,
 #intro-box ul {
     font-size: 14px;
     line-height: 1.45;
 }

 #intro-box ul {
     margin-left: 20px;
     margin-bottom: 15px;
 }

 /* Checkbox */
 #intro-checkbox {
     width: 18px;
     height: 18px;
 }

 /* Botão desativado */
 #intro-continue {
     padding: 10px 22px;
     border: none;
     border-radius: 6px;
     margin-top: 15px;
     font-size: 15px;
     font-weight: 600;
     cursor: not-allowed;
     background: #d1d1d1;
     color: #555;
 }

 /* Botão ativo */
 #intro-continue.enabled {
     background: #2B6CB0;
     color: white;
     cursor: pointer;
 }

 #intro-continue.enabled:hover {
     background: #1A4971;
 }

 /* Logo */
 #intro-logo {
     display: block;
     margin: 0 auto 20px auto;
     height: 50px;
 }

 /* Isso aqui é da tabela que aparece no pop-up do painel4 */
 table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
     background: #fff;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
     font-family: "Segoe UI", sans-serif;
 }

 /* Cabeçalho */
 table thead tr {
     background: #f7f7f7;
 }

 table thead th {
     text-align: left;
     padding: 14px 18px;
     font-size: 15px;
     font-weight: 600;
     color: #333;
     border-bottom: 1px solid #e6e6e6;
 }

 /* Linhas */
 table tbody tr {
     transition: background 0.2s ease;
 }

 table tbody tr:nth-child(even) {
     background: #fafafa;
 }

 table tbody tr:hover {
     background: #f0f6ff;
 }

 /* Células */
 table td {
     padding: 14px 18px;
     font-size: 14px;
     color: #444;
     border-bottom: 1px solid #ececec;
 }

 /* Remove border da última linha */
 table tbody tr:last-child td {
     border-bottom: none;
 }


 /* Isso aqui abaixo faz parte do painel4, coloquei aqui pra lá ficar mais bonito */
 /* Passarei pra tailwind assim que eu aprender kkk */
 .title-colorBlind {
     display: grid;
     align-items: center;
     margin-bottom: 1rem;
 }

 .regraAltura {
     height: 15rem;
     width: 17rem;
     text-align: center;
     align-items: center;
 }

 .searchbar textarea {
     position: relative;
     width: 31rem;
     padding: 20px 15px 0px 40px;
     border-radius: 5px;
     border: solid lightgray 1px;
     font-size: 16px;
     resize: none;
 }

 #ano-filter .chip,
 #mes-filter .chip,
 #idade-filter .chip {
     width: 3rem;
     height: 3rem;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.875rem;
     border-radius: 0.375rem;
     background-color: #e5e7eb;
     color: #1f2937;
     cursor: pointer;
     transition: background-color 0.2s;
 }

 #ano-filter .chip:hover,
 #mes-filter .chip:hover,
 #idade-filter .chip:hover {
     background-color: #d1d5db;
 }

 /* Mantém a aparência quando selecionado */
 #ano-filter .chip.selected,
 #mes-filter .chip.selected,
 #idade-filter .chip.selected {
     background-color: #2B6CB0 !important;
     color: white !important;
 }

 #ano-filter .chip {
     width: 5rem;
 }

 #cid-filter {
     width: 31rem;
     height: 15rem;
 }

 hr {
     height: 22rem;
     width: 0.2px;
     background-color: lightgray;
 }

 .dados {
     padding-top: 5%;
 }

 /* === MELHORIAS DO MODAL DE INTRODUÇÃO === */
 #intro-box {
     border-top: 5px solid #2B6CB0;
     max-height: 85vh;
     overflow-y: auto;
 }

 #intro-box h3 {
     border-left: 3px solid #2B6CB0;
     padding: 3px 8px;
     background-color: #f8fafc;
     border-radius: 0 4px 4px 0;
     margin: 14px 0 8px;
     font-weight: bold;
 }

 /* Separador de seção (Filtros) */
 .filtros-section-header {
     display: flex;
     align-items: center;
     gap: 10px;
     margin-bottom: 1rem;
     color: #6b7280;
     font-size: 0.75rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.05em;
 }

 .filtros-section-header::before,
 .filtros-section-header::after {
     content: '';
     flex: 1;
     height: 1px;
     background: #e5e7eb;
 }

 /* KPI cards */
 .kpi-card {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }

 .kpi-card .kpi-icon {
     font-size: 1.6rem;
     color: #2B6CB0;
     margin-bottom: 4px;
 }

 .kpi-card .kpi-label {
     font-size: 0.82rem;
     color: #6b7280;
     font-weight: 500;
     margin-bottom: 4px;
 }

 .kpi-card .kpi-value {
     font-size: 1.75rem;
     font-weight: 700;
     color: #1A4971;
     line-height: 1.15;
 }

 /* === FILTROS ATIVOS – PAINEL FLUTUANTE === */
 .filtros-ativos-btn {
     position: fixed;
     bottom: 5.5rem;
     right: 1.5rem;
     background: #2B6CB0;
     color: white;
     border: none;
     border-radius: 50px;
     padding: 10px 18px;
     font-size: 14px;
     font-weight: 600;
     cursor: pointer;
     box-shadow: 0 4px 14px rgba(43, 108, 176, 0.45);
     display: flex;
     align-items: center;
     gap: 8px;
     z-index: 1000;
     transition: background 0.2s, transform 0.15s;
 }

 .filtros-ativos-btn:hover {
     background: #1A4971;
     transform: translateY(-2px);
 }

 .filtros-ativos-badge {
     background: #E53E3E;
     color: white;
     border-radius: 50%;
     min-width: 20px;
     height: 20px;
     padding: 0 4px;
     font-size: 11px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: 700;
 }

 .filtros-ativos-panel {
     position: fixed;
     bottom: 9.5rem;
     right: 1.5rem;
     width: 300px;
     max-height: 400px;
     overflow-y: auto;
     background: white;
     border-top: 4px solid #2B6CB0;
     border-radius: 12px;
     box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
     border: 1px solid #e2e8f0;
     z-index: 999;
     padding: 16px;
 }

 .filtros-ativos-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 12px;
     font-weight: 600;
     font-size: 14px;
     color: #1A4971;
     border-bottom: 1px solid #e2e8f0;
     padding-bottom: 8px;
 }

 .filtros-ativos-close {
     background: none;
     border: none;
     cursor: pointer;
     color: #6b7280;
     font-size: 16px;
     line-height: 1;
     padding: 2px 6px;
     border-radius: 4px;
 }

 .filtros-ativos-close:hover {
     background: #f3f4f6;
 }

 .filtros-ativos-lista {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .filtro-tag {
     background: #EBF4FF;
     border: 1px solid #BEE3F8;
     border-radius: 6px;
     padding: 6px 10px;
     font-size: 13px;
     color: #2D3748;
     line-height: 1.4;
 }

 .filtro-tag-label {
     font-weight: 600;
     color: #2B6CB0;
     margin-right: 4px;
 }