body {
  background-color: #000;
  color: #0f0;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.hidden {
  display: none;
}

.terminal {
  text-align: center;
}

.digitando {
  font-size: 32px;
  font-weight: bold;
  color: #0f0;
}

.cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
  color: #0f0;
  font-size: 32px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.login input,
.login button {
  display: block;
  margin: 10px auto;
  padding: 10px;
  background-color: #111;
  border: 1px solid #0f0;
  color: #0f0;
  font-family: monospace;
  font-size: 16px;
  outline: none;
  transition: background-color 0.3s, color 0.3s;
}

.login button:hover {
  background-color: #0f0;
  color: #000;
}

.mensagem-erro {
  color: red;
  margin-top: 10px;
}

/* BOMBA */

.bomba-container {
  text-align: center;
  max-width: 400px;
}

.cronometro {
  font-size: 48px;
  color: red;
  animation: blink 1s steps(1, start) infinite;
  margin: 10px 0;
}

.barra {
  height: 10px;
  background: #0f0;
  width: 100%;
  animation: barraTempo 15s linear forwards;
}

@keyframes barraTempo {
  from { width: 100%; }
  to { width: 0%; }
}

.display-codigo {
  font-size: 32px;
  letter-spacing: 10px;
  margin: 15px 0;
}

.botoes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
  margin-top: 20px;
}

.botoes button {
  width: 60px;
  height: 60px;
  background-color: #000;
  border: 1px solid #0f0;
  color: #0f0;
  font-family: monospace;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.botoes button:hover {
  background-color: #0f0;
  color: #000;
}