/* Estilos para o fundo com imagem e cor de fundo */
.tv_fundo {
  background-image: url(../images/background.png);
  background-color: #800000; /* Cor de fundo */
  background-size: cover;
  position: relative;
  top: -140px; /* Ajuste da posição do fundo */
}

.tv_fundo img {
  height: auto;
  width: 100%;
  position: relative;
  max-width: 1200px;
  bottom: -150px;
}

/* Responsividade */
@media screen and (max-width: 991px) {
  .tv_fundo {
    top: -100px;
  }
  .tv_fundo img {
    bottom: -100px;
  }
}

@media screen and (max-width: 720px) {
  .tv_fundo {
    top: -80px;
  }
  .tv_fundo img {
    bottom: -80px;
  }
}

@media screen and (max-width: 576px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: table;
  }
}

@media screen and (max-width: 480px) {
  .tv_fundo {
    top: -60px;
  }
  .tv_fundo img {
    bottom: -60px;
  }
}

@media screen and (max-width: 320px) {
  .tv_fundo {
    top: -50px;
  }
  .tv_fundo img {
    bottom: -50px;
  }
}

/* Estilos para o fundo desfocado */
.blurred-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Fundo escurecido */
  -webkit-backdrop-filter: blur(5px); /* Prefixo para Safari */
  backdrop-filter: blur(5px); /* Efeito de desfoque */
  z-index: 999; /* Garante que o fundo esteja atrás do popup */
  display: none; /* Inicialmente invisível */
}

/* Estilos do popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Garante que o popup esteja acima do fundo desfocado */
  display: none; /* Inicialmente invisível */
  width: 300px;
  text-align: center;
}

/* Estilo do botão no popup */
.popup button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup button:hover {
  background-color: #45a049;
}

/* Estilo do seletor (select) no popup */
.popup select {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Estilo para mensagens de erro */
.popup select:focus {
  border-color: #4CAF50;
  outline: none;
}







/* Título do popup */
h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* Iframe do mapa */
iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
}

/* Campo de entrada para cidade */
#cityInput {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Botão principal */
#coverageForm button {
  padding: 12px 25px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

/* Seção de resultados */
#result {
  margin-top: 20px;
  text-align: center;
}

#result span {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

#proceedButton {
  margin-top: 15px;
  padding: 10px 20px;
  background: #28A745;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  display: none;
}


/* Campo de entrada para cidade */
#cityInput {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  text-align: center; /* Centraliza o texto digitado */
}




















