body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-top: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Estilização da pesquisa */
.pesquisa-container {
    position: relative;
    width: 80%;
    margin-top: 50px;
    margin-bottom: 30px;
}

#pesquisa {
    width: 80%;
    padding: 12px 40px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s;
  margin-top: 50px;
}

#pesquisa:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 8px rgba(26, 188, 156, 0.5);
}

.pesquisa-container i {
    position: relative;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #888;
}

/* Layout flexível */
.flex-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

#mapa, #detalhes {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f4f4f4;
}

/* Responsividade: Exibir os itens em coluna no mobile */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }

    #mapa, #detalhes {
        width: 100%;
    }
}

#lista-cidades {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.cidade-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
    margin-bottom: 10px;
}

.cidade-item:hover {
    background-color: #e0e0e0;
}

/* Estilização da paginação */
#paginacao {
    margin-top: 30px;
}

.pagina {
    padding: 10px 15px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    background: #2c3e50;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.pagina-ativa {
    background: #1abc9c;
}

/* Estilização das imagens */
.perfil-prefeito, .perfil-vice {
    text-align: center;
    margin-bottom: 30px;
}

.perfil-prefeito img, .perfil-vice img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ddd;
}
