/* =========================================================
   AQUAG · AUTENTICAÇÃO E PORTAL DO RESPONSÁVEL
   Tela de login/primeiro acesso e a área exclusiva do
   responsável (Portal do Aluno).
   ========================================================= */

/* --- Bloqueio da aplicação enquanto não há sessão --- */
body.auth-locked>:not(#auth-screen) {
  display: none !important;
}

/* --- Tela de login --- */
#auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: radial-gradient(circle at top, rgba(14, 165, 233, .12), transparent 45%), #020617;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #1e293b;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.auth-logo {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  background: #f59e0b;
}

#first-access-fields {
  display: none;
}

#auth-mode-button {
  margin-top: 10px;
}

#auth-error {
  display: none;
}

/* --- Portal do Responsável (Portal do Aluno): estilos em parent-portal.css --- */
#parent-portal-screen {
  display: none;
}

@media (max-width: 640px) {

  .auth-card {
    padding: 1.25rem;
  }

  .auth-logo {
    width: 64px;
    height: 64px;
  }
}
