/* Estilos gerais do corpo */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url('https://consultaprocessual.gigleysonadvocacia.adv.br/consulta/imagens/background-direito.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Container do login */
.login-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Overlay com fundo desfocado */
.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Formulário de login */
.login-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
}

.login-logo {
  text-align: center;
  margin-bottom: 20px;
}

.login-logo img {
  max-width: 100%;
  height: auto;
}

.login-inputs {
  margin-bottom: 20px;
}

.login-inputs label {
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.login-inputs input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.login-submit input {
  width: 100%;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  background-color: #0056b3;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Garante que o padding não sobrecarregue a largura */
}

.login-submit input:hover {
  background-color: #004080;
}

.login-submit input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.error-message {
  text-align: center;
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 600px) {
  .login-form {
    width: 90%;
    padding: 15px;
  }

  .login-logo img {
    max-width: 100%;
    height: auto;
  }

  .login-inputs input {
    font-size: 16px;
    padding: 12px;
  }

  .login-submit input {
    font-size: 18px;
    padding: 15px 0;
  }
}
