/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MainLayout — shell layout (left nav default)
   ============================================================ */

.app-shell[b-kppgp0enek] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    background: #F4F5F7;
}

.sidebar-shell[b-kppgp0enek] {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

/* nav-card (NavMenu child) musí vyplnit zbývající výšku v column-flex sidebaru */
.sidebar-shell[b-kppgp0enek]  .nav-card {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.content-shell[b-kppgp0enek] {
    padding: 1.25rem 1.25rem 1.5rem 1.1rem;
    background: transparent;
}

.page-body[b-kppgp0enek] {
    min-height: calc(100vh - 2.75rem);
}

/* ---- Nav toggle button ---- */
.nav-toggle-wrap[b-kppgp0enek] {
    background: #002D62;
    padding: 0.4rem 0.85rem 0.6rem;
    flex-shrink: 0;
}

.nav-toggle-btn[b-kppgp0enek] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.38rem 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-toggle-btn:hover[b-kppgp0enek] {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.nav-toggle-btn svg[b-kppgp0enek] {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---- Responsive: wider screen ---- */
@media (min-width: 1600px) {
    .app-shell[b-kppgp0enek] {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .content-shell[b-kppgp0enek] {
        padding: 1.25rem 1.25rem 1.5rem 1rem;
    }
}

/* ---- Mobile topbar & backdrop — hidden on desktop ---- */
.mobile-topbar[b-kppgp0enek] {
    display: none;
}

.mobile-nav-backdrop[b-kppgp0enek] {
    display: none;
}

.mobile-nav-checkbox[b-kppgp0enek] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ---- Tablet landscape ---- */
@media (max-width: 1100px) and (min-width: 821px) {
    .app-shell[b-kppgp0enek] {
        grid-template-columns: 265px minmax(0, 1fr);
    }
}

/* ================================================================
   Top nav mode — [data-nav="top"] on .app-shell
   Shell elements (MainLayout scope) + ::deep pro NavMenu elementy
   ================================================================ */

.app-shell[data-nav="top"][b-kppgp0enek] {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
}

.app-shell[data-nav="top"] .sidebar-shell[b-kppgp0enek] {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    min-height: 56px;
    overflow: visible;
    flex-direction: row;
    align-items: stretch;
}

.app-shell[data-nav="top"] .nav-toggle-wrap[b-kppgp0enek] {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    flex-shrink: 0;
}

.app-shell[data-nav="top"] .nav-toggle-btn[b-kppgp0enek] {
    width: auto;
    white-space: nowrap;
    padding: 0.32rem 0.65rem;
}

.app-shell[data-nav="top"] .content-shell[b-kppgp0enek] {
    padding: 1.25rem;
}

.app-shell[data-nav="top"] .page-body[b-kppgp0enek] {
    min-height: calc(100vh - 56px - 2.5rem);
}

/* --- NavMenu elementy v top-nav módu (::deep = bez scope atributu na cíli) --- */

.app-shell[data-nav="top"][b-kppgp0enek]  .nav-card {
    flex-direction: row;
    height: 56px;
    min-height: 56px;
    padding: 0;
    gap: 0;
    border-radius: 0;
    overflow: visible;
    flex: unset;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .brand-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 1rem;
    width: 210px;
    min-width: 210px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    height: 56px;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .brand-build-line,
.app-shell[data-nav="top"][b-kppgp0enek]  .brand-user-line,
.app-shell[data-nav="top"][b-kppgp0enek]  .brand-footer {
    display: none;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-block {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    flex: 1 1 auto;
    padding: 0;
    gap: 0;
    height: 56px;
    align-content: unset;
    min-height: unset;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-block::-webkit-scrollbar {
    display: none;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-link,
.app-shell[data-nav="top"][b-kppgp0enek]  .menu-section-button {
    padding: 0;
    border-radius: 0;
    height: 56px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-link.active,
.app-shell[data-nav="top"][b-kppgp0enek]  .menu-section-button-active {
    border-bottom-color: #FFC40C;
    border-left-color: transparent;
    background: rgba(255, 196, 12, 0.08);
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-link-inner {
    min-height: 56px;
    height: 56px;
    padding: 0 0.9rem;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-copy span {
    display: none;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .menu-section {
    position: relative;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .submenu-block {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    z-index: 200;
    background: #002D62;
    border-top: 2px solid #FFC40C;
    box-shadow: 0 8px 24px rgba(0, 45, 98, 0.22);
    padding: 0.4rem 0;
    margin: 0;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .submenu-link {
    border-left: 3px solid transparent;
}

.app-shell[data-nav="top"][b-kppgp0enek]  .submenu-link-inner {
    padding: 0.45rem 1rem;
}


/* ================================================================
   Mobile / narrow displays — off-canvas drawer
   ================================================================ */

@media (max-width: 820px) {
    .app-shell[b-kppgp0enek] {
        grid-template-columns: 1fr;
    }

    .mobile-topbar[b-kppgp0enek] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        position: sticky;
        top: 0;
        z-index: 50;
        padding: 0.6rem 0.9rem;
        background: #002D62;
        color: #fff;
        box-shadow: 0 2px 8px rgba(0, 45, 98, 0.25);
    }

    .mobile-topbar-brand[b-kppgp0enek] {
        font-weight: 700;
        font-size: 1rem;
        color: #fff;
        text-decoration: none;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    }

    .mobile-nav-toggle[b-kppgp0enek] {
        width: 38px;
        height: 38px;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav-toggle span[b-kppgp0enek] {
        display: block;
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    .sidebar-shell[b-kppgp0enek] {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 60;
        height: 100vh;
        width: 240px;
        max-width: 85vw;
        overflow-y: auto;
        overflow-x: hidden;
        background: #002D62;
        box-shadow: 4px 0 24px rgba(0, 45, 98, 0.35);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .mobile-nav-checkbox:checked ~ .sidebar-shell[b-kppgp0enek] {
        transform: translateX(0);
    }

    .mobile-nav-checkbox:checked ~ .mobile-nav-backdrop[b-kppgp0enek] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(0, 0, 0, 0.45);
    }

    .content-shell[b-kppgp0enek] {
        padding: 0.85rem;
    }

    .page-body[b-kppgp0enek] {
        min-height: auto;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   KODYS Flat Sidebar
   ============================================================ */

.nav-card[b-kdvzp2lj4r] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #002D62;
    color: #fff;
}

.nav-card-logged-out[b-kdvzp2lj4r] {
    background: #374151;
}

/* ---- Brand block ---- */
.brand-block[b-kdvzp2lj4r] {
    padding: 1.1rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.brand-title[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
}

.brand-title-text[b-kdvzp2lj4r] {
    color: #fff;
}

.brand-build-line[b-kdvzp2lj4r] {
    margin-top: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.brand-build-link[b-kdvzp2lj4r] {
    color: #7fa8cc;
    text-decoration: none;
    border-bottom: none;
    transition: color 0.15s ease;
}

.brand-build-link:hover[b-kdvzp2lj4r] {
    color: #fff;
}

.brand-user-line[b-kdvzp2lj4r] {
    margin-top: 0.55rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.6rem;
}

.brand-user-avatar[b-kdvzp2lj4r] {
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    overflow: hidden;
    user-select: none;
    align-items:center;
    width:48px;
    height:48px;
}

.brand-user-text[b-kdvzp2lj4r] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    justify-content: center;
}

.brand-user-name[b-kdvzp2lj4r] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}

.brand-user-meta[b-kdvzp2lj4r] {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0;
}

.brand-user-name-row[b-kdvzp2lj4r] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.brand-logout-link[b-kdvzp2lj4r] {
    margin-left: auto;
    flex-shrink: 0;
    color: #FFC40C;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: none;
    transition: opacity 0.15s ease;
}

.brand-logout-link:hover[b-kdvzp2lj4r] {
    text-decoration: underline;
    color: #FFC40C;
    border-color: transparent;
}

/* ---- Menu area ---- */
.menu-block[b-kdvzp2lj4r] {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    gap: 0;
    align-content: start;
    overflow-y: auto;
    padding: 0.6rem 0;
    padding-right: 0;
}

.menu-block[b-kdvzp2lj4r]::-webkit-scrollbar {
    width: 3px;
}

.menu-block[b-kdvzp2lj4r]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* ---- Top-level items ---- */
.menu-link[b-kdvzp2lj4r],
.menu-section-button[b-kdvzp2lj4r] {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #c8dced;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-left-color 0.15s ease, color 0.15s ease;
}

.menu-section summary[b-kdvzp2lj4r] {
    list-style: none;
}

.menu-section summary[b-kdvzp2lj4r]::-webkit-details-marker {
    display: none;
}

.menu-link:hover[b-kdvzp2lj4r],
.menu-section-button:hover[b-kdvzp2lj4r] {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.menu-link.active[b-kdvzp2lj4r],
.menu-section-button-active[b-kdvzp2lj4r] {
    background: rgba(255, 196, 12, 0.1);
    border-left-color: #FFC40C;
    color: #fff;
}

.menu-link-disabled[b-kdvzp2lj4r],
.menu-section-button-disabled[b-kdvzp2lj4r] {
    pointer-events: none;
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---- Inner row layout ---- */
.menu-link-inner[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 3.6rem;
    padding: 0.75rem 1rem 0.75rem 1rem;
    border-radius: 0;
    border: none;
    background: none;
    box-shadow: none;
    transition: background 0.15s ease;
}

.menu-link:hover .menu-link-inner[b-kdvzp2lj4r],
.menu-link.active .menu-link-inner[b-kdvzp2lj4r],
.menu-section-button:hover .menu-link-inner[b-kdvzp2lj4r],
.menu-section-button-active .menu-link-inner[b-kdvzp2lj4r],
.menu-section-expanded > .menu-section-button .menu-link-inner[b-kdvzp2lj4r] {
    transform: none;
    background: none;
    border-color: transparent;
    box-shadow: none;
    color: inherit;
}

.menu-link-disabled .menu-link-inner[b-kdvzp2lj4r],
.menu-section-button-disabled .menu-link-inner[b-kdvzp2lj4r] {
    transform: none;
    background: none;
    border-color: transparent;
    box-shadow: none;
}

/* ---- Icon squares ---- */
.menu-icon[b-kdvzp2lj4r] {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    color: #c8dced;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.menu-icon[b-kdvzp2lj4r]::before {
    display: none;
}

.icon-dashboard[b-kdvzp2lj4r], .icon-customers[b-kdvzp2lj4r], .icon-contacts[b-kdvzp2lj4r], .icon-opportunities[b-kdvzp2lj4r],
.icon-leads[b-kdvzp2lj4r], .icon-businesscases[b-kdvzp2lj4r], .icon-contracts[b-kdvzp2lj4r], .icon-activities[b-kdvzp2lj4r],
.icon-projects[b-kdvzp2lj4r], .icon-service[b-kdvzp2lj4r], .icon-reporting[b-kdvzp2lj4r], .icon-timesheets[b-kdvzp2lj4r],
.icon-tasks[b-kdvzp2lj4r], .icon-assistant[b-kdvzp2lj4r], .icon-settings[b-kdvzp2lj4r] {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

.menu-link.active .menu-icon[b-kdvzp2lj4r],
.menu-section-button-active .menu-icon[b-kdvzp2lj4r] {
    background: #FFC40C;
    color: #002D62;
}

.menu-link:hover .menu-icon[b-kdvzp2lj4r],
.menu-section-button:hover .menu-icon[b-kdvzp2lj4r] {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.menu-link-disabled .menu-icon[b-kdvzp2lj4r],
.menu-section-button-disabled .menu-icon[b-kdvzp2lj4r],
.nav-card-logged-out .menu-icon[b-kdvzp2lj4r] {
    filter: none;
    box-shadow: none;
}

/* .menu-icon-glyph a svg — viz app.css (globální scope, MarkupString nemá b-xxx) */

.menu-icon-letter[b-kdvzp2lj4r] {
    display: none;
}

/* ---- Nav text ---- */
.menu-copy[b-kdvzp2lj4r] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
}

.menu-copy strong[b-kdvzp2lj4r] {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    text-shadow: none;
}

.menu-copy span[b-kdvzp2lj4r] {
    font-size: 12px;
    color: #7fa8cc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.menu-link.active .menu-copy strong[b-kdvzp2lj4r],
.menu-section-button-active .menu-copy strong[b-kdvzp2lj4r] {
    color: #fff;
}

/* ---- Submenu ---- */
.submenu-block[b-kdvzp2lj4r] {
    padding: 0.15rem 0 0.25rem;
}

/* 3. úroveň menu (reporty pod oblastí) — kompaktní, odsazené, s krátkým kódem místo ikony. */
.subsubmenu-block[b-kdvzp2lj4r] {
    background: rgba(0, 0, 0, 0.14);
    padding: 0.1rem 0 0.25rem;
}

.subsubmenu-link-inner[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.4rem 1rem 0.4rem 3.9rem;
    min-height: 2.4rem;
    border: none;
    background: none;
    box-shadow: none;
}

.subsubmenu-bullet[b-kdvzp2lj4r] {
    flex: 0 0 auto;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #7fa8c4;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 0.12rem 0.32rem;
    min-width: 1.95rem;
    text-align: center;
}

.subsubmenu-block .submenu-copy strong[b-kdvzp2lj4r] {
    font-size: 0.78rem;
    font-weight: 600;
}

/* Popis reportu je dlouhý — ve 3. úrovni ho skryjeme, ať menu zůstane kompaktní. */
.subsubmenu-block .submenu-copy span[b-kdvzp2lj4r] {
    display: none;
}

.submenu-link[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #a8c4d8;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, border-left-color 0.15s ease, color 0.15s ease;
}

.submenu-link:hover[b-kdvzp2lj4r] {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: none;
}

.submenu-link-active[b-kdvzp2lj4r] {
    background: rgba(255, 196, 12, 0.07);
    border-left-color: #FFC40C;
    color: #fff;
    transform: none;
}

.submenu-link-disabled[b-kdvzp2lj4r] {
    pointer-events: none;
    opacity: 0.3;
}

.submenu-link-inner[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.75rem;
    min-height: 3rem;
    border: none;
    background: none;
    box-shadow: none;
}

.submenu-link:hover .submenu-link-inner[b-kdvzp2lj4r],
.submenu-link-active .submenu-link-inner[b-kdvzp2lj4r] {
    border-color: transparent;
    box-shadow: none;
}

.submenu-icon[b-kdvzp2lj4r] {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #a8c4d8;
    transition: background 0.15s ease, color 0.15s ease;
    box-shadow: none;
    position: relative;
}

.submenu-icon[b-kdvzp2lj4r] {
    overflow: visible;
}

/* Oranžová svítící LED v levém horním rohu ikony (modul „ve výstavbě"). */
.menu-led[b-kdvzp2lj4r] {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd08a 0%, #ff8c00 55%, #e67300 100%);
    box-shadow: 0 0 4px 1px rgba(255, 140, 0, 0.85);
    animation: led-pulse-b-kdvzp2lj4r 1.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes led-pulse-b-kdvzp2lj4r {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 4px 1px rgba(255, 140, 0, 0.85);
    }
    50% {
        opacity: 0.55;
        box-shadow: 0 0 8px 3px rgba(255, 140, 0, 1);
    }
}

/* Zelená, stabilně svítící (bez pulzu) — proces běží v produkci. */
.menu-led-green[b-kdvzp2lj4r] {
    background: radial-gradient(circle at 35% 35%, #a8f0b0 0%, #22c55e 55%, #16a34a 100%);
    box-shadow: 0 0 5px 1.5px rgba(34, 197, 94, 0.9);
    animation: none;
    opacity: 1;
}

.submenu-icon[b-kdvzp2lj4r]::before {
    display: none;
}

.submenu-link-active .submenu-icon[b-kdvzp2lj4r] {
    background: #FFC40C;
    color: #002D62;
}

.submenu-link:hover .submenu-icon[b-kdvzp2lj4r] {
    color: #fff;
}

.submenu-icon .menu-icon-glyph[b-kdvzp2lj4r] {
    color: inherit;
}

.submenu-icon .menu-icon-glyph svg[b-kdvzp2lj4r] {
    fill: currentColor;
}

.submenu-copy[b-kdvzp2lj4r] {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.submenu-copy strong[b-kdvzp2lj4r] {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.submenu-copy span[b-kdvzp2lj4r] {
    font-size: 11px;
    color: #7fa8cc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Footer s logem ---- */
.brand-footer[b-kdvzp2lj4r] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    text-decoration: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.15s ease;
}

.brand-footer:hover[b-kdvzp2lj4r] {
    transform: none;
    box-shadow: none;
    opacity: 0.85;
}

.brand-footer img[b-kdvzp2lj4r] {
    display: block;
    max-height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.brand-footer:hover img[b-kdvzp2lj4r] {
    opacity: 0.82;
}

.nav-card-logged-out .brand-user-line[b-kdvzp2lj4r] {
    display: none;
}

/* [data-nav="top"] pravidla pro NavMenu elementy jsou v MainLayout.razor.css přes ::deep
   (scoped CSS z NavMenu.razor.css by neaplikovalo na .app-shell z jiného komponentu) */
/* /Components/Pages/SalesContacts.razor.rz.scp.css */
/* ── Formulář aktivity ─────────────────────────────────────── */

.activity-form-layout[b-daevuqgzd7] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Kompaktní panely (metadata + kontext) */
.activity-form-panel[b-daevuqgzd7] {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    background: rgba(248,250,252,0.7);
    margin: 0;
}

.activity-form-panel legend[b-daevuqgzd7] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    padding: 0 0.4rem;
}

.activity-form-panel-grid[b-daevuqgzd7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem 0.85rem;
    margin-top: 0.5rem;
}

.activity-form-panel-grid label[b-daevuqgzd7] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.activity-form-panel-grid .form-control-sm[b-daevuqgzd7],
.activity-form-panel-grid .form-select-sm[b-daevuqgzd7] {
    font-size: 0.82rem;
    padding: 0.3rem 0.5rem;
    height: auto;
}

/* Hlavní pole — Předmět + Zápis */
.activity-form-main[b-daevuqgzd7] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.activity-main-label[b-daevuqgzd7] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.activity-main-input[b-daevuqgzd7] {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
}

.activity-main-textarea[b-daevuqgzd7] {
    min-height: 7rem;
    font-size: 0.92rem;
    line-height: 1.6;
    resize: vertical;
}

/* Počítadlo dostupných entit v kontextovém panelu */
.ctx-count[b-daevuqgzd7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.32rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    vertical-align: middle;
    margin-left: 0.3rem;
    transition: background 0.15s, color 0.15s;
}

.ctx-count-zero[b-daevuqgzd7] {
    background: rgba(0, 0, 0, 0.06);
    color: #94a3b8;
}

/* Příležitost z kontaktu */
.activity-form-opp[b-daevuqgzd7] {
    padding-top: 0.25rem;
}
