/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-odqk1chqwk] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-odqk1chqwk] {
    flex: 1;
}

.app-header[b-odqk1chqwk] {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#blazor-error-ui[b-odqk1chqwk] {
    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-odqk1chqwk] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============ Mega-menu top header (Lumio handoff) ============ */
.app-header-bar[b-vtamfowu6z] {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

/* Hlavicka ide po celej sirke rovnako ako .content (rovnakych 24px po stranach). */
.app-header-inner[b-vtamfowu6z] {
    position: relative;
    max-width: none;
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
    flex-wrap: wrap;
}

/* ---- Brand ---- */
.brand[b-vtamfowu6z] {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark[b-vtamfowu6z] {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), #f3b89e);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 14px var(--primary-soft);
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-mark img[b-vtamfowu6z] {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.brand-text[b-vtamfowu6z] {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--text);
}

.brand-text__sub[b-vtamfowu6z] {
    color: var(--primary);
    font-weight: 700;
}

/* ---- Collapse layout ---- */
.nav-collapse[b-vtamfowu6z] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 18px;
}

.main-nav[b-vtamfowu6z] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    justify-content: center;
}

.header-actions[b-vtamfowu6z] {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.header-actions--guest[b-vtamfowu6z] {
    margin-left: auto;
}

/* ---- Nav pills (NavLink + mega trigger) ---- */
.app-header-bar[b-vtamfowu6z]  .nav-pill {
    border: 0;
    background: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 9px 13px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.app-header-bar[b-vtamfowu6z]  .nav-pill:hover {
    color: var(--text);
}

.app-header-bar[b-vtamfowu6z]  .nav-pill.active {
    background: var(--primary-soft);
    color: var(--text);
}

.app-header-bar[b-vtamfowu6z]  .nav-pill--accent {
    background: var(--primary);
    color: var(--primary-text);
    font-weight: 700;
}

.app-header-bar[b-vtamfowu6z]  .nav-pill--accent:hover {
    color: var(--primary-text);
    filter: brightness(1.05);
}

/* ---- Mega menu ---- */
.mega[b-vtamfowu6z] {
    position: relative;
}

.mega-input[b-vtamfowu6z] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mega-trigger[b-vtamfowu6z] {
    user-select: none;
}

.caret[b-vtamfowu6z] {
    display: inline-flex;
    transition: transform .2s ease;
}

.mega-input:checked ~ .mega-trigger[b-vtamfowu6z] {
    background: var(--primary-soft);
    color: var(--text);
}

.mega-input:checked ~ .mega-trigger .caret[b-vtamfowu6z] {
    transform: rotate(180deg);
}

.mega-overlay[b-vtamfowu6z] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    cursor: default;
}

.mega-input:checked ~ .mega-overlay[b-vtamfowu6z] {
    display: block;
}

.mega-panel[b-vtamfowu6z] {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 41;
    background: var(--elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 28px 56px rgba(0, 0, 0, .32);
    animation: megaIn .18s ease;
}

.mega-input:checked ~ .mega-panel[b-vtamfowu6z] {
    display: block;
}

.mega-grid[b-vtamfowu6z] {
    max-width: none;
    margin: 0 auto;
    padding: 26px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .95fr;
    gap: 26px;
}

.mega-col__title[b-vtamfowu6z] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 10px;
    padding-left: 9px;
}

.app-header-bar[b-vtamfowu6z]  .mega-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    padding: 9px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color .15s ease;
}

.app-header-bar[b-vtamfowu6z]  .mega-link:hover {
    background: var(--surface2);
}

.app-header-bar[b-vtamfowu6z]  .mega-link.active {
    background: var(--primary-soft);
}

.mega-link__icon[b-vtamfowu6z] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.mega-link__icon[b-vtamfowu6z]::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: var(--primary);
}

.mega-link__label[b-vtamfowu6z] {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.mega-link__desc[b-vtamfowu6z] {
    display: block;
    font-weight: 500;
    font-size: 12px;
    color: var(--faint);
    margin-top: 2px;
}

.mega-promo[b-vtamfowu6z] {
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(150deg, var(--primary), #f0b89e);
    color: #3a1016;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-promo__title[b-vtamfowu6z] {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -.01em;
}

.mega-promo__text[b-vtamfowu6z] {
    font-size: 13px;
    font-weight: 500;
    opacity: .82;
    margin-top: 6px;
    line-height: 1.45;
}

.mega-promo__btn[b-vtamfowu6z] {
    margin-top: 16px;
    align-self: flex-start;
    background: #3a1016;
    color: #fff;
    border: 0;
    border-radius: 11px;
    padding: 9px 15px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

/* ---- Icon buttons (theme, profile, logout) ---- */
.app-header-bar[b-vtamfowu6z]  .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, transform .1s ease;
}

.app-header-bar[b-vtamfowu6z]  .icon-btn:hover {
    color: var(--text);
    border-color: var(--border2);
}

.app-header-bar[b-vtamfowu6z]  .icon-btn:active {
    transform: scale(.94);
}

.app-header-bar[b-vtamfowu6z]  .icon-btn--logout:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.logout-form[b-vtamfowu6z] {
    margin: 0;
    display: flex;
}

/* ---- Hamburger ---- */
.nav-toggle-input[b-vtamfowu6z] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-btn[b-vtamfowu6z] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    width: 42px;
    height: 38px;
    padding: 0 10px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle-btn span[b-vtamfowu6z] {
    height: 2px;
    border-radius: 2px;
    background: var(--text);
}

/* ============ Mobile ============ */
@media (max-width: 991px) {
    .nav-toggle-btn[b-vtamfowu6z] {
        display: inline-flex;
    }

    .nav-collapse[b-vtamfowu6z] {
        display: none;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 14px;
    }

    .nav-toggle-input:checked ~ .nav-collapse[b-vtamfowu6z] {
        display: flex;
    }

    .main-nav[b-vtamfowu6z] {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
    }

    .app-header-bar[b-vtamfowu6z]  .nav-pill {
        width: 100%;
    }

    .header-actions[b-vtamfowu6z] {
        justify-content: flex-end;
    }

    .header-actions--guest[b-vtamfowu6z] {
        margin-left: 0;
    }

    .mega-panel[b-vtamfowu6z] {
        position: static;
        box-shadow: none;
        border: 0;
        background: transparent;
        animation: none;
    }

    .mega-grid[b-vtamfowu6z] {
        grid-template-columns: 1fr;
        padding: 6px 0;
        gap: 10px;
    }

    .mega-overlay[b-vtamfowu6z] {
        display: none !important;
    }

    .mega-promo[b-vtamfowu6z] {
        display: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8nlzixfpox],
.components-reconnect-repeated-attempt-visible[b-8nlzixfpox],
.components-reconnect-failed-visible[b-8nlzixfpox],
.components-pause-visible[b-8nlzixfpox],
.components-resume-failed-visible[b-8nlzixfpox],
.components-rejoining-animation[b-8nlzixfpox] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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