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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-wrapper {
  width: 100%;
  max-width: 400px;
  padding: 16px;
}

.login-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 32px;
}

.login-logo {
  color: #cc0000;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-title {
  font-size: 1rem;
  color: #555;
  text-align: center;
  font-weight: normal;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 4px;
  margin-top: 16px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: #cc0000;
}

button[type="submit"] {
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #aa0000;
}

/* Nachrichten */
.msg {
  font-size: 0.9rem;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 4px;
  text-align: center;
}

.msg.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

.msg.warning {
  background: #fef9e7;
  color: #b7770d;
  border: 1px solid #f9e79f;
}

.msg.info {
  background: #eaf4fb;
  color: #1a6a9a;
  border: 1px solid #aed6f1;
}

.msg.success {
  background: #eafaf1;
  color: #1e8449;
  border: 1px solid #a9dfbf;
}

/* Passwort-Regeln */
.pw-rules {
  list-style: none;
  margin-top: 12px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #666;
}

.pw-rules li {
  padding: 2px 0 2px 18px;
  position: relative;
}

.pw-rules li::before {
  content: '○';
  position: absolute;
  left: 0;
  color: #aaa;
}

.pw-rules li.ok::before {
  content: '●';
  color: #1e8449;
}

.pw-rules li.ok {
  color: #1e8449;
}

/* Link "Passwort vergessen?" */
.reset-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
}

.reset-link a {
  color: #cc0000;
  text-decoration: none;
}

.reset-link a:hover {
  text-decoration: underline;
}
