main.register-page {
  flex: 1; /* nimmt alles ein, schiebt Footer nach unten */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}


/* register */
.register-page {
  padding: 60px 12%;
  text-align: center;
}

.register-page h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #30629e;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 400px;
  max-width: 1100px;
}

.register-form label {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  font-size: 1rem;
}

.register-form input {
  border-radius: 5px;
  border: solid 1px;
  margin-left: 10px;
  padding: 10px;
}

.register-form fieldset {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.fieldset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei Spalten für Übersicht */
  gap: 10px 20px;
}

.fieldset-grid label {
  display: flex;
  flex-direction: row;  /* überschreibt column */
  align-items: center;  /* vertikal mittig */
  cursor: pointer;
  font-size: 1rem;
}

.fieldset-grid input[type="checkbox"] {
  margin-right: 10px;     /* Abstand zwischen Checkbox und Text */
  transform: scale(1.2);  /* macht die Checkbox etwas größer */
}

.register-form button {
  font-family: 'Poppins', sans-serif;
  margin: 3rem 0 0 0;
  padding: 0.8rem;
  background: #30629e;
  color: #fff;
  border: none;
  border-radius: 8px;
  border: solid 2px #30629e;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.register-form button:hover {
  background: white;
  color: #30629e;
}

.error {
  color: #b00;
}

.success {
  color: green;
}