.login-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-container h1 {
    margin-bottom: 20px;
}

.login-container h2 {
  text-align: center;
  font-family: 'Poppins', Arial, sans-serif;
  margin-bottom: 1.5rem;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
}

.login-form button {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(90deg, #0078d4 0%, #00c6fb 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.login-container button:hover {
    background: #0056b3;
}

.login-form button:hover {
  background: linear-gradient(90deg, #005fa3 0%, #00a1c9 100%);
}

.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

.register-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.register-button {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.register-button:hover {
    background: #218838;
    color: white;
}

.gender-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.gender-icons img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.gender-icons img.selected {
    border: 2px solid #007bff;
    border-radius: 50%;
    background: #e6f0ff;
}

/* Styling für die AGB-Checkbox und den Text */
.terms-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.terms-label {
    display: flex;
    align-items: center;
    gap: 5px; /* Abstand zwischen Checkbox und Text */
    font-size: 14px; /* Schriftgröße anpassen */
    line-height: 1.5; /* Zeilenhöhe für bessere Lesbarkeit */
}

.terms-label input[type="checkbox"] {
    margin: 0; /* Entfernt den Standardabstand der Checkbox */
    width: 16px; /* Größe der Checkbox */
    height: 16px;
}

.terms-label a {
    color: #064af7; /* Linkfarbe */
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #e0f7fa 0%, #fffde4 100%);
    width: 100vw;
    box-sizing: border-box;
}

.logo-top {
    margin-top: 40px;
    margin-bottom: 10px;
    width: 100vw;           /* Neu: volle Breite */
    display: flex;
    justify-content: center;
}

.login-center {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.footer {
  text-align: center;
  padding: 1rem 0;
  background: #f1f1f1;
  font-size: 0.95rem;
  margin-top: 2rem;
  width: 100vw;           /* Neu: volle Breite */
  left: 0;
  position: relative;
  box-sizing: border-box;
}

.hero {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  background: linear-gradient(120deg, #e0f7fa 0%, #fffde4 100%);
  width: 100vw;           /* Neu: volle Breite */
  box-sizing: border-box;
}
.hero .logo {
  width: 80px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 2rem;
  margin: 0 0 0.5rem 0;
}
.hero p {
  color: #555;
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 600px) {
    html, body {
        width: 100vw;
        min-width: 0;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .login-page-wrapper {
        width: 100vw;
        min-width: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
    }
    .login-center {
        max-width: 98vw;
        width: 98vw;
        padding: 0 1vw;
        margin: 0 auto;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Hinzugefügt: zentriert vertikal */
        min-height: 60vh; /* Optional: sorgt für mehr vertikale Mitte */
    }
    .login-container {
        max-width: 98vw;
        width: 100%;
        margin: 1rem auto 0 auto;
        padding: 1rem;
        border-radius: 0;
        box-sizing: border-box;
        position: relative;
        left: 0;
        right: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Hinzugefügt: zentriert vertikal */
    }
    .login-container form,
    .login-container .gender-icons,
    .login-container .register-container,
    .login-container .terms-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }
    .login-container input,
    .login-container button {
        font-size: 1em;
        padding: 14px 8px;
        width: 100%;
        box-sizing: border-box;
    }
    .login-container h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0 2vw;
        width: 100%;
        display: block;
    }
    /* ...existing code... */
}
