@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #0b1020, #1e1e2e);
  color: #00f6ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: rgba(0,0,0,0.8);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 30px #00f6ff;
  width: 90%;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

h1, h2 {
  margin-bottom: 20px;
  color: #00f6ff;
  text-shadow: 0 0 10px #00f6ff;
}

input, select, button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
}

input, select {
  background: rgba(255,255,255,0.05);
  color: #00f6ff;
}

button {
  background: #00f6ff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #00ffa3;
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffa3;
}

.error, .alert {
  color: #ff4f4f;
  font-weight: bold;
  text-shadow: 0 0 5px #ff4f4f;
}

footer.footer {
  margin-top: 15px;
  font-size: 12px;
  color: #00f6ff;
  text-align: center;
  opacity: 0.6;
}

#resultado-container {
  background: rgba(0,0,0,0.85);
  padding: 15px;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 0 10px #00f6ff;
  position: relative;
}

pre {
  text-align: left;
  color: #00f6ff;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Botão de copiar resultado */
#copiarResultado {
  display: none; /* Inicialmente escondido */
  margin-top: 15px;
  padding: 12px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  background: #00f6ff;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center; /* Centraliza fora da caixa de resultados */
}

#copiarResultado:hover {
  background: #00ffa3;
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffa3, 0 0 40px #00ffa3, 0 0 60px #00ffa3;
}