body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

header {
  width: 100%;
  background-color: #fff;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header img {
  height: 40px;
}

header .brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 10px;
  color: #111;
}

.login-container {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 420px;
  margin-top: 40px;
  animation: slideFadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  text-transform: uppercase;
}

.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}
.login-container input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.login-container input[type="submit"]:hover {
  background: #333;
}
.error {
  background: #ffdddd;
  padding: 10px;
  margin-bottom: 15px;
  border-left: 4px solid #f44336;
  color: #a94442;
  border-radius: 5px;
}
.login-container .link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95rem;
}
.login-container .link a {
  color: #000;
  text-decoration: underline;
}
