body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 20px;
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.login-container:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

form {
  display: flex;
  flex-direction: column;
}

input {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #5c67f2;
  outline: none;
}

button {
  background-color: #5c67f2;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
  background-color: #5058e2;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

p.error {
  color: red;
  text-align: center;
  margin-bottom: 15px;
}

@media (max-width: 480px) {
  .login-container {
    padding: 30px;
  }

  h2 {
    font-size: 20px;
  }

  input, button {
    font-size: 14px;
    padding: 10px;
  }
}
