/* ============================
   LAYOUT GERAL
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f2f4f8;
}

/* Container dividido */
.login-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ============================
   LADO ESQUERDO - FORMULÁRIO
============================ */
/* .login-form {
  width: 40%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  box-shadow: 5px 0 15px rgba(0,0,0,0.05);
} */

.login-form {
  width: 40%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* ⬅ centraliza horizontalmente */
  padding: 60px;
  box-shadow: 5px 0 15px rgba(0,0,0,0.05);
}

.logo-img {
  width: 260px; /* ajuste o tamanho que quiser */
  height: auto;
  margin-bottom: 40px;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* .topbar-logo {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 40px;
} */

.topbar-logo {
  text-align: center;
  margin-bottom: 15px;
}

.logo-img {
  max-width: 300px;
  height: auto;
}

.logoMy {
  color: #3BA776;
}

form label {
  font-weight: 600;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

#loginForm {
  width: 80%;
  max-width: 380px;
}

input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #007BFF;
}

.button {
  width: 100%;
  padding: 12px;
  background-color: #2f649c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 14px;
}

.footer a {
  text-decoration: none;
  color: #163d67;
}

.footer a:hover {
  text-decoration: underline;
}

.error {
  color: red;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

/* ============================
   LADO DIREITO - INFORMAÇÕES
============================ */
/* .login-info {
  width: 60%;
  background-color: #0b1739;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
} */


.login-info {
  width: 60%;
  background-image: url('/static/images/background03.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 40px;
}

/* overlay azul atrás do texto */
.login-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 23, 57, 0.85); /* azul com 85% opacidade */
  z-index: 0;
  border-radius: 0;
}

/* garante que o texto fique sobre o overlay azul */
.login-info > * {
  position: relative;
  z-index: 1;
}

.info-content {
  max-width: 550px;
  padding: 20px;
}

.info-content h1 {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.info-content p {
  font-size: 16px;
  color: #d0d6e1;
  margin-bottom: 30px;
}

.info-content img {
  width: 280px;
  max-width: 100%;
}

.sys-gif01 {
  width: 80%;
  max-width: 700px;
  border-radius: 5px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ============================
   RESPONSIVIDADE
============================ */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-form, .login-info {
    width: 100%;
    height: auto;
  }

  .login-info {
    padding: 40px 20px;
  }
}
