/* Allgemeines Styling */
body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* Login-Container */
.login-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 350px;
  animation: fadeIn 1s ease-in-out;
}

/* Überschrift */
h1 {
  color: #333;
  margin-bottom: 1rem;
}

/* Input-Felder */
.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Login-Button */
.btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Flash-Meldungen */
.messages {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.messages li {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.messages .success {
  background: #d4edda;
  color: #155724;
}

.messages .error {
  background: #f8d7da;
  color: #721c24;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
