body {
  background-color: lightsteelblue;
  margin: 0;
  padding: 0;
}

header {
  height: 10vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.logo {
  width: 25%;
  height: 75%;
  border-radius: 5vmin;
}

.logo img {
  width: 150px;
  height: 150px;
}

main {
  height: 80vh;
  box-sizing: border-box;
}

footer {
  height: 10vh;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: steelblue;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer img {
  height: 1.5vmin;
}

footer p {
  color: #FCF3F6;
  font-size: 1.5vmin;
  margin: 1vmin;
}

.mapa,
.mapa-container {
  position: relative;
  width: 50%;
  height: 90%;
  border-radius: 5vmin;
  overflow: hidden;
  cursor: grab;
  background-color: darkcyan;
}

.mapa {
  z-index: 1;
}

.mapa-container:active {
  cursor: grabbing;
}

.mapa-conteudo {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  transition: transform 0.1s ease-out;
}

.mapa-imagem {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  user-select: none;
  pointer-events: none;
}

.marcador {
  width: 3.5vmin;
  height: 3.5vmin;
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto; /* <- HABILITA CLIQUES */
  z-index: 5;
}

.busca {
  width: 350px;
  height: 50px;
  background-color: #003366;
  cursor: pointer;
  border-radius: 5vmin 5vmin 0 0;
  z-index: 2;
}

.busca input {
  outline: none;
  line-height: 50px;
  cursor: pointer;
}

.busca .cidades {
  background-color: #004080;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-height: 200px;
  list-style: none;
  z-index: 10;
  display: none;
}

.busca .cidades li {
  padding: 10px 25px;
  cursor: pointer;
  background-color: #003366;
}

.busca.active .cidades {
  display: block;
}

.mais {
  width: 5vmin;
  height: 5vmin;
  background-color: #AFE874;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  z-index: 10;
}

.mais.expandido {
  width: 25vmin;
  height: 25vmin;
  padding: 2vmin;
  border-radius: 50%;
  background-color: #AFE874;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.opcoes {
  display: none;
}

.mais.expandido .opcoes {
  display: block;
}

.opcoes li {
  position: absolute;
  width: 5vmin;
  height: 5vmin;
  transform: translate(-50%, -50%);
}

.opcoes li img {
  transition: transform 0.2s ease;
}

.opcoes li:hover img {
  transform: scale(1.2);
}

.mais .nome-desastre {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5vmin;
  color: #2B4B56;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1;
}

.mais.expandido.mostrar-nome .nome-desastre {
  opacity: 1;
}

.avisos-box {
  top: 20px;
  right: 20px;
  width: 300px;
  z-index: 1000;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.aviso {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.aviso.hide {
  opacity: 0;
  transform: translateX(50%);
}

.aviso .fechar {
  background: none;
  border: none;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
}

.aviso-warning {
  background-color: #f0ad4e;
}

.aviso-danger {
  background-color: #d9534f;
}

.aviso-info {
  background-color: #5bc0de;
}

.aviso-success {
  background-color: #5cb85c;
}

.aviso-primary {
  background-color: #337ab7;
}

.mais {
  display: none;
}

.mais.expandido .icone-mais {
  display: none;
}