* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
  color: white;
  animation: fadeIn 1s ease-in-out;
  z-index: 2;
  width: 90vw;
  max-width: 400px;
}

.container h1 {
  color: #ffffff;
  margin-bottom: 30px;
}

.container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.container input[type="text"],
.container input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #1e1e1e;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.container input[type="text"]:focus,
.container input[type="password"]:focus {
  outline: none;
  border-color: #a78bfa;
}

/* Botões iguais aos do formulário.php */
.botao-enviar,
.botao-voltar {
  width: 100%;
  padding: 1.5vh;
  border: none;
  border-radius: 1.2vh;
  font-weight: bold;
  font-size: 2.1vh;
  cursor: pointer;
  transition: 0.3s;
  color: white;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  box-sizing: border-box;
}

.botao-enviar {
  background-image: linear-gradient(135deg, #7c3aed, #2a2a2a);
}

.botao-enviar:hover {
  background-image: linear-gradient(to right, #7c3aed, #4c1d95);
  transform: scale(1.03);
  box-shadow: 0 0 1vh #7c3aed;
}

.botao-voltar {
  background-color: #4c1d95;
  margin-top: 3vh;
}

.botao-voltar:hover {
  background-color: #7c3aed;
  transform: scale(1.05);
  box-shadow: 0 0 0.8vh #7c3aed;
}

.botao-esqueci-senha {
  display: block;
  margin: 12px auto 0 auto;
  color: #a084e8;
  background: none;
  border: none;
  font-size: 1em;
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s;
}
.botao-esqueci-senha:hover {
  color: #fff;
  text-decoration: underline;
}

/* Animação de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2vh);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
