.leaflet-popup-content img {
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Definições globais */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9; /* Fundo suave */
    color: #333; /* Texto escuro */
    line-height: 1.6;
}

/* Cabeçalho da página */
h1 {
    text-align: center;
    background-color: #000880; /* Azul PM*/
    color: white;
    padding: 20px 0;
    margin: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra leve */
}

/* Contêiner do mapa */
#map {
    margin: 20px auto;
    width: 100%;
    height: 600px;
    border-radius: 8px; /* Bordas arredondadas */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra */
    overflow: hidden;
}

.leaflet-popup-content {
  max-width: 200px;
  max-height: 200px;
  overflow: hidden;
  text-align: center;
}

.leaflet-popup-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.leaflet-popup-content-wrapper {
  max-width: 220px;
}
/* Ajustes para imagens no popup */
.leaflet-popup-content img {
    border-radius: 8px; /* Bordas arredondadas */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Sombra leve */
    transition: transform 0.3s ease;
}

.leaflet-popup-content img:hover {
    transform: scale(1.1); /* Zoom ao passar o mouse */
}

/* Links no popup */
.leaflet-popup-content a {
    text-decoration: none;
    color: #3f51b5; /* Azul suave */
    font-weight: bold;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
    color: #1a237e; /* Azul mais escuro */
}

/* Estilo responsivo */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        padding: 15px 0;
    }

    #map {
        width: 100%;
    }
}
