/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*
    Główny kontener całego panelu.
*/
.page[b-46hmcl9rk6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*
    Główna część zawierająca aktualną stronę.
*/
main[b-46hmcl9rk6] {
    flex: 1;
    min-width: 0;
    background-color: #f8fafc;
}

/*
    Ciemny grafitowo-granatowy pasek boczny.
*/
.sidebar[b-46hmcl9rk6] {
    position: relative;
    background: linear-gradient( 180deg, #0f172a 0%, #111827 55%, #0b1220 100%);
}

/*
    Sidebar posiada dwie główne części:
    - menu,
    - informacje o zalogowanym administratorze.
*/
.sidebar-inner[b-46hmcl9rk6] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*
    Menu zajmuje całe dostępne miejsce,
    dzięki czemu sekcja konta zostaje na dole.
*/
.sidebar-navigation[b-46hmcl9rk6] {
    flex: 1;
    min-height: 0;
}

/*
    Informacje o administratorze.
*/
.sidebar-account[b-46hmcl9rk6] {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

/*
    Mały opis nad adresem e-mail.
*/
.sidebar-account-label[b-46hmcl9rk6] {
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/*
    Nazwa / e-mail administratora.
*/
.sidebar-account-name[b-46hmcl9rk6] {
    margin-bottom: 0.75rem;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*
    Obszar treści panelu.
*/
.content[b-46hmcl9rk6] {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

/*
    Niezalogowany użytkownik nie potrzebuje
    ograniczeń wynikających z sidebaru.
*/
.anonymous-page main[b-46hmcl9rk6] {
    width: 100%;
}

/*
    Nieco mniejszy padding dla strony logowania.
*/
.anonymous-content[b-46hmcl9rk6] {
    max-width: 1600px;
}

/*
    Układ desktopowy.
*/
@media (min-width: 641px) {
    .page[b-46hmcl9rk6] {
        flex-direction: row;
    }

    .sidebar[b-46hmcl9rk6] {
        width: 250px;
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    /*
        Strona niezalogowanego użytkownika
        nie posiada sidebaru.
    */
    .anonymous-page[b-46hmcl9rk6] {
        display: block;
    }
}

/*
    Na małych ekranach zmniejszamy marginesy treści.
*/
@media (max-width: 640.98px) {
    .content[b-46hmcl9rk6] {
        padding: 1.25rem;
    }
}

/*
    Systemowy komunikat błędu Blazor.
*/
#blazor-error-ui[b-46hmcl9rk6] {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    color: #664d03;
    background-color: #fff3cd;
    border-top: 1px solid #ffecb5;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
}

    /*
    Przycisk zamykający komunikat.
*/
    #blazor-error-ui .dismiss[b-46hmcl9rk6] {
        position: absolute;
        top: 0.55rem;
        right: 1rem;
        cursor: pointer;
        font-size: 1.2rem;
        line-height: 1;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
    Górna część bocznego menu z nazwą aplikacji.
*/
.top-row[b-iyjuq8craj] {
    min-height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/*
    Nazwa aplikacji w menu.
*/
.navbar-brand[b-iyjuq8craj] {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

    .navbar-brand:hover[b-iyjuq8craj] {
        color: #ffffff;
    }

/*
    Przycisk rozwijania menu na urządzeniach mobilnych.
*/
.navbar-toggler[b-iyjuq8craj] {
    appearance: none;
    position: absolute;
    top: 0.7rem;
    right: 1rem;
    width: 3rem;
    height: 2.5rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.08);
}

    /*
    Prosty znak menu bez dodatkowych bibliotek ikon.
*/
    .navbar-toggler[b-iyjuq8craj]::after {
        content: "☰";
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: #ffffff;
        font-size: 1.35rem;
        line-height: 1;
    }

    .navbar-toggler:hover[b-iyjuq8craj] {
        background-color: rgba(255, 255, 255, 0.14);
    }

/*
    Na małym ekranie menu jest domyślnie ukryte.
*/
.nav-scrollable[b-iyjuq8craj] {
    display: none;
    padding: 0.75rem 0;
}

/*
    Wyświetlenie menu po zaznaczeniu checkboxa.
*/
.navbar-toggler:checked ~ .nav-scrollable[b-iyjuq8craj] {
    display: block;
}

/*
    Nagłówki grup elementów menu.
*/
.nav-section-title[b-iyjuq8craj] {
    padding: 1rem 1.25rem 0.4rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/*
    Pojedynczy element nawigacji.
*/
.nav-item[b-iyjuq8craj] {
    padding: 0.15rem 0.75rem;
}

    /*
    ::deep jest wymagane, ponieważ NavLink renderuje
    wewnętrzny element <a>.
*/
    .nav-item[b-iyjuq8craj]  .nav-link {
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        padding: 0.65rem 0.9rem;
        color: #cbd5e1;
        border-radius: 0.55rem;
        font-size: 0.95rem;
        text-decoration: none;
        transition: background-color 120ms ease, color 120ms ease;
    }

        /*
    Podświetlenie elementu wskazywanego kursorem.
*/
        .nav-item[b-iyjuq8craj]  .nav-link:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.08);
        }

        /*
    Wygląd aktywnej strony.
*/
        .nav-item[b-iyjuq8craj]  .nav-link.active {
            color: #ffffff;
            background-color: rgba(59, 130, 246, 0.24);
            box-shadow: inset 3px 0 0 #60a5fa;
        }

/*
    Na większych ekranach menu jest zawsze widoczne.
*/
@media (min-width: 641px) {
    .navbar-toggler[b-iyjuq8craj] {
        display: none;
    }

    .nav-scrollable[b-iyjuq8craj] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-1qhk1ftagr],
.components-reconnect-repeated-attempt-visible[b-1qhk1ftagr],
.components-reconnect-failed-visible[b-1qhk1ftagr],
.components-pause-visible[b-1qhk1ftagr],
.components-resume-failed-visible[b-1qhk1ftagr],
.components-rejoining-animation[b-1qhk1ftagr] {
    display: none;
}

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


#components-reconnect-modal[b-1qhk1ftagr] {
    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-1qhk1ftagr 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-1qhk1ftagr {
    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;
    }
}
