/*
 * Frontend auth forms (felogin: login, logout, overview, password recovery,
 * change password) — centered card matching the site design.
 * Standalone, no SCSS build; included via page.includeCSS. Templates that use
 * these classes live in EXT:starnberger_seeleben/Resources/Private/Extensions/Felogin/.
 */
:root {
    --fe-auth-blau: #4991ce;
    --fe-auth-orange: #ef7815;
    --fe-auth-light: #e9e9e9;
    --fe-auth-ink: #2c3338;
    --fe-auth-muted: #6b7378;
    --fe-auth-border: #d4d7da;
    --fe-auth-radius: 10px;
}

.fe-auth {
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem;
}

.fe-auth__card {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    background: #fff;
    border-radius: var(--fe-auth-radius);
    border-top: 4px solid var(--fe-auth-blau);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    padding: 2rem 2rem 1.75rem;
}

.fe-auth__title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--fe-auth-ink);
}

.fe-auth__message {
    margin: 0 0 1.25rem;
    color: var(--fe-auth-muted);
    font-size: .95rem;
}

.fe-auth__notice {
    margin: 0 0 1.25rem;
    padding: .85rem 1rem;
    background: var(--fe-auth-light);
    border-radius: 6px;
}
.fe-auth__notice-title { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--fe-auth-ink); }
.fe-auth__notice-text { margin: 0; color: var(--fe-auth-muted); font-size: .95rem; }

/* TYPO3 flash messages rendered by f:flashMessages */
.fe-auth__messages ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.fe-auth__messages li {
    margin-bottom: .5rem;
    padding: .6rem .85rem;
    border-radius: 6px;
    font-size: .9rem;
    background: var(--fe-auth-light);
    color: var(--fe-auth-ink);
}

.fe-auth__field { margin-bottom: 1rem; }

.fe-auth__label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--fe-auth-ink);
}

.fe-auth__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: .6rem .75rem;
    font-size: 1rem;
    color: var(--fe-auth-ink);
    background: #fff;
    border: 1px solid var(--fe-auth-border);
    border-radius: 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fe-auth__input:focus {
    outline: none;
    border-color: var(--fe-auth-blau);
    box-shadow: 0 0 0 3px rgba(73, 145, 206, .2);
}

.fe-auth__field--check { display: flex; align-items: center; gap: .5rem; }
.fe-auth__field--check .fe-auth__check-label { margin: 0; font-weight: 400; color: var(--fe-auth-muted); }

.fe-auth__static { font-weight: 600; color: var(--fe-auth-ink); }

.fe-auth__actions { margin-top: 1.25rem; }

.fe-auth__submit {
    display: block;
    width: 100%;
    padding: .7rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--fe-auth-blau);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .15s ease;
}
.fe-auth__submit:hover,
.fe-auth__submit:focus { background: var(--fe-auth-orange); }

.fe-auth__links { margin: 1.25rem 0 0; text-align: center; font-size: .9rem; }
.fe-auth__link { color: var(--fe-auth-blau); text-decoration: none; }
.fe-auth__link:hover { text-decoration: underline; }

.fe-auth__errors {
    margin: 0 0 1.25rem;
    padding: .85rem 1rem;
    list-style: disc inside;
    background: #fdecea;
    border: 1px solid #f5c6c0;
    border-radius: 6px;
    color: #8a1c10;
    font-size: .9rem;
}
.fe-auth__error { margin: 0; }

.fe-auth__requirements { margin-top: 1rem; font-size: .85rem; color: var(--fe-auth-muted); }
.fe-auth__requirements-title { margin: 0; font-weight: 600; }
.fe-auth__requirements-list { margin: .35rem 0 0; padding-left: 1.25rem; }

.felogin-hidden { display: none; }

@media (max-width: 480px) {
    .fe-auth { padding: 1.5rem .75rem; }
    .fe-auth__card { padding: 1.5rem 1.25rem; }
}
