@import '_content/BlazorDateRangePicker/BlazorDateRangePicker.iitr8bszy4.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/LanguageSelector.razor.rz.scp.css */
/* ── Language Selector ─────────────────────────────────────────────────────── */

.language-selector[b-v62lwxq56e] {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-dropdown[b-v62lwxq56e] {
    position: relative;
}

.lang-toggle[b-v62lwxq56e] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #e0e0e0;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
    list-style: none; /* remove native disclosure marker */
}

    .lang-toggle[b-v62lwxq56e]::-webkit-details-marker {
        display: none; /* remove native disclosure marker (Chrome/Safari) */
    }

    .lang-toggle:hover[b-v62lwxq56e] {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }

.lang-code[b-v62lwxq56e] {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-chevron[b-v62lwxq56e] {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.15s;
}

.lang-dropdown[open] .lang-chevron[b-v62lwxq56e] {
    transform: rotate(180deg);
}

.lang-menu[b-v62lwxq56e] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: #1e2a3a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    z-index: 1000;
    animation: fadeIn-b-v62lwxq56e 0.12s ease;
}

@keyframes fadeIn-b-v62lwxq56e {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option[b-v62lwxq56e] {
    display: flex;
    align-items: center;
}

.lang-link[b-v62lwxq56e] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 14px;
    cursor: pointer;
    color: #c5cdd8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.1s;
}

    .lang-link:hover[b-v62lwxq56e] {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

.lang-option.active .lang-link[b-v62lwxq56e] {
    color: #fff;
    font-weight: 600;
}

.lang-flag[b-v62lwxq56e] {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-name[b-v62lwxq56e] {
    flex: 1;
}

.lang-check[b-v62lwxq56e] {
    color: #4CAF50;
    font-size: 0.875rem;
    font-weight: 700;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-q83jt04khh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-q83jt04khh] {
    flex: 1;
    min-width: 0;
}

.top-row[b-q83jt04khh] {
    background-color: #1A1B2F !important;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Automatically spaces out all direct children evenly */
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
}

.top-row-welcome[b-q83jt04khh] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Clear conflicting individual margins since flex gap handles it now */
.top-row form[b-q83jt04khh],
.top-row[b-q83jt04khh]  a,
.top-row[b-q83jt04khh]  .btn-link,
.top-row[b-q83jt04khh]  .language-selector {
    flex-shrink: 0;
    margin-left: 0 !important;
}

.top-row[b-q83jt04khh]  a, .top-row[b-q83jt04khh]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
}

    .top-row[b-q83jt04khh]  a:hover, .top-row[b-q83jt04khh]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-q83jt04khh]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }/* --- Global Sidebar Base --- */
.sidebar[b-q83jt04khh] {
    background-color: #1A1B2F;
    display: flex;
    flex-direction: column;
}

/* --- Mobile Sliding Drawer Rules --- */
@media (max-width: 640.98px) {
    .top-row[b-q83jt04khh] {
        height: auto;
        min-height: 3.5rem;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

        .top-row[b-q83jt04khh]  a, .top-row[b-q83jt04khh]  .btn-link {
            margin-left: 0;
        }

    /* Fixed off-screen sidebar drawer by default */
    .sidebar[b-q83jt04khh] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 250px;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
    }

        .sidebar .nav-scrollable[b-q83jt04khh] {
            flex: 1;
            overflow-y: auto;
            min-height: 0;
        }

    .sidebar-footer[b-q83jt04khh] {
        flex-shrink: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgba(0, 0, 0, 0.2);
        color: rgba(255, 255, 255, 0.5);
    }

    /* Slide drawer in when checkbox is checked */
    #mobile-menu-toggle:checked ~ .sidebar[b-q83jt04khh] {
        transform: translateX(0);
    }

    /* Backdrop overlay styling */
    .sidebar-overlay[b-q83jt04khh] {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    #mobile-menu-toggle:checked ~ .sidebar-overlay[b-q83jt04khh] {
        display: block;
    }

    /* Custom Mobile Hamburger Icon Styling */
    .top-row .navbar-toggler[b-q83jt04khh] {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        margin-right: auto;
    }

    .top-row .navbar-toggler-icon[b-q83jt04khh] {
        display: inline-block;
        width: 1.5rem;
        height: 1.5rem;
        background: no-repeat center center;
        background-size: 100% 100%;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* --- Desktop Sidebar & Pinned Footer Layout --- */
@media (min-width: 641px) {
    .page[b-q83jt04khh] {
        flex-direction: row;
    }

    .sidebar[b-q83jt04khh] {
        width: 250px;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateX(0) !important;
    }

        .sidebar .nav-scrollable[b-q83jt04khh] {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
        }

    .sidebar-footer[b-q83jt04khh] {
        flex-shrink: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgba(0, 0, 0, 0.2);
        color: rgba(255, 255, 255, 0.5);
    }

    main[b-q83jt04khh] {
        margin-left: 250px;
    }

    .top-row[b-q83jt04khh] {
        position: sticky;
        top: 0;
        z-index: 1;
        height: 3.5rem;
    }

        .top-row.auth[b-q83jt04khh]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-q83jt04khh], article[b-q83jt04khh] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-q83jt04khh] {
    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-q83jt04khh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

[b-q83jt04khh] tr:has(> td:not(:empty)) > td {
    display: table-cell;
}

[b-q83jt04khh] td:empty {
    display: none;
}

[b-q83jt04khh] .auto-width-column {
    width: auto;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Ensure the nav container fills its flex parent properly */
.nav-scrollable[b-uqnpttrhti] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Ensure links and icons maintain proper spacing and color */
.nav-item[b-uqnpttrhti] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-uqnpttrhti] {
        padding-top: 1rem;
    }

    .nav-item[b-uqnpttrhti]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
        transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    }

        /* The current page was marked only by a faint background tint (1.5:1 against the sidebar), so it also gets
           a solid bar and bold text. */
        .nav-item[b-uqnpttrhti]  a.active {
            background-color: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            font-weight: 700;
            box-shadow: inset 4px 0 0 #ffffff;
        }

        .nav-item[b-uqnpttrhti]  a:hover {
            /* was rgba(255, 255, 2.5, ...) - a typo for 255, which tinted the hover slightly yellow */
            background-color: rgba(255, 255, 255, 0.07);
            color: #ffffff;
        }

        .nav-item[b-uqnpttrhti]  a:focus-visible {
            outline: 3px solid #ffffff;
            outline-offset: -3px;
        }

    .nav-item[b-uqnpttrhti]  span {
        color: inherit;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lol613g9wx],
.components-reconnect-repeated-attempt-visible[b-lol613g9wx],
.components-reconnect-failed-visible[b-lol613g9wx],
.components-pause-visible[b-lol613g9wx],
.components-resume-failed-visible[b-lol613g9wx],
.components-rejoining-animation[b-lol613g9wx] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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