/* hh-auth.css – Login / Registrierung / Passwort zurücksetzen
   Nach heftehelfen.css laden (nutzt dessen @font-face OpenSans + OpenSansBold).
*/


:root {
    --hh-magenta: #e6007e;
    --hh-magenta-hover: #c9006e;
    --hh-teal: #218969;
    --hh-teal-hover: #1a6e54;
}


.hh-auth {
    background-color: transparent;
    padding: 1px 15px;
    margin-top: 0;
}

.hh-auth .auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 12px;

    padding: 0 40px 40px;
    margin: 0 auto;
}

.hh-auth .auth-card h2 {
    font-size: 24px;
    color: #333;
    font-family: 'BRLNSR', 'OpenSansBold', sans-serif;
    margin-top: 0;
}

/* 3. Labels und Inputs */
.hh-auth label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.hh-auth .form-control {
    border-radius: 8px;
    border: 1px solid #d1d1d1;
    padding: 12px 15px;
    height: auto;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.hh-auth .form-control:focus {
    border-color: var(--hh-magenta);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}


.hh-auth .btn-primary-action {
    background-color: var(--hh-magenta);
    color: #fff;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    outline: none;
    transition: background-color 0.2s;
    width: 100%;
}

.hh-auth .btn-primary-action:hover {
    background-color: var(--hh-magenta-hover);
    color: #fff;
}

.hh-auth .btn-primary-action:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.3);
}

.hh-auth .btn-secondary-action {
    background-color: var(--hh-teal);
    color: #fff;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    outline: none;
    transition: background-color 0.2s;
    width: 100%;
    display: block;
    text-align: center;
}

.hh-auth .btn-secondary-action:hover {
    background-color: var(--hh-teal-hover);
    color: #fff;
    text-decoration: none;
}

/* 5. Links (Passwort vergessen) */
.hh-auth .auth-link {
    color: var(--hh-magenta);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.hh-auth .auth-link:hover {
    color: var(--hh-magenta-hover);
}

/* =========================================================
   Grid-Stil Specifics für Register (Neu registrieren)
   ========================================================= */
.hh-auth .register-card {
    max-width: 900px;
}

.hh-auth .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.hh-auth .full-width {
    grid-column: 1 / -1;
}

.hh-auth .schule-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 0px;
    margin-top: 15px;
    margin-bottom: 25px;
    border: 0px solid #e9ecef;
}

.hh-auth .checkbox-container {
    margin-top: 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.hh-auth .checkbox-container label {
    display: inline;
    font-weight: normal;
}


@media (max-width: 768px) {
    .hh-auth .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Breitere Karte (Passwort vergessen, Login) */
.hh-auth .auth-card {
    max-width: 640px;
}

/* Mobil: weniger verlorener Platz */
@media (max-width: 768px) {
    .hh-auth {
        padding: 0 0 40px;
    }
    .hh-auth .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .hh-auth .auth-card {
        padding: 0 25px 20px;
    }
}

/* Geburtsdatum: drei Selects im Stil der anderen Felder */
.hh-auth [id$="_geburtsdatum"] {
    display: flex;
    gap: 10px;
}

.hh-auth [id$="_geburtsdatum"] select {
    flex: 1;
    min-width: 0;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    padding: 12px 10px;
    font-size: 15px;
    background-color: #fff;
}

.hh-auth [id$="_geburtsdatum"] select:focus {
    border-color: var(--hh-magenta);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
}

.hh-auth .schule-section h4 {
    font-family: 'OpenSansBold', sans-serif;
    font-weight: normal;
}

/* Fehlermeldungen im Formular korrigieren */
.hh-auth .form-group ul {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
}

.hh-auth .form-group ul li {
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

