/*style.css   V 4  -  20.08.2025 19:40   */

/* Grund-Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9fb;
  background-image: linear-gradient(
    to right bottom,
    #f7be95,
    #eec584,
    #dccf79,
    #bfd978,
    #97e384,
    #7ae898,
    #56ecaf,
    #0fefc7,
    #21efda,
    #41eee9,
    #60ecf4,
    #7deafa
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #333;
  margin: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  background-color: #ffffff; /* Voll deckend, kein Transparent */
  max-width: 600px;
  width: 100%;
  padding: 2rem 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: left;
}

.container img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #444;
  text-align: left;
}

ul {
  font-size: 0.9rem;
  list-style-type: circle;
  margin-left: 15px;
  padding-bottom: 1.5rem;
}

.smallprint {
  font-size: 0.75rem;
  text-decoration: none;
  text-align: center;
  margin-top: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

button[type="submit"] {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 0.7rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #357abd;
}

.btn-login {
  display: inline-block;
  padding: 0.6em 1.2em;
  margin: 1em 0;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-login:hover {
  background-color: #0056b3;
}


/* Neue Fehler-Meldung */
.error-message {
  color: #c00;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem 0;
  font-weight: 500;
}

.result-box {
  background-color: #f1f9ff;
  border: 1px solid #b3d4fc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.result-box h2 {
  font-size: 1.3rem;
  color: #007BFF;
  margin-bottom: 1rem;
}

.result-box p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.result-box code {
  background-color: #fff;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

.result-box .hint {
  color: #666;
  font-size: 0.85rem;
  margin-top: 1rem;
  font-style: italic;
}

/* Erfolgsbox für Meldungen */
.success-box {
  background-color: #e8f9f1;
  border: 1px solid #2ecc71;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  color: #2c662d;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.success-box h2 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: #27ae60;
}

