/* .container{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
  }
  .svg{
    width: 40%;
  }
  .norte {
    fill: #1b1d1b;
  }
  .nordeste {
    fill: #262523;
  }
  .centro-oeste {
    fill: #272320;
  }
  .sudeste {
    fill: #414647;
  }
  .sul {
    fill: #38393e;
  }
  .path2 {
    fill: #3c3c3c;
    stroke: white;
    stroke-width: 1px;
  }
  .path2:hover {
    fill: rgb(21, 50, 196);
    stroke: rgb(255, 255, 255);
    stroke-width: 3px;
    transition: fill 0.4s;
  }
  .tooltip {
    pointer-events: none;
    position: absolute;
    font-size: 18px;
    text-align: center;
    background: white;
    padding: 10px 15px;
    z-index: 5;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    color: #21669e;
    border-radius: 5px;
    transform: translateX(-50%);
    display: none;
  }
  .tooltip.active {
    display: block;
  }
  .tooltip:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0;
    height: 0;
    margin-left: -10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
  }

  .theme{
    background-color: rgba(197, 12, 12, 0.911);
    border-radius: 6px;
    color: white;
    padding: 1dvh;
    font-size: 2rem;
  }
  .theme2{
    background-color: rgba(6, 167, 41, 0.911);
    border-radius: 6px;
    color: white;
    padding: 1dvh;
    font-size: 2rem;
  }
  .theme3{
    background-color: rgba(6, 123, 231, 0.911);
    border-radius: 6px;
    color: white;
    padding: 1dvh;
    font-size: 2rem;

  }*/
/*BARRA AZUL ABAIXO DO NOME*/
.cor{
    background-color: #052d54;
    /* height: 10dvw; */
    color: white;
    font-weight: bold;
    padding:0%;
    border-radius: 5px;
    padding-bottom: 0%;

}
.details{
    font-size: 20px;
    color:rgb(253, 253, 253);
    z-index: 1;

}

.theme-color{
 color:honeydew
}
.cores{
    --default-color:white;
}
.estado {
    fill: #e0e0e0;
    stroke: #333;
    stroke-width: 1px;
    transition: all 0.3s ease;
}

.estado:hover {
    stroke: #b0b3b8;
    stroke-width: 2px;
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.2));
}

.estado-ativo {
    stroke: #b0b1b3 !important; /* Destaque para estado selecionado */
    stroke-width: 1.5px !important;
}
/*MAPA
 .container-mapa {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.mapa-wrapper {
    display: flex;
    position: relative;
    background: white;
    border-radius: 42px;
    box-shadow:35px 81px 52px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}*/
/* Garante que o modal fique bem em mobile */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
    }

    .pesquisas-lista {
        max-height: calc(100vh - 200px) !important;
    }
}
  /* Animações personalizadas */
        .modal.fade .modal-dialog {
            transform: scale(0.8) translateY(-50px);
            transition: all 0.3s ease-out;
        }

        .modal.show .modal-dialog {
            transform: scale(1) translateY(0);
        }

        /* Header melhorado */
        .modal-header-custom {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-bottom: none;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .modal-header-custom::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

        .modal-title-custom {
            font-weight: 600;
            font-size: 1.4rem;
            margin: 0;
            position: relative;
            z-index: 1;
        }

        .modal-title-custom i {
            margin-right: 0.5rem;
            font-size: 1.2rem;
        }

        .btn-close-custom {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .btn-close-custom:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        /* Body melhorado */
        .modal-body-custom {
            padding: 2rem;
            min-height: 200px;
        }

        .estado-nome {
            color: #2c3e50;
            font-weight: 600;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e9ecef;
            position: relative;
        }

        .estado-nome::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 50px;
            height: 2px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .pesquisas-container {
            max-height: 400px;
            overflow-y: auto;
            padding-right: 10px;
        }

        .pesquisas-container::-webkit-scrollbar {
            width: 6px;
        }

        .pesquisas-container::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .pesquisas-container::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }

        .pesquisas-container::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

        /* Cards de pesquisa */
        .pesquisa-card {
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .pesquisa-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border-color: #667eea;
        }

        .pesquisa-titulo {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .pesquisa-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            color: #6c757d;
        }

        .meta-item i {
            margin-right: 0.3rem;
            width: 14px;
        }

        .pesquisa-descricao {
            color: #495057;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        .pesquisa-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .tag {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Estados especiais */
        .loading-state {
            text-align: center;
            padding: 3rem 1rem;
            color: #6c757d;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .empty-state {
            text-align: center;
            padding: 3rem 1rem;
            color: #6c757d;
        }

        .empty-state i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        /* Footer melhorado */
        .modal-footer-custom {
            padding: 1.5rem 2rem;
            border-top: 1px solid #e9ecef;
            background: #f8f9fa;
        }

        .btn-custom {
            padding: 0.6rem 1.5rem;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .btn-primary-custom:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-secondary-custom {
            background: #6c757d;
            color: white;
        }

        .btn-secondary-custom:hover {
            background: #5a6268;
            transform: translateY(-1px);
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .modal-dialog {
                margin: 1rem;
            }

            .modal-body-custom {
                padding: 1.5rem;
            }

            .modal-footer-custom {
                padding: 1rem 1.5rem;
            }

            .pesquisa-meta {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
/* Melhora a usabilidade em touch */
.estado {
    touch-action: manipulation;
}

.pesquisa-item {
    transition: transform 0.2s;
}
.pesquisas-container {
    max-height: 60vh;
    overflow-y: auto;
}

.pesquisa-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

#verPesquisa {
    transition: all 0.3s;
}

.pesquisa-item:active {
    transform: scale(0.98);
}
 .container-mapa {
        max-width: 800px; /* Ajuste conforme necessário */
        margin: 0 auto;
        padding: 20px;
    }

    .svg-container {
        position: relative;
        width: 100%;
        padding-bottom: 100%; /* Proporção 1:1 (ajuste conforme necessário) */
        overflow: hidden;
    }

    .svg-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .estado {
        transition: fill 0.3s;
    }

    .estado-ativo {
        fill: #818386;
        cursor: pointer;
    }

    .estado-inativo {
        fill: #e0e0e0;
        cursor: default;
    }

    .estado-ativo:hover {
        fill: #337f60;
    }

    .estado-selecionado {
        fill: #ffffff;
        stroke: #333;
        stroke-width: 1px;
    }

    @media (max-width: 768px) {
        .container-mapa {
            padding: 10px;
        }
    }
/*
.estado {
    cursor: pointer;
    transition: all 0.3s ease;
    stroke: #fff;
    stroke-width: 0.5;
    fill: #9fa8da;
}

.estado:hover {
    fill: #7986cb;
}

.estado.active {
    fill: #3949ab;
    stroke-width: 1;
}

.info-panel {
    width: 70dvi;
    background: #ffffff;
    border-left: 1px solid #ffffff;
    padding: 20px;
    position: relative;
    transform: translateX(0);
    transition: transform 0.3s ease;
    box-shadow: -15px 0 15px rgba(0, 0, 0, 0.05);
}

.info-panel.hidden {
    transform: translateX(100%);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.panel-content {
    margin-top: 20px;
}

.panel-content h2 {
    color: #3949ab;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-item {
    margin-bottom: 15px;
   text-align: left;
}

.info-label {
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

.info-value {
    color: #333;
}

@media (max-width: 768px) {
    .mapa-wrapper {
        flex-direction: column;
    }

    .mapa-container, .info-panel {
        width: 100%;
    }

    .info-panel {
        border-left: none;
        border-top: 1px solid #e0e0e0;
    }
}
/* Accordion Styles
.accordion-container {
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #3949ab;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.accordion-content.show {
    padding: 15px;
    max-height: 500px;
}

.accordion-content .info-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.accordion-content .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
} */
