/* Login, Registrierung, Passwort vergessen */

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;          /* style.css sperrt das Scrollen von html – body scrollt selbst */
    overflow-y: auto;
    padding: 24px 16px;
    background-image: radial-gradient(circle at 10% 20%, rgba(28, 16, 12, 1) 0%, rgba(8, 8, 10, 1) 90%);
}

.auth-box {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    padding: 36px 32px;
    border-radius: var(--radius-m);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin-top: auto;       /* zentriert, solange Platz ist */
}

.auth-logo img { display: block; margin: 0 auto 12px; }
.auth-box h1 { font-size: 1.7rem; margin-bottom: 4px; }
.auth-title { font-size: 1rem; font-weight: 400; color: var(--text-muted); margin-bottom: 22px; }

.auth-msg { font-size: 0.9rem; padding: 10px 12px; border-radius: 8px; margin-bottom: 18px; text-align: left; line-height: 1.45; }
.auth-error { color: #ff6b81; background: rgba(255, 0, 60, 0.1); border: 1px solid rgba(255, 0, 60, 0.3); }
.auth-success { color: #7dffb0; background: rgba(0, 230, 118, 0.08); border: 1px solid rgba(0, 230, 118, 0.3); }

.auth-box form { text-align: left; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; margin-bottom: 5px; color: var(--text-muted); font-size: 0.85rem; }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
}
.auth-field input:focus { outline: none; border-color: var(--accent-orange); }
.auth-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

.auth-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 16px; }
.auth-check input { margin-top: 3px; }
.auth-check a { color: var(--accent-orange); }

.auth-submit { width: 100%; padding: 12px; font-size: 1.05rem; margin-top: 6px; }

.auth-links { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; text-align: center; }
.auth-links a { color: var(--text-muted); text-decoration: none; }
.auth-links a:hover { color: var(--accent-orange); }
.auth-links strong a { color: var(--accent-orange); }

.auth-footer { display: flex; gap: 16px; justify-content: center; margin-top: 24px; margin-bottom: auto; font-size: 0.8rem; }
.auth-footer a { color: #777; text-decoration: none; }
.auth-footer a:hover { color: #bbb; }
