/* =========================
   Layout da página de login
   ========================= */
body.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  /* Fundo realista */
  background: url("../../bg_aslabs_realista.png") no-repeat center center fixed;
  background-size: cover;
  background-color: #0d0d0f; /* fallback */

  font-family: var(--font-main, 'Orbitron', sans-serif);
  color: #fff;
  position: relative;
}

/* Overlay escuro para contraste */
body.login-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(13,13,15,0.8) 0%, rgba(27,27,31,0.8) 100%);
  z-index: 0;
}

/* Garante que o conteúdo fique acima do overlay */
.login-box,
.login-footer {
  position: relative;
  z-index: 1;
}

/* =========================
   Caixa de login
   ========================= */
.login-box {
  background: rgba(17,17,17,0.9);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255,0,0,0.25);
  width: 340px;
  text-align: center;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,215,0,0.2);
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   Logo centralizado
   ========================= */
.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.logo img {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.5));
}

/* =========================
   Título
   ========================= */
.login-box h2 {
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
}

/* =========================
   Tagline
   ========================= */
.tagline {
  font-size: 11px;
  font-style: italic;
  color: #d4af37;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-align: center;
}
/* =========================
   Labels e inputs
   ========================= */
.login-box label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-size: 14px;
  color: #ccc;
  width: 100%;
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: background .3s, box-shadow .3s;
}

.login-box input:focus {
  background: #333;
  box-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* =========================
   Botão de login
   ========================= */
.login-box button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg,#d4af37,#b38e2e);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .3s;
}

.login-box button:hover {
  background: linear-gradient(90deg,#b38e2e,#d4af37);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255,215,0,0.6);
}

/* =========================
   Mensagem de erro
   ========================= */
.alerta-erro {
  background: rgba(255,0,0,0.15);
  color: #ff4d4d;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,0,0,0.4);
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

/* =========================
   Rodapé centralizado
   ========================= */
.login-footer {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
}
.login-footer a {
  color: #d4af37;
  text-decoration: none;
}
.login-footer a:hover {
  text-decoration: underline;
}
