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

main[b-irae1v6dz2] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sidebar[b-irae1v6dz2] {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-sidebar-bg) 0%, var(--color-sidebar-bg-alt) 100%);
}

    .sidebar[b-irae1v6dz2]::before {
        content: "";
        position: absolute;
        top: -70px;
        left: -50px;
        width: 240px;
        height: 240px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0) 70%);
        pointer-events: none;
    }

@media (min-width: 641px) {
    .page[b-irae1v6dz2] {
        flex-direction: row;
        /* Room for the fixed TopBar (Shared/TopBar.razor), which sits outside .page and would
           otherwise overlap the first --topbar-height of the sidebar/content. */
        padding-top: var(--topbar-height);
    }

    .sidebar[b-irae1v6dz2] {
        width: 270px;
        flex: none;
        height: calc(100vh - var(--topbar-height));
        position: sticky;
        top: var(--topbar-height);
    }

    article[b-irae1v6dz2] {
        padding-left: 2.5rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 640.98px) {
    article[b-irae1v6dz2] {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3srwj9l2ll] {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.top-row[b-3srwj9l2ll] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.navbar-brand[b-3srwj9l2ll] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

/* ::deep: the icon glyphs are now rendered by the <Icon> child component (Shared/Icon.razor),
   so Blazor's CSS isolation never attaches this file's scope attribute to their root <svg> -
   without ::deep these rules would silently never match (see NavMenu.razor Icon usages below). */
[b-3srwj9l2ll] .brand-icon {
    width: 1.4rem;
    height: 1.4rem;
    color: #60a5fa;
    flex-shrink: 0;
}

/* --- company branding --- */

.nav-company-branding[b-3srwj9l2ll] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem 0;
    min-width: 0;
}

.nav-company-logo[b-3srwj9l2ll] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 4px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
}

.nav-company-name[b-3srwj9l2ll] {
    min-width: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- profile block --- */

.nav-profile[b-3srwj9l2ll] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem 1rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-avatar[b-3srwj9l2ll] {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, var(--color-primary) 100%);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.nav-profile-info[b-3srwj9l2ll] {
    min-width: 0;
}

.nav-profile-name[b-3srwj9l2ll] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-email[b-3srwj9l2ll] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- nav items --- */

.nav-item[b-3srwj9l2ll] {
    font-size: 0.9rem;
    padding-bottom: 0.3rem;
}

    .nav-item:last-of-type[b-3srwj9l2ll] {
        padding-bottom: 1rem;
    }

[b-3srwj9l2ll] .nav-icon {
    width: 1.05rem;
    height: 1.05rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}

/* FeedbackUnreadBadge's root <span> - pushed to the far right of the flex nav-link (see
   ".nav-item ::deep a" below) rather than overlapping the icon, so it stays legible at any count. */
[b-3srwj9l2ll] .nav-badge {
    margin-left: auto;
    margin-right: 0.5rem;
    background: var(--color-danger);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.nav-item[b-3srwj9l2ll]  a, .nav-item .nav-link-button[b-3srwj9l2ll] {
    color: var(--color-sidebar-text);
    border-radius: 8px;
    height: 2.75rem;
    display: flex;
    align-items: center;
    line-height: 2.75rem;
    padding-left: 0.5rem;
    border-left: 3px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-item[b-3srwj9l2ll]  a.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-left-color: var(--color-primary);
    color: var(--color-sidebar-text-active);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

.nav-item[b-3srwj9l2ll]  a:hover, .nav-item .nav-link-button:hover[b-3srwj9l2ll] {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--color-sidebar-text-active);
    transform: translateX(2px);
}

    .nav-item[b-3srwj9l2ll]  a:hover .nav-icon,
    .nav-item .nav-link-button:hover[b-3srwj9l2ll]  .nav-icon {
        transform: scale(1.15);
    }

.nav-link-button[b-3srwj9l2ll] {
    width: 100%;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.nav-link-expandable[b-3srwj9l2ll] {
    justify-content: flex-start;
}

.nav-link-text[b-3srwj9l2ll] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-3srwj9l2ll] .nav-chevron {
    width: 0.75rem;
    height: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
    transition: transform 0.18s ease;
}

    [b-3srwj9l2ll] .nav-chevron.expanded {
        transform: rotate(90deg);
    }

.nav-sub-item[b-3srwj9l2ll] {
    font-size: 0.85rem;
    padding-bottom: 0.2rem;
}

    .nav-sub-item[b-3srwj9l2ll]  a {
        color: var(--color-sidebar-text);
        border-radius: 8px;
        height: 2.25rem;
        display: flex;
        align-items: center;
        line-height: 2.25rem;
        padding-left: 2.35rem;
        border-left: 3px solid transparent;
        transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .nav-sub-item[b-3srwj9l2ll]  a.active {
        background: linear-gradient(90deg, rgba(37, 99, 235, 0.28) 0%, rgba(37, 99, 235, 0.08) 100%);
        border-left-color: var(--color-primary);
        color: var(--color-sidebar-text-active);
    }

    .nav-sub-item[b-3srwj9l2ll]  a:hover {
        background-color: rgba(255, 255, 255, 0.07);
        color: var(--color-sidebar-text-active);
    }

[b-3srwj9l2ll] .nav-icon-sm {
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.nav-divider[b-3srwj9l2ll] {
    height: 1px;
    margin: 0.5rem 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 641px) {
    .navbar-toggler[b-3srwj9l2ll] {
        display: none;
    }

    .collapse[b-3srwj9l2ll] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    /* Brand + identity now live in the global TopBar (Shared/TopBar.razor) - this internal
       top-row/nav-profile pair only serves the mobile off-canvas menu below this breakpoint.
       nav-desktop-hidden (Ustawienia submenu + Wyloguj, see NavMenu.razor) moved into TopBar's
       own account dropdown for the same reason - both wrappers exist purely for mobile now. */
    .top-row[b-3srwj9l2ll],
    .nav-profile[b-3srwj9l2ll],
    .nav-desktop-hidden[b-3srwj9l2ll] {
        display: none;
    }

    .nav-scrollable[b-3srwj9l2ll] {
        /* No .top-row sibling stealing space at this width any more - fill the whole sidebar
           (already shortened by --topbar-height, see MainLayout.razor.css). */
        height: 100%;
        overflow-y: auto;
    }
}
/* /Shared/AuthShell.razor.rz.scp.css */
/* Shell "chrome" shared by Login/Register/ForgotPassword/ResetPassword/AcceptInvitation - see
   AuthShell.razor's own comment. Form-field classes (login-input-wrap, login-submit, ...) live in
   the global app.css instead, not here - see that same comment for why. */

/* --- Outer page: full-bleed blue backdrop the framed card floats on --- */

.login-page[b-ihlfpp27y6] {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.login-page-backdrop[b-ihlfpp27y6] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-bg-circle[b-ihlfpp27y6] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.login-bg-circle-1[b-ihlfpp27y6] {
    width: 32rem;
    height: 32rem;
    left: -14rem;
    top: -16rem;
}

.login-bg-circle-2[b-ihlfpp27y6] {
    width: 16rem;
    height: 16rem;
    right: -4rem;
    top: 8%;
    background: rgba(255, 255, 255, 0.10);
}

.login-bg-circle-3[b-ihlfpp27y6] {
    width: 22rem;
    height: 22rem;
    left: 8%;
    bottom: -12rem;
    background: rgba(255, 255, 255, 0.10);
}

.login-bg-circle-4[b-ihlfpp27y6] {
    width: 13rem;
    height: 13rem;
    right: 10%;
    bottom: -4rem;
    background: rgba(255, 255, 255, 0.14);
}

.login-page-footer[b-ihlfpp27y6] {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.5rem;
}

.login-page-footer a[b-ihlfpp27y6] {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.login-page-footer a:hover[b-ihlfpp27y6] {
    color: #ffffff;
}

/* --- The login frame itself: a floating card holding both halves --- */

.login-frame[b-ihlfpp27y6] {
    /* No border-radius: the whole app uses sharp edges (--radius-lg: 0 in app.css) - this
       floating frame follows the same rule rather than introducing a one-off rounded look. */
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 62rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
}

/* --- Left half of the frame: brand / decorative --- */

.login-brand-panel[b-ihlfpp27y6] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.login-brand-circles[b-ihlfpp27y6] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.login-circle[b-ihlfpp27y6] {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.login-circle-1[b-ihlfpp27y6] {
    width: 18rem;
    height: 18rem;
    left: -7rem;
    top: -6rem;
}

.login-circle-2[b-ihlfpp27y6] {
    width: 11rem;
    height: 11rem;
    left: 3rem;
    bottom: -5rem;
    background: rgba(255, 255, 255, 0.14);
}

.login-circle-3[b-ihlfpp27y6] {
    width: 6rem;
    height: 6rem;
    right: 2rem;
    bottom: 2rem;
    background: rgba(255, 255, 255, 0.16);
}

.login-brand-content[b-ihlfpp27y6] {
    position: relative;
    z-index: 1;
}

.login-brand[b-ihlfpp27y6] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.login-brand-icon[b-ihlfpp27y6] {
    width: 1.5rem;
    height: 1.5rem;
}

.login-headline-sub[b-ihlfpp27y6] {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0;
}

/* --- Right half of the frame: the card shell (title/subtitle only - form fields are global,
   see app.css) --- */

.login-form-panel[b-ihlfpp27y6] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    background: var(--color-surface);
}

.login-form-card[b-ihlfpp27y6] {
    width: 100%;
    max-width: 22rem;
    /* .login-form-panel is a flex container, and flex items default to min-width: auto - without
       this, the card refuses to shrink below its content's intrinsic width (the <input>s) on
       narrow phones, overflowing the viewport instead of respecting width: 100%. */
    min-width: 0;
}

.login-title[b-ihlfpp27y6] {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

/* .login-subtitle is NOT here - it's used both by AuthShell's own Subtitle parameter AND inline,
   by pages whose subtitle needs embedded markup the parameter can't carry (e.g.
   AcceptInvitation's "Dołączasz do zespołu <strong>@Name</strong>") - see app.css's shared block. */

/* Below this width there's no room for a framed card floating on a backdrop - the form becomes
   the whole page, same breakpoint LandingShell's siblings (Terms/PrivacyPolicy) use. */
@media (max-width: 900px) {
    .login-page[b-ihlfpp27y6] {
        padding: 0;
        gap: 0;
        background: var(--color-surface);
    }

    .login-page-backdrop[b-ihlfpp27y6] {
        display: none;
    }

    .login-frame[b-ihlfpp27y6] {
        max-width: none;
        min-height: 100vh;
        box-shadow: none;
        grid-template-columns: 1fr;
    }

    .login-brand-panel[b-ihlfpp27y6] {
        display: none;
    }

    .login-form-panel[b-ihlfpp27y6] {
        padding: 3rem 1.5rem;
    }

    .login-page-footer[b-ihlfpp27y6] {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 1rem;
        justify-content: center;
    }

    .login-page-footer a[b-ihlfpp27y6] {
        color: var(--color-text-muted);
    }
}
/* /Shared/PolishDatePicker.razor.rz.scp.css */
/* Scoped to PolishDatePicker.razor only (Blazor CSS isolation) - copying this file alongside
   PolishDatePicker.razor into another app is enough to bring the component over, as long as the
   target app defines the same --color-* custom properties (see wwwroot/css/app.css's :root). */

.pl-date-picker[b-c9sl5p80ik] {
    position: relative;
    display: inline-block;
}

.pl-date-picker-input[b-c9sl5p80ik] {
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: left;
    cursor: pointer;
}

.pl-date-picker-icon[b-c9sl5p80ik] {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.pl-date-picker-backdrop[b-c9sl5p80ik] {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: transparent;
}

.pl-date-picker-popup[b-c9sl5p80ik] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    margin-top: 0.25rem;
    width: 19rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 0.9rem;
}

.pl-date-picker-header[b-c9sl5p80ik] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pl-date-picker-nav[b-c9sl5p80ik] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    color: var(--color-text);
}

    .pl-date-picker-nav:hover[b-c9sl5p80ik] {
        color: var(--color-primary);
    }

.pl-date-picker-header-labels[b-c9sl5p80ik] {
    display: flex;
    gap: 0.35rem;
}

.pl-date-picker-label[b-c9sl5p80ik] {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    color: var(--color-text);
}

    .pl-date-picker-label:hover[b-c9sl5p80ik] {
        color: var(--color-primary);
    }

.pl-date-picker-grid[b-c9sl5p80ik] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.pl-date-picker-cell[b-c9sl5p80ik] {
    background: none;
    border: 1px solid var(--color-border);
    padding: 0.5rem 0;
    text-align: center;
    cursor: pointer;
}

    .pl-date-picker-cell:hover[b-c9sl5p80ik] {
        background: var(--color-primary-light);
    }

    .pl-date-picker-cell.selected[b-c9sl5p80ik] {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
    }

.pl-date-picker-weekdays[b-c9sl5p80ik] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.pl-date-picker-days[b-c9sl5p80ik] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.pl-date-picker-day[b-c9sl5p80ik] {
    background: none;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 0.5rem 0;
    text-align: center;
    cursor: pointer;
}

    .pl-date-picker-day:hover[b-c9sl5p80ik] {
        background: var(--color-primary-light);
    }

    .pl-date-picker-day.selected[b-c9sl5p80ik] {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
    }

.pl-date-picker-time-row[b-c9sl5p80ik] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--color-border);
}

    .pl-date-picker-time-row label[b-c9sl5p80ik] {
        font-size: 0.85rem;
        color: var(--color-text-muted);
        margin-bottom: 0;
    }

.pl-date-picker-actions[b-c9sl5p80ik] {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--color-border);
}
/* /Shared/TopBar.razor.rz.scp.css */
.top-bar[b-wiszqkdcpy] {
    display: none;
}

@media (min-width: 641px) {
    .top-bar[b-wiszqkdcpy] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--topbar-height);
        padding: 0 1.5rem;
        background: linear-gradient(90deg, var(--color-sidebar-bg) 0%, var(--color-sidebar-bg-alt) 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
        /* Below .modal-overlay (1050)/.description-bubble (1060) - a modal or info popover must
           always cover this, never sit behind it - but above ordinary page content. */
        z-index: 1000;
    }
}

.top-bar-brand[b-wiszqkdcpy] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    text-decoration: none;
    flex-shrink: 0;
}

[b-wiszqkdcpy] .top-bar-brand-icon {
    width: 1.3rem;
    height: 1.3rem;
    color: #60a5fa;
    flex-shrink: 0;
}

.top-bar-profile[b-wiszqkdcpy] {
    position: relative;
    flex-shrink: 0;
}

.top-bar-menu-trigger[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.top-bar-profile-info[b-wiszqkdcpy] {
    min-width: 0;
    text-align: left;
}

.top-bar-profile-name[b-wiszqkdcpy] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar-profile-email[b-wiszqkdcpy] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 400;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-bar-avatar[b-wiszqkdcpy] {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, var(--color-primary) 100%);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18), 0 4px 12px rgba(0, 0, 0, 0.35);
}

[b-wiszqkdcpy] .top-bar-chevron {
    width: 0.7rem;
    height: 0.7rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.55);
    /* ChevronRight's native orientation points right - rotated 90deg to point down (menu closed,
       "click to open below"), flipped past vertical to point up once open ("click to close"). */
    transform: rotate(90deg);
    transition: transform 0.18s ease;
}

    [b-wiszqkdcpy] .top-bar-chevron.open {
        transform: rotate(-90deg);
    }

/* Invisible full-viewport catcher, same click-outside-to-close idiom as InfoPopoverButton's own
   .description-bubble-backdrop - a menu (unlike Modal.razor's dialogs) is expected to dismiss on
   an outside click, not just its own explicit actions. */
.top-bar-menu-backdrop[b-wiszqkdcpy] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: transparent;
}

.top-bar-menu[b-wiszqkdcpy] {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 1000;
    min-width: 12rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
}

.top-bar-menu-item[b-wiszqkdcpy] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font: inherit;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
}

[b-wiszqkdcpy] .top-bar-menu-item-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    /* No explicit color - inherits currentColor, so it automatically matches each item's own
       text color (muted default, red on the Wyloguj button via .top-bar-menu-item-button). */
}

    .top-bar-menu-item:hover[b-wiszqkdcpy] {
        background: var(--color-bg);
    }

.top-bar-menu-item-button[b-wiszqkdcpy] {
    color: var(--color-danger);
}

.top-bar-menu-divider[b-wiszqkdcpy] {
    height: 1px;
    margin: 0.3rem 0.25rem;
    background: var(--color-border);
}
