/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tojl2g3rs6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-tojl2g3rs6] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

article[b-tojl2g3rs6] {
    padding-bottom: 3rem;
}

.sidebar[b-tojl2g3rs6] {
    /* background handled by NavMenu.razor.css */
}

/* ── md and up: desktop sidebar + content side by side ───────── */
@media (min-width: 768px) {
    .page[b-tojl2g3rs6] {
        flex-direction: row;
    }

    .sidebar[b-tojl2g3rs6] {
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
        /* Stacking context above page content so modals/overlays layer correctly. */
        z-index: 200;
    }

    .top-row[b-tojl2g3rs6], article[b-tojl2g3rs6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    article[b-tojl2g3rs6] {
        padding-bottom: 3rem !important;
    }
}

/* ── Below md: the bottom tab bar is fixed; leave room for it ── */
@media (max-width: 767.98px) {
    article.content[b-tojl2g3rs6] {
        padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
    }
}

#blazor-error-ui[b-tojl2g3rs6] {
    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-tojl2g3rs6] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Toggle input (hidden) ───────────────── */
.nav-toggle-input[b-qaek39ds9j] { display: none; }

/* ── Mobile backdrop ─────────────────────── */
.nav-backdrop[b-qaek39ds9j] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,50,120,.35);
    backdrop-filter: blur(2px);
    /* Above all in-page content (FAB z-1030, dropdowns z-1055-1060) so the open
       mobile menu covers the schedule table and toolbar. Only visible <992px. */
    z-index: 1099;
    cursor: pointer;
}

/* ── Sidebar shell ───────────────────────── */
.sidebar[b-qaek39ds9j] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #0e2554;          /* deep navy – fresh base */
    border-right: 1px solid rgba(255,255,255,.07);
    width: 260px;
    transition: width .22s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

/* ── Collapsed state ─────────────────────── */
.sidebar.collapsed[b-qaek39ds9j] { width: 64px; }

/* ── Brand ───────────────────────────────── */
.sidebar-brand[b-qaek39ds9j] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

.brand-logo[b-qaek39ds9j] {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(249,115,22,.45);
}

.brand-name[b-qaek39ds9j] {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    flex: 1;
}

.sidebar-close[b-qaek39ds9j] {
    color: rgba(255,255,255,.35);
    cursor: pointer;
    font-size: 1rem;
    padding: 2px;
}
.sidebar-close:hover[b-qaek39ds9j] { color: #fff; }

/* ── Nav ─────────────────────────────────── */
.sidebar-nav[b-qaek39ds9j] {
    flex: 1;
    overflow-y: auto;
    padding: .75rem .75rem 0;
    padding-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.08) transparent;
}

.nav-section-label[b-qaek39ds9j] {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.22);
    padding: .75rem .5rem .3rem;
    margin-top: .25rem;
}

.nav-item[b-qaek39ds9j],
[b-qaek39ds9j] .nav-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .75rem;
    border-radius: 8px;
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
    border: none;
    background: none;
    width: 100%;
}

.nav-item i[b-qaek39ds9j],
[b-qaek39ds9j] .nav-item i { font-size: 1rem; flex-shrink: 0; width: 1rem; text-align: center; }

.nav-item:hover[b-qaek39ds9j],
[b-qaek39ds9j] .nav-item:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
}

[b-qaek39ds9j] .nav-item.active {
    background: rgba(249,115,22,.18);
    color: #fb923c;
}

.nav-item-disabled[b-qaek39ds9j],
[b-qaek39ds9j] .nav-item-disabled {
    opacity: .35;
    pointer-events: none;
    cursor: default;
}

.nav-soon[b-qaek39ds9j],
[b-qaek39ds9j] .nav-soon {
    margin-left: auto;
    font-size: .63rem;
    font-weight: 600;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.3);
    border-radius: 4px;
    padding: 1px 6px;
    letter-spacing: .04em;
}

/* ── Footer ──────────────────────────────── */
.sidebar-footer[b-qaek39ds9j] {
    padding: .75rem;
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}

.user-row[b-qaek39ds9j] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
    cursor: pointer;
}
.user-row:hover[b-qaek39ds9j] { background: rgba(255,255,255,.07); }

.user-avatar[b-qaek39ds9j] {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e6fdb, #3b82f6);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.user-info[b-qaek39ds9j] { flex: 1; min-width: 0; }
.user-name[b-qaek39ds9j] {
    font-size: .82rem;
    font-weight: 600;
    color: #e8f0fe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-role[b-qaek39ds9j] { font-size: .72rem; color: rgba(255,255,255,.35); }

.user-gear[b-qaek39ds9j] { color: rgba(255,255,255,.3); font-size: .85rem; flex-shrink: 0; }
.user-row:hover .user-gear[b-qaek39ds9j] { color: rgba(255,255,255,.6); }

.logout-btn[b-qaek39ds9j] {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .5rem .75rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: rgba(255,255,255,.4);
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.logout-btn:hover[b-qaek39ds9j] {
    background: rgba(239,68,68,.12);
    border-color: rgba(239,68,68,.25);
    color: #fca5a5;
}
.logout-btn i[b-qaek39ds9j] { font-size: .9rem; }

/* ── Collapse toggle button ──────────────── */
.sidebar-collapse-btn[b-qaek39ds9j] {
    align-items: center;
    justify-content: center;
    width: 24px; height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: rgba(255,255,255,.35);
    font-size: .72rem;
    cursor: pointer;
    transition: background .15s, color .15s;
    flex-shrink: 0;
    padding: 0;
    margin-left: auto;
}
.sidebar-collapse-btn:hover[b-qaek39ds9j] { background: rgba(255,255,255,.1); color: #fff; }

/* collapsed: show toggle flush-centered in brand */
.sidebar.collapsed .sidebar-collapse-btn[b-qaek39ds9j] { margin-left: 0; }

/* hide text elements when collapsed */
.sidebar.collapsed .brand-name[b-qaek39ds9j]          { display: none; }
.sidebar.collapsed .nav-section-label[b-qaek39ds9j]   { display: none; }
.sidebar.collapsed .nav-item span[b-qaek39ds9j],
[b-qaek39ds9j] .sidebar.collapsed .nav-item span { display: none; }
.sidebar.collapsed .nav-soon[b-qaek39ds9j],
[b-qaek39ds9j] .sidebar.collapsed .nav-soon     { display: none; }
.sidebar.collapsed .user-info[b-qaek39ds9j]           { display: none; }
.sidebar.collapsed .user-gear[b-qaek39ds9j]           { display: none; }
.sidebar.collapsed .logout-btn span[b-qaek39ds9j]     { display: none; }

/* center icons when collapsed */
.sidebar.collapsed .nav-item[b-qaek39ds9j],
[b-qaek39ds9j] .sidebar.collapsed .nav-item {
    justify-content: center;
    padding: .55rem 0;
}
.sidebar.collapsed .sidebar-brand[b-qaek39ds9j] {
    justify-content: center;
    gap: 0;
    padding: 1.1rem .75rem;
}
.sidebar.collapsed .brand-logo[b-qaek39ds9j] { margin: 0; }
.sidebar.collapsed .user-row[b-qaek39ds9j] {
    justify-content: center;
    padding: .6rem 0;
}
.sidebar.collapsed .sidebar-footer[b-qaek39ds9j] { padding: .75rem .4rem; }
.sidebar.collapsed .logout-btn[b-qaek39ds9j] {
    justify-content: center;
    padding: .5rem 0;
}
.sidebar.collapsed .sidebar-nav[b-qaek39ds9j] { padding: .75rem .4rem 0; }

/* ── Hamburger ───────────────────────────── */
.hamburger-btn[b-qaek39ds9j] {
    font-size: 1.4rem;
    color: #374151;
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: 6px;
    transition: background .15s;
    line-height: 1;
}
.hamburger-btn:hover[b-qaek39ds9j] { background: #e8f1fd; color: #1e6fdb; }

/* ── Below md: the sidebar is replaced by the mobile bottom-tab + drawer chrome ── */
@media (max-width: 767.98px) {
    .sidebar[b-qaek39ds9j] { display: none; }
    .nav-backdrop[b-qaek39ds9j] { display: none !important; }
}

/* md and up the sidebar is always inline — drop the off-canvas close affordance. */
@media (min-width: 768px) {
    .sidebar-close[b-qaek39ds9j] { display: none !important; }
}
/* /Components/Layout/PwaInstallButton.razor.rz.scp.css */
.install-btn[b-febalfgpnq] {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    margin-bottom: .5rem;
    padding: .5rem .75rem;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 500;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.install-btn:hover[b-febalfgpnq] {
    background: #ffedd5;
    border-color: #fdba74;
}

.install-btn i[b-febalfgpnq] {
    font-size: 1rem;
    opacity: .9;
}
/* /Components/Layout/PwaIosBanner.razor.rz.scp.css */
.ios-install-banner[b-qoiofy8vrl] {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 1080;
    width: calc(100% - 1.5rem);
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .85rem;
    background: #0e2554;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
    font-size: .88rem;
    line-height: 1.3;
}

/* Little pointer aiming at Safari's bottom toolbar (where the Share button sits). */
.ios-install-banner[b-qoiofy8vrl]::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #0e2554;
}

.ios-install-icon[b-qoiofy8vrl] {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.ios-install-text[b-qoiofy8vrl] {
    flex: 1 1 auto;
}

.ios-install-text .bi-box-arrow-up[b-qoiofy8vrl] {
    color: #3b82f6;
    margin: 0 .1rem;
}

.ios-install-close[b-qoiofy8vrl] {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 1rem;
    padding: .25rem .35rem;
    cursor: pointer;
    border-radius: 6px;
}

.ios-install-close:hover[b-qoiofy8vrl] {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-oijrqngozr],
.components-reconnect-repeated-attempt-visible[b-oijrqngozr],
.components-reconnect-failed-visible[b-oijrqngozr],
.components-pause-visible[b-oijrqngozr],
.components-resume-failed-visible[b-oijrqngozr],
.components-rejoining-animation[b-oijrqngozr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-retrying[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-failed[b-oijrqngozr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-oijrqngozr] {
    display: block;
}


#components-reconnect-modal[b-oijrqngozr] {
    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-oijrqngozr 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-oijrqngozr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-oijrqngozr 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-oijrqngozr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-oijrqngozr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-oijrqngozr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-oijrqngozr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-oijrqngozr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-oijrqngozr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-oijrqngozr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-oijrqngozr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-oijrqngozr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-oijrqngozr] {
        background-color: #6b9ed2;
    }

    /* „Рестартирай" — отделен (оранжев) цвят, за да се отличава от „Опитай отново". */
    #components-reconnect-modal #components-reconnect-reload-button[b-oijrqngozr] {
        background-color: #f97316;
    }

    #components-reconnect-modal #components-reconnect-reload-button:hover[b-oijrqngozr] {
        background-color: #ea6b0a;
    }

.components-rejoining-animation[b-oijrqngozr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-oijrqngozr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-oijrqngozr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-oijrqngozr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-oijrqngozr {
    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/CityAutocomplete.razor.rz.scp.css */
.city-ac[b-lzvp758p3i] {
    position: relative;
}

.city-ac-menu[b-lzvp758p3i] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    z-index: 1056;
    max-height: 260px;
    overflow-y: auto;
}

.city-ac-item[b-lzvp758p3i] {
    display: flex;
    align-items: center;
    padding: .55rem .85rem;
    cursor: pointer;
    font-size: .875rem;
    transition: background .1s;
}

.city-ac-item:hover[b-lzvp758p3i] {
    background: #f1f5f9;
}

.city-ac-item + .city-ac-item[b-lzvp758p3i] {
    border-top: 1px solid #f1f5f9;
}

.city-ac-name[b-lzvp758p3i] {
    font-weight: 600;
    color: #1e293b;
}

.city-ac-kind[b-lzvp758p3i] {
    margin-left: .5rem;
    font-size: .72rem;
    color: #94a3b8;
}

.city-ac-region[b-lzvp758p3i] {
    margin-left: auto;
    font-size: .72rem;
    color: #cbd5e1;
}
