/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Hlavní shell ─────────────────────────────────────────────────────────── */

.app-shell[b-a6x6rqbyix] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f6f8;
}

/* ── Header ───────────────────────────────────────────────────────────────── */

.app-header[b-a6x6rqbyix] {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.app-header-brand[b-a6x6rqbyix] {
    display: flex;
    align-items: center;
}

.brand-link[b-a6x6rqbyix] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    transition: opacity 0.15s ease;
}

    .brand-link:hover[b-a6x6rqbyix] {
        opacity: 0.75;
        text-decoration: none;
    }

.brand-icon[b-a6x6rqbyix] {
    font-size: 1.3rem;
    color: #2563eb;
    line-height: 1;
}

.app-header-actions[b-a6x6rqbyix] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-user-link[b-a6x6rqbyix] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

    .header-user-link:hover[b-a6x6rqbyix] {
        color: #2563eb;
        text-decoration: none;
    }

.header-user-avatar[b-a6x6rqbyix] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.header-user-name[b-a6x6rqbyix] {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-logout-btn[b-a6x6rqbyix] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    padding: 0;
}

    .header-logout-btn:hover[b-a6x6rqbyix] {
        background-color: #fef2f2;
        color: #dc2626;
        border-color: #fecaca;
    }

.header-action-link[b-a6x6rqbyix] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

    .header-action-link:hover[b-a6x6rqbyix] {
        background-color: #eff6ff;
        text-decoration: none;
    }

/* ── Body (sidebar + main) ────────────────────────────────────────────────── */

.app-body[b-a6x6rqbyix] {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */

.app-sidebar[b-a6x6rqbyix] {
    width: 260px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    min-height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

/* ── Hlavní obsah ─────────────────────────────────────────────────────────── */

.app-main[b-a6x6rqbyix] {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
}

.app-content[b-a6x6rqbyix] {
    padding: 1.75rem 2rem;
    max-width: 1400px;
}

/* ── Blazor chybový panel ─────────────────────────────────────────────────── */

#blazor-error-ui[b-a6x6rqbyix] {
    color-scheme: light only;
    background: #fff3cd;
    border-top: 1px solid #ffc107;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

    #blazor-error-ui .dismiss[b-a6x6rqbyix] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ── Responsivní chování ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .app-sidebar[b-a6x6rqbyix] {
        display: none;
    }

    .app-content[b-a6x6rqbyix] {
        padding: 1rem;
    }

    .header-user-name[b-a6x6rqbyix] {
        display: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Sidebar Nav (Bootstrap Pills Customizations) ─────────────────────────── */

.nav-pills[b-g4tf51ce99] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ── Menu položka ── */
.nav-pills .nav-link[b-g4tf51ce99] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.875rem;
    margin: 0 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: #212529; /* Tmavě šedá barva písma z obrázku */
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover stav */
.nav-pills .nav-link:hover[b-g4tf51ce99] {
    background-color: #f1f5f9; /* Světle šedé pozadí při najetí */
    color: #0f172a;
    text-decoration: none;
}

/* Aktivní stav (Blazor doplňuje .active automaticky) */
.nav-pills .nav-link.active[b-g4tf51ce99] {
    background-color: #0d6efd !important; /* Výrazné modré pozadí (standard Bootstrap primary) */
    color: #ffffff !important;            /* Bílý text */
    font-weight: 600;
}

/* ── Oddělovač sekcí ── */
.nav-item-divider[b-g4tf51ce99] {
    border-top: 1px solid #dee2e6;
    margin: 0.5rem 1rem;
    list-style: none;
}

/* ── Ikony v menu ── */
.nav-icon[b-g4tf51ce99] {
    width: 20px;
    text-align: center;
    font-size: 1.15rem; /* Zvětšení pro čitelnost barevných emoji */
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-label[b-g4tf51ce99] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xuqozmsm6y],
.components-reconnect-repeated-attempt-visible[b-xuqozmsm6y],
.components-reconnect-failed-visible[b-xuqozmsm6y],
.components-pause-visible[b-xuqozmsm6y],
.components-resume-failed-visible[b-xuqozmsm6y],
.components-rejoining-animation[b-xuqozmsm6y] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-xuqozmsm6y {
    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/Shared/ConfirmDialog.razor.rz.scp.css */
/* ── Backdrop ─────────────────────────────────────────────────────────────── */

.cd-backdrop[b-9zuvt6fvcz] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 500;
    animation: cd-fade-in-b-9zuvt6fvcz 0.15s ease;
}

/* ── Dialog ───────────────────────────────────────────────────────────────── */

.cd-dialog[b-9zuvt6fvcz] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 501;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: cd-slide-in-b-9zuvt6fvcz 0.18s ease;
    overflow: hidden;
}

/* ── Header ───────────────────────────────────────────────────────────────── */

.cd-header[b-9zuvt6fvcz] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.cd-icon[b-9zuvt6fvcz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cd-icon-danger[b-9zuvt6fvcz] {
    background-color: #fef2f2;
    color: #dc2626;
}

.cd-icon-info[b-9zuvt6fvcz] {
    background-color: #eff6ff;
    color: #2563eb;
}

.cd-title[b-9zuvt6fvcz] {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.cd-close-btn[b-9zuvt6fvcz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}

    .cd-close-btn:hover[b-9zuvt6fvcz] {
        background-color: #f3f4f6;
        color: #374151;
    }

/* ── Body ─────────────────────────────────────────────────────────────────── */

.cd-body[b-9zuvt6fvcz] {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.cd-footer[b-9zuvt6fvcz] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1.25rem;
}

.cd-btn[b-9zuvt6fvcz] {
    padding: 0.45rem 1.1rem;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cd-btn-cancel[b-9zuvt6fvcz] {
    background-color: #f9fafb;
    border-color: #e5e7eb;
    color: #374151;
}

    .cd-btn-cancel:hover[b-9zuvt6fvcz] {
        background-color: #f3f4f6;
    }

.cd-btn-danger[b-9zuvt6fvcz] {
    background-color: #dc2626;
    color: #ffffff;
}

    .cd-btn-danger:hover[b-9zuvt6fvcz] {
        background-color: #b91c1c;
    }

.cd-btn-primary[b-9zuvt6fvcz] {
    background-color: #2563eb;
    color: #ffffff;
}

    .cd-btn-primary:hover[b-9zuvt6fvcz] {
        background-color: #1d4ed8;
    }

/* ── Animace ──────────────────────────────────────────────────────────────── */

@keyframes cd-fade-in-b-9zuvt6fvcz {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cd-slide-in-b-9zuvt6fvcz {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
/* /Components/Shared/DataTable.razor.rz.scp.css */
/* ── Toolbar ─────────────────────────────────────────────────────────────── */

.dt-toolbar[b-yujy9c2jxd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.dt-toolbar-right[b-yujy9c2jxd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dt-search-wrap[b-yujy9c2jxd] {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 340px;
}

.dt-search-icon[b-yujy9c2jxd] {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.dt-search-input[b-yujy9c2jxd] {
    width: 100%;
    padding: 0.4rem 0.75rem 0.4rem 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    font-size: 0.875rem;
    background-color: #f9fafb;
    color: #111827;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    outline: none;
}

    .dt-search-input:focus[b-yujy9c2jxd] {
        border-color: #2563eb;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.dt-pagesize-wrap[b-yujy9c2jxd] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.dt-pagesize-select[b-yujy9c2jxd] {
    padding: 0.3rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    background-color: #ffffff;
    cursor: pointer;
}

/* ── Tabulka wrapper ─────────────────────────────────────────────────────── */

.dt-wrapper[b-yujy9c2jxd] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}

.dt-table[b-yujy9c2jxd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

/* ── Záhlaví ──────────────────────────────────────────────────────────────── */

.dt-thead[b-yujy9c2jxd] {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.dt-th[b-yujy9c2jxd] {
    padding: 0.65rem 1rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    user-select: none;
}

.dt-sortable[b-yujy9c2jxd] {
    cursor: pointer;
    transition: color 0.15s ease;
}

    .dt-sortable:hover[b-yujy9c2jxd] {
        color: #2563eb;
    }

/* ── Řádky ────────────────────────────────────────────────────────────────── */

.dt-row[b-yujy9c2jxd] {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.1s ease;
}

    .dt-row:last-child[b-yujy9c2jxd] {
        border-bottom: none;
    }

    .dt-row:hover[b-yujy9c2jxd] {
        background-color: #f9fafb;
    }

[b-yujy9c2jxd] .dt-row td {
    padding: 0.7rem 1rem;
    color: #111827;
    vertical-align: middle;
}

/* ── Prázdný stav ─────────────────────────────────────────────────────────── */

.dt-empty[b-yujy9c2jxd] {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ── Paginace ─────────────────────────────────────────────────────────────── */

.dt-pagination[b-yujy9c2jxd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dt-pagination-info[b-yujy9c2jxd] {
    font-size: 0.8rem;
    color: #6b7280;
}

.dt-pagination-controls[b-yujy9c2jxd] {
    display: flex;
    gap: 0.2rem;
}

.dt-page-btn[b-yujy9c2jxd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.35rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .dt-page-btn:hover:not(:disabled)[b-yujy9c2jxd] {
        background-color: #eff6ff;
        border-color: #bfdbfe;
        color: #2563eb;
    }

    .dt-page-btn.active[b-yujy9c2jxd] {
        background-color: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        font-weight: 600;
    }

    .dt-page-btn:disabled[b-yujy9c2jxd] {
        opacity: 0.4;
        cursor: default;
    }
/* /Components/Shared/DetailCard.razor.rz.scp.css */
/* ── Karta ────────────────────────────────────────────────────────────────── */

.dcard[b-8uvihez0sl] {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

/* ── Záhlaví ──────────────────────────────────────────────────────────────── */

.dcard-header[b-8uvihez0sl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    background-color: #fafafa;
}

.dcard-title-wrap[b-8uvihez0sl] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.dcard-icon[b-8uvihez0sl] {
    font-size: 1.1rem;
    color: #6b7280;
    flex-shrink: 0;
}

.dcard-title[b-8uvihez0sl] {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcard-subtitle[b-8uvihez0sl] {
    font-size: 0.8rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcard-header-actions[b-8uvihez0sl] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* ── Tělo ─────────────────────────────────────────────────────────────────── */

.dcard-body[b-8uvihez0sl] {
    padding: 1.25rem;
}

/* ── Patička ──────────────────────────────────────────────────────────────── */

.dcard-footer[b-8uvihez0sl] {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #f3f4f6;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}
