@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Pages/Pasport/Subjekty/SubjektyGridForm.razor.rz.scp.css */
/* Toolbar pinned to the bottom of the viewport while scrolling;
   stays in document flow, so it never permanently hides content. */
.toolbar-area[b-8izf7mybvb] {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: var(--bs-body-bg, #fff);
    padding: .25rem 0;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
}

    /* Controls wrap to new lines when they don't fit horizontally */
    .toolbar-area[b-8izf7mybvb]  .d-flex {
        flex-wrap: wrap;
        align-items: center;
        row-gap: .375rem;
        column-gap: .375rem;
    }

    /* Separators: don't stretch across wrapped lines */
    .toolbar-area[b-8izf7mybvb]  .vr {
        align-self: center;
        height: 24px;
    }
/* /Shared/NavMenu.razor.rz.scp.css */
/* --- 1. DEFINICE PROM�NN�CH PRO BARVY --- */
.sidebar-wrapper[b-lclpcioe0y] {
    /* Light mode */
    --side-bg: #ffffff;
    --side-border: #e0e0e0;
    --side-row-sep: #f0f0f0;
    --side-header-bg: #005fb8;
    --side-header-hover: #0078d4;
    --side-hover-bg: #f8f9fa;
    --side-hover-darker: #e1dfdd;
    --side-text-main: #000000;
    --side-text-muted: #6c757d;
    --side-text-blue: #0056b3;
    --side-chevron: #adb5bd;
    --side-level2-bg: #f5f7f9;
    --side-level3-bg: #444;
    --side-level4-bg: #ebedf0;
    --side-active-primary: #005fb8;
}

[data-bs-theme="dark"] .sidebar-wrapper[b-lclpcioe0y] {
    /* Hlavn� pozad� sidebaru (tmav�, ale ne �ern�) */
    --side-bg: #252627;
    --side-border: #2d3033;
    --side-row-sep: #2d3033;
    /* Hlavi�ka */
    --side-header-bg: #0078d4;
    --side-header-hover: #2b88d8;
    /* Hover stavy (v�razn�j�� pro orientaci) */
    --side-hover-bg: #2d3238;
    --side-hover-darker: #383e45;
    /* Texty */
    --side-text-main: #e3e3e3;
    --side-text-muted: #9da3a9;
    --side-text-blue: #47a1ff;
    /* �rovn� menu (progresivn� zesv�tlov�n�) */
    --side-level2-bg: #212427; /* O n�co sv�tlej�� ne� z�klad */
    --side-level3-bg: #bdbdbd;
    --side-level4-bg: #2a2e33;
    --side-active-primary: #47a1ff;
    --side-chevron: #666e75;
}

/* Kontejner pro menu */
.devops-sidebar[b-lclpcioe0y] {
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
}

/* Vynulov�n� odsazen� v Accordionu a vno�en�ch prvc�ch */
[b-lclpcioe0y] .accordion-body {
    padding: 0 !important; /* Odstran� vnit�n� odsazen� rozbalen� ��sti */
}

/* Odstran�n� odsazen� u vno�en�ch Accordion� */
.nested-accordion[b-lclpcioe0y] {
    margin: 0 !important;
    padding: 0 !important;
}

/* Styl pro koncov� odkazy (NavLink) */
[b-lclpcioe0y] .nav-link-devops {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem; /* Stejn� odsazen� jako u tla��tek (1rem) */
    color: var(--side-level3-bg) !important;
    text-decoration: none;
    font-size: 0.89rem;
    border-left: 3px solid transparent; /* Rezervace m�sta pro indik�tor */
    transition: background 0.1s;
}

/* Zarovn�n� ikon pod sebe */
[b-lclpcioe0y] .devops-icon {
    width: 1.5rem; /* Fixn� ���ka pro ikonu */
    margin-right: 0.5rem;
    text-align: center;
    opacity: 0.7;
}

/* Aktivn� stav s barevn�m prou�kem, ale bez posunu textu */
.nav-link-devops.active[b-lclpcioe0y] {
    background-color: #f3f2f1;
    color: #005fb8;
    font-weight: 600;
    border-left: 3px solid #005fb8; /* Indik�tor se objev� vlevo v prostoru paddingu */
}

/* Hover efekt */
[b-lclpcioe0y] .nav-link-devops:hover {
    background-color: #f8f8f8;
    color: #005fb8;
}
/* --- STYL PRO POLO�KU, KTER� M� DAL�� SUBMENU --- */
.nested-accordion[b-lclpcioe0y]  .accordion-button {
    /* Nap�. jemn� n�dech do modra nebo jin� odst�n �ed� */
    background-color: #ebf3fc !important;
    color: #005fb8 !important; /* Modr� text pro odli�en� od koncovek */
    font-weight: 600 !important;
    border-bottom: 1px solid #dce6f0 !important;
    transition: background-color 0.2s;
}

    /* Hover efekt pro tuto specifickou rozbalovac� polo�ku */
    .nested-accordion[b-lclpcioe0y]  .accordion-button:hover {
        background-color: #dbe9f9 !important;
    }

    /* Indik�tor: Kdy� je toto vno�en� submenu otev�en�, m��eme mu zm�nit barvu */
    .nested-accordion[b-lclpcioe0y]  .accordion-button:not(.collapsed) {
        background-color: #dbe9f9 !important;
        border-left: 4px solid #005fb8 !important; /* Prou�ek i pro rozbalenou kategorii */
    }

.devops-sidebar[b-lclpcioe0y] {
    background-color: var(--side-bg);
}

[b-lclpcioe0y] .accordion-body {
    padding: 0 !important;
}

[b-lclpcioe0y] .accordion-item {
    border: none !important;
    background: transparent !important;
}

/* AKTIVN� STAV A HOVER */
[b-lclpcioe0y] .nav-link-devops:hover {
    background-color: var(--side-hover-darker) !important;
}

[b-lclpcioe0y] .nav-link-devops.active {
    background-color: var(--side-bg) !important;
    border-left: 4px solid var(--side-active-primary) !important;
    color: var(--side-active-primary) !important;
    font-weight: 600;
}

/* Ikony a �ipky */
.devops-icon[b-lclpcioe0y] {
    width: 1.5rem;
    margin-right: 0.5rem;
    text-align: center;
}

[b-lclpcioe0y] .accordion-button::after {
    background-size: 0.8rem !important;
}

/* ===== ZAKLADNI WRAPPER (upraveno pro app-shell) =====
   Puvodni position:fixed / width:280px / collapsed / media queries
   ODSTRANENY - pozicovani nyni ridi .app-sidebar v app-shell.css */
.sidebar-wrapper[b-lclpcioe0y] {
    width: 100%;
    height: 100%;
    transition: none;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--side-border);
    background-color: var(--side-bg);
}

[b-lclpcioe0y] .accordion-button::after {
    transition: transform 0.2s ease-in-out !important;
}

/* �ipky v tmav�m re�imu */
[data-bs-theme="dark"][b-lclpcioe0y]  .accordion-button::after {
    filter: invert(1) brightness(2);
}

[b-lclpcioe0y] .accordion-button.collapsed::after {
    transform: rotate(0deg) !important;
}

[b-lclpcioe0y] .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}

/* Hlavi�ka menu */
.custom-header[b-lclpcioe0y] {
    background-color: var(--side-header-bg) !important;
    color: #ffffff !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .custom-header:hover[b-lclpcioe0y] {
        background-color: var(--side-header-hover) !important;
    }

.header-logo[b-lclpcioe0y] {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.transition-icon[b-lclpcioe0y] {
    transition: transform 0.2s ease;
}

/* --- Z�KLADN� KONTEJNER SIDEBARU --- */
.devops-sidebar[b-lclpcioe0y] {
    background-color: var(--side-bg);
    border-right: 1px solid var(--side-border);
    padding: 0 !important;
}

/* --- �ROVE� 1 (OPRAVEN� SEKCE) --- */
.nav-link-devops[b-lclpcioe0y] {
    background-color: var(--side-bg) !important; /* Vynucen� barvy t�matu */
    color: var(--side-text-main) !important;
    border-bottom: 1px solid var(--side-row-sep) !important;
    padding: 0.75rem 1.25rem 0.75rem 0.5rem !important;
    transition: background-color 0.2s;
}

    .nav-link-devops:hover[b-lclpcioe0y] {
        background-color: var(--side-hover-bg) !important;
    }

.menu-text[b-lclpcioe0y] {
    color: var(--side-text-main) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.devops-icon[b-lclpcioe0y] {
    color: var(--side-text-muted) !important;
    font-size: 1.1rem;
    margin-right: 0.75rem !important;
}

.transition-icon[b-lclpcioe0y] {
    color: var(--side-chevron);
    font-size: 0.8rem;
}

/* --- �ROVE� 2 --- */
[b-lclpcioe0y] .nav-group-container {
    background-color: var(--side-level2-bg) !important;
    border-bottom: 1px solid var(--side-border);
}

[b-lclpcioe0y] .nested-accordion-fix .accordion-button {
    background-color: var(--side-level2-bg) !important;
    color: var(--side-text-blue) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.25rem 0.75rem 1.5rem !important;
    border: none !important;
    box-shadow: none !important;
}

/* --- �ROVE� 3 --- */
[b-lclpcioe0y] .nested-accordion-fix2 .accordion-button {
    background-color: var(--side-level2-bg) !important;
    color: var(--side-text-blue) !important;
    font-weight: 600 !important;
    font-size: 0.89rem !important;
    padding: 0.75rem 1.25rem 0.75rem 3rem !important;
    border: none !important;
    box-shadow: none !important;
}

[b-lclpcioe0y] .nested-accordion-fix .nav-link-devops {
    background-color: var(--side-level4-bg);
}


    [b-lclpcioe0y] .nested-accordion-fix .nav-link-devops:hover {
        background-color: var(--side-hover-darker) !important;
        color: var(--side-active-primary) !important;
    }
/* --- �ROVE� 4 --- */

[b-lclpcioe0y] .nested-accordion-fix2 .nav-link-devops {
    background-color: var(--side-level4-bg);
    padding-left: 2rem !important;
}


    [b-lclpcioe0y] .nested-accordion-fix2 .nav-link-devops:hover {
        background-color: var(--side-hover-darker) !important;
        color: var(--side-active-primary) !important;
        padding-left: 2rem !important;
    }

/* --- DOM� (OPRAVEN� SEKCE) --- */
.first-level-link[b-lclpcioe0y] {
    text-decoration: none !important;
    display: block;
    padding: 0.75rem 1.25rem 0.75rem 0.5rem !important;
    border-bottom: 1px solid var(--side-row-sep) !important;
    background-color: var(--side-bg) !important;
    color: var(--side-text-main) !important;
}

    .first-level-link:hover[b-lclpcioe0y] {
        background-color: var(--side-hover-bg) !important;
    }

    .first-level-link .menu-text[b-lclpcioe0y] {
        font-weight: 500 !important;
        color: var(--side-text-main) !important;
    }

/* STRUKTURA A IKONY */
.nav-link-devops > div.d-flex[b-lclpcioe0y],
.nav-link-devops > div.align-items-center[b-lclpcioe0y],
a.nav-link-devops[b-lclpcioe0y] {
    display: flex !important;
    align-items: flex-start !important;
    flex-grow: 1;
    overflow: hidden;
}

.devops-icon[b-lclpcioe0y],
.bi[b-lclpcioe0y] {
    width: 1.5rem !important;
    min-width: 1.5rem !important;
    max-width: 1.5rem !important;
    margin-right: 0.75rem !important;
    display: inline-flex !important;
    justify-content: center;
    flex-shrink: 0 !important;
}

.menu-text[b-lclpcioe0y],
.nav-link-devops span[b-lclpcioe0y] {
    flex: 1;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    display: block;
}

.nav-link-devops.d-flex.justify-content-between[b-lclpcioe0y] {
    display: flex !important;
    flex-direction: row !important;
}

i[class*="bi- "][b-lclpcioe0y] {
    visibility: hidden;
}
/* /Shared/UC/Datagrid/DataGridViewSeek.razor.rz.scp.css */
.navbar-toggler[b-4866mt1b7a] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-4866mt1b7a] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-4866mt1b7a] {
    font-size: 1.1rem;
}

.oi[b-4866mt1b7a] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-4866mt1b7a] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-4866mt1b7a] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-4866mt1b7a] {
        padding-bottom: 1rem;
    }

    .nav-item[b-4866mt1b7a]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-4866mt1b7a]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-4866mt1b7a]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-4866mt1b7a] {
        display: none;
    }

    .collapse[b-4866mt1b7a] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
/* /Shared/UC/Parts/GridPart.razor.rz.scp.css */
.navbar-toggler[b-04kknthsu2] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-04kknthsu2] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-04kknthsu2] {
    font-size: 1.1rem;
}

.oi[b-04kknthsu2] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-04kknthsu2] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-04kknthsu2] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-04kknthsu2] {
        padding-bottom: 1rem;
    }

    .nav-item[b-04kknthsu2]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-04kknthsu2]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-04kknthsu2]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-04kknthsu2] {
        display: none;
    }

    .collapse[b-04kknthsu2] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
