body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #fbc2eb, #a6c1ee, #f5f7fa, #ff9a9e);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  font-family: 'Poppins', sans-serif;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ======== AJUSTE DE CONTRASTE E LEGIBILIDADE ======== */
.login-box {
  position: relative;
  z-index: 1;
  width: 300px;
  padding: 30px;
  border-radius: 20px;

  background: rgba(50, 50, 60, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);

  text-align: center;
  color: #f1f1f1;
}

/* Campos com mais contraste */
.login-box input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  border-radius: 25px;

  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  transition: all 0.3s;
}

/* Quando o usuário clica no campo */
.login-box input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Placeholder visível */
.login-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Botão mais visível */
.login-box button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #6c63ff, #4e4cc3);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.login-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

/* Link "esqueceu a senha" mais visível */
.login-box a {
  display: block;
  margin-top: 12px;
  color: #bfbfff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.9;
}

.login-box a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Texto de mensagens de erro/sucesso */
.msg {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 0 5px rgba(0,0,0,0.4);
}


.logo-img {
  height: 250px;           /* ajuste conforme sua logo */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.logo-img:hover {
  transform: scale(1.05); /* efeito sutil ao passar o mouse */
}
