/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo da página */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('img/login-background.png') no-repeat center center fixed;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Título principal (MiningFlow) */
.logo-header {
  position: absolute;
  top: 40px;
  text-align: center;
  width: 100%;
  z-index: 2;
  margin-bottom: 40px; /* <- adiciona espaço visual */
}

.logo-header h2 {
  font-size: 48px;
  color: white;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}


/* Container do formulário */
.login-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

/* Título do formulário */
.login-container h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
}

/* Labels */
.login-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2c3e50;
}

/* Inputs */
.login-container .input-field {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  transition: border 0.3s ease;
}

.login-container .input-field:focus {
  border-color: #1abc9c;
  outline: none;
}

/* Botão de login */
.login-container .btn {
  width: 100%;
  padding: 12px;
  background-color: #0a61a3;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container .btn:hover {
  background-color: #042d4d;
}

/* Mensagens de erro */
.login-container .error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: -15px;
  margin-bottom: 10px;
  display: block;
}

/* Link de cadastro */
.cadastro-link {
  margin-top: 25px;
  text-align: center;
}

.cadastro-link p {
  color: #2c3e50;
  margin-bottom: 10px;
}

.cadastro-link .btn-link {
  background-color: #34495e;
  color: white;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cadastro-link .btn-link:hover {
  background-color: #10181f;
}
.login-logo {
  display: block;
  margin: 0 auto -15px auto;
  max-width: 130px; /* ← aumente aqui (antes era 120px) */
  height: auto;
}
