/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped CSS — sidebar, topbar, and main content structural styles */
/* Design tokens and component styles live in Styles/app.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-blkb8y8avh] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: 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.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-blkb8y8avh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-blkb8y8avh] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-blkb8y8avh] {
    font-size: 1.1rem;
}

.bi[b-blkb8y8avh] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-blkb8y8avh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-blkb8y8avh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-blkb8y8avh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-blkb8y8avh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-blkb8y8avh]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-blkb8y8avh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-blkb8y8avh]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-blkb8y8avh] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-blkb8y8avh] {
    display: block;
}

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

    .nav-scrollable[b-blkb8y8avh] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-c4tz0i5jby],
.components-reconnect-repeated-attempt-visible[b-c4tz0i5jby],
.components-reconnect-failed-visible[b-c4tz0i5jby],
.components-pause-visible[b-c4tz0i5jby],
.components-resume-failed-visible[b-c4tz0i5jby],
.components-rejoining-animation[b-c4tz0i5jby] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-c4tz0i5jby {
    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/Pages/IssueDetails.razor.rz.scp.css */
.issue-details-page[b-avgiwrpjt8] {
    min-height: 100vh;
    margin: -1.75rem -2rem;
    padding: 1.5rem 2rem 2rem;
    background: #fff;
    color: #14294d;
}

.issue-details-header[b-avgiwrpjt8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.issue-breadcrumb[b-avgiwrpjt8] {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
    color: #7284a2;
    font-size: .8rem;
}

.issue-breadcrumb a[b-avgiwrpjt8] {
    color: #243b64;
    text-decoration: none;
}

.issue-breadcrumb .active[b-avgiwrpjt8] {
    color: #243b64;
    font-weight: 600;
}

.issue-details-header h1[b-avgiwrpjt8] {
    margin: 0 0 .2rem;
    color: #14294d;
    font-size: 1.75rem;
    font-weight: 700;
}

.issue-number-line[b-avgiwrpjt8] {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #14294d;
    font-size: 1.25rem;
    font-weight: 600;
}

.issue-header-actions[b-avgiwrpjt8] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}

.issue-header-actions .btn[b-avgiwrpjt8] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 2.5rem;
    font-size: .85rem;
    font-weight: 600;
}

.issue-card[b-avgiwrpjt8] {
    border: 1px solid #dce5f1;
    border-radius: .5rem;
    background: #fff;
}

.loading-card[b-avgiwrpjt8] {
    padding: 3rem;
}

.issue-facts-card[b-avgiwrpjt8] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
}

.issue-fact[b-avgiwrpjt8],
.audit-fact[b-avgiwrpjt8] {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-width: 0;
    padding: .15rem 1.1rem;
    border-right: 1px solid #dce5f1;
}

.issue-fact:first-child[b-avgiwrpjt8] {
    padding-left: 0;
}

.issue-fact:last-of-type[b-avgiwrpjt8] {
    border-right: 0;
}

.issue-fact > i[b-avgiwrpjt8],
.audit-fact > i[b-avgiwrpjt8] {
    flex: 0 0 auto;
    color: #8094b6;
    font-size: 1.1rem;
}

.issue-fact div[b-avgiwrpjt8],
.audit-fact div[b-avgiwrpjt8],
.issue-notes[b-avgiwrpjt8] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: .2rem;
}

.issue-fact span[b-avgiwrpjt8],
.audit-fact span[b-avgiwrpjt8],
.issue-notes span[b-avgiwrpjt8],
.totals-values span[b-avgiwrpjt8],
.financial-values span[b-avgiwrpjt8] {
    color: #7284a2;
    font-size: .78rem;
}

.issue-fact strong[b-avgiwrpjt8],
.audit-fact strong[b-avgiwrpjt8] {
    overflow-wrap: anywhere;
    color: #172d52;
    font-size: .9rem;
    font-weight: 600;
}

.issue-notes[b-avgiwrpjt8] {
    grid-column: 1 / -1;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid #e7edf5;
}

.issue-notes strong[b-avgiwrpjt8] {
    color: #172d52;
    font-size: .9rem;
    font-weight: 500;
}

.issue-items-card[b-avgiwrpjt8] {
    margin-bottom: 1rem;
    overflow: hidden;
}

.issue-card-heading[b-avgiwrpjt8] {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem 1.2rem;
}

.issue-card-heading > i[b-avgiwrpjt8] {
    color: #1c3763;
    font-size: 1.1rem;
}

.issue-card-heading h2[b-avgiwrpjt8] {
    margin: 0;
    color: #14294d;
    font-size: 1rem;
    font-weight: 700;
}

.issue-items-table[b-avgiwrpjt8] {
    min-width: 900px;
    margin: 0 1rem 1rem;
    width: calc(100% - 2rem);
    border: 1px solid #dce5f1;
    font-size: .82rem;
}

.issue-items-table th[b-avgiwrpjt8] {
    padding: .75rem .8rem;
    background: #f7f9fc;
    color: #667a9b;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

.issue-items-table td[b-avgiwrpjt8] {
    padding: .8rem;
    color: #243b64;
    white-space: nowrap;
}

.issue-items-table .product-name[b-avgiwrpjt8] {
    color: #1769d2;
    font-weight: 600;
}

.issue-summary-layout[b-avgiwrpjt8] {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(250px, 1fr);
    align-items: stretch;
    gap: 1rem;
}

.issue-summary-main[b-avgiwrpjt8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.totals-card[b-avgiwrpjt8],
.financial-card[b-avgiwrpjt8],
.audit-card[b-avgiwrpjt8] {
    padding-bottom: 1rem;
}

.totals-values[b-avgiwrpjt8],
.financial-values[b-avgiwrpjt8] {
    display: grid;
    padding: 0 1.2rem;
}

.totals-values[b-avgiwrpjt8] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.totals-values > div[b-avgiwrpjt8],
.financial-values > div[b-avgiwrpjt8] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
    padding: .1rem 1.1rem;
    border-right: 1px solid #dce5f1;
}

.totals-values > div:first-child[b-avgiwrpjt8],
.financial-values > div:nth-child(3n + 1)[b-avgiwrpjt8] {
    padding-left: 0;
}

.totals-values > div:last-child[b-avgiwrpjt8],
.financial-values > div:nth-child(3n)[b-avgiwrpjt8] {
    border-right: 0;
}

.totals-values strong[b-avgiwrpjt8],
.financial-values strong[b-avgiwrpjt8] {
    overflow-wrap: anywhere;
    color: #172d52;
    font-size: 1rem;
    font-weight: 700;
}

.financial-values[b-avgiwrpjt8] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: .85rem;
}

.financial-values > div:nth-child(n + 4)[b-avgiwrpjt8] {
    padding-top: .75rem;
    border-top: 1px solid #e7edf5;
}

.financial-values .financial-total[b-avgiwrpjt8] {
    color: #078451;
}

.audit-card[b-avgiwrpjt8] {
    min-height: 100%;
}

.audit-status[b-avgiwrpjt8] {
    margin: 0 1.2rem .9rem;
}

.audit-fact[b-avgiwrpjt8] {
    margin: 0 1.2rem;
    padding: .9rem 0;
    border-right: 0;
    border-top: 1px solid #e7edf5;
}

@media (max-width: 991.98px) {
    .issue-facts-card[b-avgiwrpjt8] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .issue-fact:nth-child(3)[b-avgiwrpjt8] {
        border-right: 0;
    }

    .issue-fact:nth-child(4)[b-avgiwrpjt8] {
        padding-left: 0;
    }

    .issue-summary-layout[b-avgiwrpjt8] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 575.98px) {
    .issue-details-page[b-avgiwrpjt8] {
        margin: -1rem;
        padding: 1rem;
    }

    .issue-details-header[b-avgiwrpjt8] {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .issue-details-header h1[b-avgiwrpjt8] {
        font-size: 1.5rem;
    }

    .issue-header-actions[b-avgiwrpjt8] {
        justify-content: flex-start;
        width: 100%;
    }

    .issue-header-actions .btn[b-avgiwrpjt8] {
        min-height: 2.35rem;
    }

    .issue-header-actions .btn:first-child span[b-avgiwrpjt8] {
        display: none;
    }

    .issue-facts-card[b-avgiwrpjt8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: .9rem;
    }

    .issue-fact[b-avgiwrpjt8],
    .issue-fact:nth-child(4)[b-avgiwrpjt8] {
        padding: .2rem .5rem;
    }

    .issue-fact:nth-child(2n)[b-avgiwrpjt8] {
        border-right: 0;
    }

    .issue-fact:nth-child(3)[b-avgiwrpjt8] {
        border-right: 1px solid #dce5f1;
    }

    .totals-values[b-avgiwrpjt8],
    .financial-values[b-avgiwrpjt8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: .75rem;
    }

    .totals-values > div[b-avgiwrpjt8],
    .financial-values > div[b-avgiwrpjt8],
    .financial-values > div:nth-child(3n)[b-avgiwrpjt8] {
        padding: .1rem .6rem;
        border-right: 1px solid #dce5f1;
    }

    .totals-values > div:nth-child(2n)[b-avgiwrpjt8],
    .financial-values > div:nth-child(2n)[b-avgiwrpjt8] {
        border-right: 0;
    }

    .financial-values > div:nth-child(n + 3)[b-avgiwrpjt8] {
        padding-top: .65rem;
        border-top: 1px solid #e7edf5;
    }
}

@media print {
    .issue-details-page[b-avgiwrpjt8] {
        margin: 0;
        padding: 0;
    }

    .issue-header-actions[b-avgiwrpjt8],
    .issue-breadcrumb[b-avgiwrpjt8] {
        display: none !important;
    }

    [b-avgiwrpjt8] .ims-navbar,
    [b-avgiwrpjt8] .ims-sidebar,
    [b-avgiwrpjt8] .toast-container {
        display: none !important;
    }

    [b-avgiwrpjt8] .ims-main-content {
        padding: 0 !important;
        background: #fff !important;
    }
}
