@import '_content/QuickWaka.Entreprise.UI/QuickWaka.Entreprise.UI.kmzxa3auos.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* ════════════════════════════════════════════════════════════════════
   ✨ 14.11.2026 (Korrektur N2) — Verbindungsabriss im Hausstil: Farben, Radien, Schrift und Zielfläche aus
   ent-tokens.css (in App.razor zuerst geladen), statt der Vorlage von Microsoft (Weiss, #6b9ed2, 4 px Radius).
   Die Schaltlogik der Klassen (welcher Satz in welchem Zustand) ist unverändert.
   ════════════════════════════════════════════════════════════════════ */

.components-reconnect-first-attempt-visible[b-1x25pp96fj],
.components-reconnect-repeated-attempt-visible[b-1x25pp96fj],
.components-reconnect-failed-visible[b-1x25pp96fj],
.components-pause-visible[b-1x25pp96fj],
.components-resume-failed-visible[b-1x25pp96fj],
.components-rejoining-animation[b-1x25pp96fj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-retrying[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-failed[b-1x25pp96fj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-1x25pp96fj] {
    display: block;
}

/* Sprache: beide Fassungen stehen im Markup; sichtbar ist die, die « <html lang> » nennt (Vorgabe Französisch). */
.ent-rc-en[b-1x25pp96fj] {
    display: none;
}

html[lang="en"] .ent-rc-fr[b-1x25pp96fj] {
    display: none;
}

html[lang="en"] .ent-rc-en[b-1x25pp96fj] {
    display: inline;
}

#components-reconnect-modal[b-1x25pp96fj] {
    box-sizing: border-box;
    width: min(22rem, calc(100vw - 32px));
    margin: 20vh auto;
    padding: 28px 24px 24px;
    border: 0;
    border-radius: var(--ent-radius-l);
    background-color: var(--ent-flaeche);
    color: var(--ent-text-stark);
    font-family: var(--ent-schrift);
    font-size: var(--ent-schrift-15);
    line-height: 1.45;
    box-shadow: var(--ent-schatten-gross);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-1x25pp96fj 0.5s both;
}

#components-reconnect-modal[open][b-1x25pp96fj] {
    animation: components-reconnect-modal-slideUp-b-1x25pp96fj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-1x25pp96fj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-1x25pp96fj]::backdrop {
    background-color: var(--ent-schleier);
    animation: components-reconnect-modal-fadeInOpacity-b-1x25pp96fj 0.5s ease-in-out;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-1x25pp96fj],
    #components-reconnect-modal[open][b-1x25pp96fj],
    #components-reconnect-modal[b-1x25pp96fj]::backdrop {
        animation: none;
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-slideUp-b-1x25pp96fj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-1x25pp96fj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-1x25pp96fj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-1x25pp96fj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#components-reconnect-modal p[b-1x25pp96fj] {
    margin: 0;
    text-align: center;
}

/* Knopf wie der Hauptknopf des Portals (ent.css « .ent-btn »): Hausblau, Zielfläche 44 px. */
#components-reconnect-modal button[b-1x25pp96fj] {
    min-height: var(--ent-ziel);
    padding: 0 24px;
    border: 0;
    border-radius: var(--ent-radius-m);
    background-color: var(--ent-blau);
    color: var(--ent-text-auf-farbe);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-1x25pp96fj] {
        background-color: var(--ent-blau-dunkel);
    }

    #components-reconnect-modal button:active[b-1x25pp96fj] {
        background-color: var(--ent-blau);
    }

    #components-reconnect-modal button:focus-visible[b-1x25pp96fj] {
        outline: 2px solid var(--ent-blau-dunkel);
        outline-offset: 2px;
    }

.components-rejoining-animation[b-1x25pp96fj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-1x25pp96fj] {
        position: absolute;
        border: 3px solid var(--ent-blau);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-1x25pp96fj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-1x25pp96fj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-1x25pp96fj {
    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;
    }
}
