/* Login, Registrierung, Account-Seiten */

.auth-page {
    position: relative;
}

.auth-page .auth-back-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--hm-brand-dark, #3d5a45);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-page .auth-back-link:hover {
    background: var(--hm-brand, #4a6f52);
    color: #fff;
}

.auth-page #info {
    width: min(100%, 420px);
    min-height: auto;
    padding: 2rem 1.75rem 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    color: #2c3328;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.auth-page #main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 90, 69, 0.75) 0%, rgba(44, 51, 40, 0.85) 100%);
    z-index: 0;
}

.auth-page #info {
    position: relative;
    z-index: 1;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
}

.auth-page #main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 2rem;
}

.auth-page #info h3 {
    color: var(--hm-brand-dark, #3d5a45);
    font-weight: 700;
}

.auth-page #info > p.text-center {
    color: #5a635c;
}

.auth-page #form-login {
    max-width: 100%;
    margin-top: 1.5rem;
}

.auth-page #info a:not(.btn) {
    color: var(--hm-brand, #4a6f52);
}

@media (min-width: 768px) {
    .auth-page #info {
        max-width: 440px;
    }
}
