* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #74ebd5, #ACB6E5); /* soft gradient */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: white;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.6rem 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  border-color: #007BFF;
  box-shadow: 0px 0px 6px rgba(0, 123, 255, 0.4);
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: background 0.3s, transform 0.1s;
}

button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

.error {
  color: #d9534f;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  display: none;
}

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