/* /Components/Layout/Rahmen.razor.rz.scp.css */
/* Der Rahmen: Kopfzeile oben, Leiste links, Inhalt rechts — ab 900 px.
 * Darunter wandert die Leiste nach unten. Drei Schwellen, jede mit ihrem
 * Grund:
 *
 *  900 px  Die Leiste steht links, solange Platz ist. Darunter — das ist
 *          kein Telefon, sondern auch ein halb aufgezogenes Fenster —
 *          wird sie zur unteren Leiste.
 *  600 px  Zwischen 600 und 899 Pixeln haben acht Beschriftungen bequem
 *          Platz und bleiben stehen. Erst auf Telefonbreite brechen
 *          „Dienstnehmer", „Aufrollung" und „Lohnkonto" in zwei bis drei
 *          Zeilen um — dort traegt nur das gewaehlte Ziel seine
 *          Beschriftung. Der gemessene Nutzen bleibt, wo er gemessen
 *          wurde.
 * 1280 px  Obergrenze fuer die Inhaltsbreite. Auf sehr breiten Fenstern
 *          liefe jede Ansicht sonst randvoll — Zeilen von einem
 *          Bildschirmrand zum anderen liest niemand mehr. Die Grenze
 *          liegt EINMAL hier im Rahmen, nicht je Ansicht: eine Ansicht,
 *          die sie selbst zoege, koennte sie beim naechsten Umbau still
 *          verlieren.
 */

.rahmen[b-nds1dichwj] {
    display: grid;
    min-height: 100vh;
    max-width: 100vw;
    grid-template-rows: auto 1fr;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "kopf kopf"
        "leiste inhalt";
}

/* min-width: 0 auf allen drei Bereichen: Grid-Kinder haben min-width auto,
 * und der nowrap-Titel draengte die Spalte sonst ueber das Fenster hinaus —
 * auf Telefonbreite lief die untere Leiste dann rechts hinaus. */
.kopf[b-nds1dichwj] {
    grid-area: kopf;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    background: var(--karte);
    border-bottom: 1px solid var(--kontur-variante);
    min-height: 52px;
}

.firmenwahl[b-nds1dichwj] {
    width: auto;
    max-width: 240px;
    font-weight: 500;
    padding: 6px 10px;
}

.titel[b-nds1dichwj] {
    flex: 1 1 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sicherung[b-nds1dichwj] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sicherung .warnung[b-nds1dichwj] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kopf[b-nds1dichwj]  .zahnrad {
    display: inline-flex;
    color: var(--auf-flaeche-variante);
    padding: 4px;
    border-radius: 8px;
}

.kopf[b-nds1dichwj]  .zahnrad:hover, .kopf[b-nds1dichwj]  .zahnrad.active { color: var(--auf-primaer-flaeche); background: var(--primaer-flaeche); }

.leiste[b-nds1dichwj] {
    grid-area: leiste;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 8px;
    width: 88px;
    background: var(--leiste);
    border-right: 1px solid var(--kontur-variante);
}

/* NavLink rendert das <a> als Kindkomponente — ohne ::deep traefe das
 * isolierte CSS des Rahmens die Ziele nicht. */
.leiste[b-nds1dichwj]  .ziel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: 12px;
    color: var(--auf-flaeche-variante);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.leiste[b-nds1dichwj]  .ziel:hover { background: var(--primaer-flaeche); color: var(--auf-primaer-flaeche); }
.leiste[b-nds1dichwj]  .ziel.active { color: var(--auf-primaer-flaeche); font-weight: 600; }
.leiste[b-nds1dichwj]  .ziel.active .symbol { background: var(--primaer-flaeche); border-radius: 12px; }
.leiste[b-nds1dichwj]  .symbol { padding: 3px 12px; box-sizing: content-box; }

.inhalt[b-nds1dichwj] {
    grid-area: inhalt;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 20px 32px;
    min-width: 0;
}

@media (max-width: 899px) {
    .rahmen[b-nds1dichwj] {
        grid-template-rows: auto 1fr auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "kopf"
            "inhalt"
            "leiste";
    }

    .leiste[b-nds1dichwj] {
        flex-direction: row;
        justify-content: space-around;
        width: auto;
        padding: 6px 4px;
        border-right: none;
        border-top: 1px solid var(--kontur-variante);
        background: var(--karte);
        position: sticky;
        bottom: 0;
    }

    .leiste[b-nds1dichwj]  .ziel { flex: 1 1 0; min-width: 0; padding: 4px 0; }
    .leiste[b-nds1dichwj]  .symbol { padding: 2px 6px; }
    .leiste[b-nds1dichwj]  .beschriftung { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 11px; }
    .inhalt[b-nds1dichwj] { padding: 12px 12px 24px; }
}

@media (max-width: 599px) {
    .leiste[b-nds1dichwj]  .ziel:not(.active) .beschriftung { display: none; }
    .kopf[b-nds1dichwj] { gap: 8px; padding: 6px 10px; }
    .firmenwahl[b-nds1dichwj] { max-width: 140px; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-eg83qpdf8s],
.components-reconnect-repeated-attempt-visible[b-eg83qpdf8s],
.components-reconnect-failed-visible[b-eg83qpdf8s],
.components-pause-visible[b-eg83qpdf8s],
.components-resume-failed-visible[b-eg83qpdf8s],
.components-rejoining-animation[b-eg83qpdf8s] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-retrying[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-failed[b-eg83qpdf8s],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-eg83qpdf8s] {
    display: block;
}


#components-reconnect-modal[b-eg83qpdf8s] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-eg83qpdf8s 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-eg83qpdf8s 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-eg83qpdf8s 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-eg83qpdf8s]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-eg83qpdf8s 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-eg83qpdf8s {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-eg83qpdf8s {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-eg83qpdf8s {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-eg83qpdf8s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-eg83qpdf8s] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-eg83qpdf8s] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-eg83qpdf8s] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-eg83qpdf8s] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-eg83qpdf8s] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-eg83qpdf8s] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-eg83qpdf8s 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-eg83qpdf8s] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-eg83qpdf8s {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Anmeldung.razor.rz.scp.css */
h1[b-247ohnjmm1] {
    margin: 0;
}

.untertitel[b-247ohnjmm1] {
    margin: 4px 0 24px;
    opacity: 0.7;
}

.anmeldung[b-247ohnjmm1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label[b-247ohnjmm1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

input[b-247ohnjmm1] {
    padding: 8px 10px;
    font: inherit;
}

button[b-247ohnjmm1] {
    margin-top: 8px;
    padding: 10px;
    font: inherit;
}

.fehler[b-247ohnjmm1] {
    margin: 0;
    color: #b3261e;
}
