/* estilo-login.css */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #005aa7, #00c6fb);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  position: relative; /* ← ponto de ancoragem para o botão */
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  width: 100%;
  text-align: center;
}

.login-container h2 {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 24px;
  color: #003366;
}

input[type="text"],
input[type="password"] {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #005aa7;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background-color: #004080;
}

.erro {
  color: red;
  margin-bottom: 10px;
}

.aviso-sessao {
  color: #003366;
  margin-bottom: 10px;
  background-color: #e6f2ff;
  padding: 8px;
  border-radius: 6px;
}

.logo {
  margin-bottom: 24px;
}

.logo img {
  max-width: 300px;
}

.topo-escolha {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-voltar {
  position: absolute;
  top: 40px;
  left: 45px;
  font-size: 1.8rem;
  text-decoration: none;
  color: #004d7a;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
  transition: color 0.2s;
}

.btn-voltar:hover {
  color: #002d4a;
}


