#installButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#installButton:hover {
  background-color: #45a049;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  margin-top: 100px;
}

h1 {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 10px;
}

input, select, button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button:not(.voltar-btn) {
  background-color: #003c64;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

button:not(.voltar-btn):hover {
  background-color: #002a48;
}

/* Estilo do Botão Voltar */
.voltar-btn {
  background-color: transparent;
  color: #6c757d;
  font-size: 14px;
  padding: 6px 0;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  touch-action: manipulation; /* Melhora resposta ao toque no Android */
  position: relative;
  z-index: 10; /* Garante que o botão esteja acima de outros elementos */
}

.voltar-btn:hover {
  color: #5a6268;
}

.voltar-btn:disabled {
  color: #6c757d;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Estilos do Banner Superior */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.top-banner a {
  display: block;
}

.top-banner-image {
  width: 100%;
  height: auto; /* Altura proporcional  largura (1080x300, proporo 3.6:1) */
  max-height: 150px; /* Limita a altura em telas muito largas */
  object-fit: contain; /* Garante que o banner seja exibido inteiro */
}

@media (max-width: 400px) {
  .container {
    margin-top: calc(27.78vw + 30px); /* Ajustado para telas menores */
  }

  .top-banner-image {
   max-height: 120px; /* Limita a altura em telas pequenas para evitar excesso */
  }
}

/* Estilos dos Banners Inferiores */
.bottom-banners {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 300px;
}

.bottom-banner {
  width: 100%;
  max-width: 400px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 10px auto;
  box-sizing: border-box;
}

.bottom-banner a {
  display: block;
}

.bottom-banner-image {
  width: 100%;
  height: auto; /* Altura proporcional  largura */
  max-height: 150px; /* Limita a altura para evitar banners muito grandes */
  object-fit: contain; /* Exibe a imagem completa sem cortes */
}

@media (max-width: 400px) {
  .bottom-banner-image {
    height: 120px;
  }
}