/* Fundo com estilo "chiado" */
body {
  background: #000; /* Preto para o fundo */
  background-image: radial-gradient(#1a1a1a 1px, transparent 1px),
                    radial-gradient(#1a1a1a 1px, transparent 1px);
  background-size: 5px 5px;
  background-position: 0 0, 2.5px 2.5px;
  color: #FFFFFF; /* Branco para o texto */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Garantir que ocupe toda a altura da tela */
  overflow: hidden; /* Impede rolagem indesejada */
}

.container {
  width: 100%; /* Largura 100% da tela */
  height: 100%; /* Altura 100% da tela */
  padding: 20px;
  text-align: center;
  background-color: rgba(0, 128, 0, 0.9); /* Fundo verde escuro levemente transparente */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  color: #FFFFFF; /* Branco */
  font-size: 24px;
  margin-bottom: 20px;
}

p {
  font-size: 14px;
  color: #FFFFFF; /* Branco */
}

#status {
  color: #FFFF00; /* Amarelo para avisos */
  font-weight: bold;
  margin-bottom: 15px;
}

form {
  display: flex;
  flex-direction: column;
}

input {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #FFFFFF; /* Branco */
  border-radius: 4px;
  background-color: #006400; /* Verde escuro */
  color: #FFFFFF; /* Branco */
}

input::placeholder {
  color: #FFFFFF; /* Branco */
}

button {
  padding: 10px;
  font-size: 16px;
  background-color: #32CD32; /* Verde brilhante */
  color: #FFFFFF; /* Branco */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #228B22; /* Verde mais escuro */
}

/* Responsividade para dispositivos móveis */
@media (max-width: 600px) {
  body {
    padding: 0;
    margin: 0;
  }

  .container {
    width: 100%;
    height: 100%; /* Certifica-se que ocupe toda a altura da tela */
    padding: 10px;
  }

  h1 {
    font-size: 20px;
  }

  input, button {
    font-size: 14px;
  }

  input {
    padding: 12px;
  }

  button {
    padding: 12px;
    font-size: 18px;
  }
}

/* Garantir que a altura ocupe 100% da tela em dispositivos móveis */
@media (max-width: 400px) {
  body {
    padding: 0;
    margin: 0;
  }

  .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
  }

  h1 {
    font-size: 18px;
  }

  input, button {
    font-size: 14px;
  }
}

.back-btn-container {
  text-align: center;
  margin-top: 30px;
}

.back-btn {
  display: inline-block;
  background: #7dd957;
  color: #ffffff;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: #f438f3;
}
