html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


body {
  font-family: "Arial", sans-serif;
  background-image: url("/static/images/lightbackground.jpg");
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  background-repeat: repeat;
  overflow: hidden; /* pode remover se quiser rolagem */
    display: flex;
  flex-direction: column;
}




.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
    flex: 1; /* ocupa o espaço restante */
   padding: 2rem 1rem;
}




.login-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  min-width: 400px;
  min-height: 400px;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-in-out;
}

.login-container h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #003366; /* Cor principal do título */
  font-weight: bold;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.login-container input:focus {
  border-color: #f49c26;
  outline: none;
  box-shadow: 0 0 5px rgba(244, 156, 38, 0.5);
}

.login-container input.error {
  animation: shake 0.5s ease-in-out; /* Aumentado o tempo do shake */
  border-color: red;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px); /* Aumentado o deslocamento */
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(10px);
  }
}

.login-container button {
  width: 100%;
  padding: 12px;
  background-color: #0059ff; /* Cor do botão */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-container button:hover {
  background-color: #f49c26; /* Cor de hover */
  transform: scale(1.05);
}

.btn-link {
  color: #003366;
  text-decoration: none;
  font-size: 16px;
  margin-top: 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.btn-link:hover {
  color: #f49c26;
  transform: translateY(-2px);
}

.message {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  opacity: 0;
  animation: fadeInMessage 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInMessage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-container {
    width: 350px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    width: 285px; /* Ajuste o tamanho conforme necessário */
    margin-bottom: 10px;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
  z-index: 1;
}


.card {
  border-radius: 15px;
}

.card-body {
  padding: 30px;
}

.btn-primary {
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s ease;
}

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

#mensagem {
  font-size: 14px;
  font-weight: bold;
}

.redefinir-container {
  display: none;
  margin-top: 20px;
  width: 100%;
}

.redefinir-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.redefinir-container button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background-color: #003366;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.redefinir-container button:hover {
  background-color: #f49c26;
}
