* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

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

.logo img {
  width: 320px; /* doppelte Größe */
  height: auto;
  margin-bottom: 1.5rem;


}

.login-box h2 {
  margin-bottom: 1.5rem;
  color: #2a5298;
  font-size: 1.6rem;
}

.login-box form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-box input,
.login-box button {
  width: 100%;
  max-width: 300px;
  padding: 0.9rem;
  margin: 0.6rem 0;
  border-radius: 6px;
  font-size: 1rem;
  display: block;
  box-sizing: border-box;
}



.login-box input {
  border: 1px solid #ccc;
  transition: border-color 0.3s;
}

.login-box input:focus {
  border-color: #2a5298;
  outline: none;
}

.login-box button {
  background: #2a5298;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.login-box button:hover {
  background: #1e3c72;
}

.error {
  background: #ffe6e6;
  color: #c0392b;
  padding: 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
