/* login.css */

/* Gesamte Seite */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('../images/background.jpg') no-repeat center center / cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Login-Karte */
.auth-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Titel */
.auth-title {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #333;
}

/* Formular */
.user-form label {
  display: block;
  text-align: left;
  margin: 0.8rem 0 0.3rem;
  font-weight: bold;
}

.user-form input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Captcha */
.captcha-wrap {
  margin: 1rem 0;
  text-align: left;
}

.captcha-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.captcha-row img {
  border: 1px solid #ccc;
  border-radius: 6px;
}

#captcha-reload {
  margin-left: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: none;
  background: #eee;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Button */
button[type="submit"] {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  background: #33b959;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

/* Meldungen */
.alert {
  background: #fdd;
  color: #a00;
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.success {
  background: #dfd;
  color: #060;
  padding: 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
