body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0D47A1, #1B5E20);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  animation: fadeIn 1.2s ease-in-out;
}

.login-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  width: 320px;
  max-width: 90%;
  text-align: center;
}

.login-box h1 {
  margin-bottom: 20px;
  color: #0D47A1;
}

.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group label {
  font-weight: bold;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: #0D47A1;
  outline: none;
}

/* Botão de login */
.btn {
  width: 100%;
  padding: 12px;
  background: #F9A825;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #FFD54F;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249,168,37,0.4);
}

/* Mensagens de erro */
.error {
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  color: #B71C1C;
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  padding: 8px;
  border-radius: 6px;
}

/* Animação */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}