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

body {
  background: url('https://schalkesopa.club/assets/images/background_blank.jpg') no-repeat fixed center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
}

/* Container */
.reset-password-container,
.new-password-container {
  width: 100%;
  max-width: 500px;
  margin: 80px auto 120px;
  background: rgba(255, 255, 255, 0.98);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Überschrift */
h1 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #2c3e50;
}

/* Formular */
.reset-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Label */
label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: #111;
  font-size: 0.95em;
}

/* Eingabefelder */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #111;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* Button */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  text-transform: uppercase;
}

.btn-submit:hover {
  background: #0066cc;
}

.btn-submit:disabled {
  background: #ccc;
  color: #444;
  cursor: not-allowed;
}

/* Info-Texte */
.password-instructions,
.password-rules {
  font-size: 0.9rem;
  color: #555;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 6px;
  line-height: 1.6;
  text-align: center;
}

/* Linkbereich */
.login-link {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.login-link a {
  color: #007BFF;
  text-decoration: none;
  font-weight: 500;
}

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

/* System-Meldungen */
#security-message,
#reset-message,
#password-message {
  text-align: center;
  margin: 1.5rem 0;
  padding: 1rem;
  border-radius: 6px;
  background: #f2f2f2;
  color: #333;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .reset-password-container,
  .new-password-container {
    margin: 40px 20px;
    padding: 30px;
  }

  h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  input {
    padding: 10px;
  }

  .btn-submit {
    padding: 12px;
  }
}

/* Eingabefeld-Text sichtbar */
input[type="email"],
input[type="password"],
input[type="text"] {
  color: #111 !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  font-size: 16px !important;
}

/* Label lesbar */
label {
  color: #111 !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
}

/* Sichtbarer Button */
.btn-submit {
  background: #007BFF !important;
  color: #fff !important;
  border: none !important;
  padding: 14px !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  display: block !important;
  width: 100% !important;
  font-weight: 600 !important;
}



/* Wenn deaktiviert, trotzdem sichtbar */
.btn-submit:disabled {
  background: #ccc !important;
  color: #444 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

