@import '_content/PspSolution.Hub.Core/PspSolution.Hub.Core.s84ngrmf45.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ciids9rsra] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ciids9rsra] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0gv30clidw],
.components-reconnect-repeated-attempt-visible[b-0gv30clidw],
.components-reconnect-failed-visible[b-0gv30clidw],
.components-pause-visible[b-0gv30clidw],
.components-resume-failed-visible[b-0gv30clidw],
.components-rejoining-animation[b-0gv30clidw] {
    display: none;
}

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


#components-reconnect-modal[b-0gv30clidw] {
    background-color: white;
    width: min(30rem, 92vw);
    margin: 18vh auto;
    padding: 2rem 2.25rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 8px 28px 4px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0gv30clidw 0.5s both;
    &[open]

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

}

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

/* Stan terminalny (SPEC-008 §5.3 / UX-008 §3): nagłówek ostrzegawczy — trudny do przeoczenia,
   czytelny bez samego koloru (ikona ⚠ + tekst). Akcent ostrzegawczy, nie marka (odróżnia awarię). */
.reconnect-terminal-title[b-0gv30clidw] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #8a1c1c;
    line-height: 1.35;
}

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-0gv30clidw] {
    border: 0;
    border-radius: 6px;
    min-height: 44px; /* duży cel kliknięcia (NFR-008-04 / UX-008 §3) */
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
}

/* Akcja główna „Przeładuj stronę"/„Wznów" — akcent marki PSP #00609C. */
#components-reconnect-modal button.reconnect-btn-primary[b-0gv30clidw] {
    background-color: #00609C;
    color: #fff;
}

    #components-reconnect-modal button.reconnect-btn-primary:hover[b-0gv30clidw] {
        background-color: #004E80;
    }

/* Akcja drugorzędna „Spróbuj ponownie" — kontur, mniejsza waga wizualna. */
#components-reconnect-modal button.reconnect-btn-secondary[b-0gv30clidw] {
    background-color: #fff;
    color: #00609C;
    border: 1px solid #00609C;
}

    #components-reconnect-modal button.reconnect-btn-secondary:hover[b-0gv30clidw] {
        background-color: #eef4f9;
    }

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

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

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

@keyframes components-rejoining-animation-b-0gv30clidw {
    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/AccessDenied.razor.rz.scp.css */
/* Cienka nakładka nad .auth-card — wyśrodkowanie treści statusowej i pełnoszerokościowy
   przycisk powrotu w barwie niebieskiej PSP (#00609C), spójny z przyciskami kart auth. */

h1[b-72ja4rtf1b] {
    text-align: center;
}

p[b-72ja4rtf1b] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.access-denied-back[b-72ja4rtf1b] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.75rem;
    padding: 0.55rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background: #00609C;
    border: 1px solid #00609C;
    border-radius: 0.375rem;
    text-decoration: none;
}

.access-denied-back:hover[b-72ja4rtf1b] {
    background: #004E80;
    border-color: #004E80;
    color: #fff;
    text-decoration: none;
}
/* /Components/Pages/AuditLog.razor.rz.scp.css */
/* Dziennik zmian — pełna szerokość okna (§8.1), motyw OfficeWhite. Cienka nakładka na komponenty Dx. */

.audit-log[b-gax20zs69k] {
    width: 100%;
    padding: 1rem 1.5rem 2rem;
}

.audit-log-header[b-gax20zs69k] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.audit-log-header h1[b-gax20zs69k] {
    margin: 0;
    font-size: 1.5rem;
}

.audit-log-tz[b-gax20zs69k] {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}

.audit-log-filters[b-gax20zs69k] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.audit-filter[b-gax20zs69k] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 220px;
}

.audit-filter label[b-gax20zs69k] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
}

.audit-filter-actions[b-gax20zs69k] {
    min-width: auto;
}

.audit-log-count[b-gax20zs69k] {
    color: #6c757d;
    font-size: 0.85rem;
    text-align: right;
    min-height: 1.2rem;
    margin-bottom: 0.35rem;
}

.audit-log-validation[b-gax20zs69k] {
    color: #b02a37;
    margin: 0.25rem 0 0.75rem;
}

.audit-log-empty[b-gax20zs69k] {
    padding: 2rem 1rem;
    text-align: center;
    color: #6c757d;
}

.audit-log-error[b-gax20zs69k] {
    padding: 1rem;
    border: 1px solid #f5c2c7;
    background: #fff5f5;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.audit-log-error p[b-gax20zs69k] {
    margin: 0 0 0.5rem;
}

.audit-log-error-id[b-gax20zs69k] {
    font-size: 0.85rem;
    color: #6c757d;
}

.audit-author-system[b-gax20zs69k] {
    font-weight: 600;
}

.audit-log-pager[b-gax20zs69k] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

/* Wiersz bez diffu (zdarzenie bezpieczeństwa) nie ma strzałki rozwijania (§8.3) — klasę dokłada CustomizeElement. */
[b-gax20zs69k] .audit-row-nodiff .dxbl-grid-expand-button {
    visibility: hidden;
}
