@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.i2w4e4ntkp.bundle.scp.css';

/* /src/Components/Header.razor.rz.scp.css */
/* Component styles for the shared authenticated-user header. */
/* Styles the application header container and its horizontal content alignment. */
header[b-5ja2u2qqmy] {
    background-color: var(--surface-color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc((var(--fluid) * 0.5rem) + 1rem);

    /* Keeps the displayed user identity legible against the primary header surface. */
    span {
        color: var(--text-white);
        font-weight: bold;
    }
}
/* /src/Components/Navbar.razor.rz.scp.css */
/* Component styles for the responsive primary navigation menu. */
/* Lays out the navigation links vertically on wide screens and horizontally on small screens. */
nav[b-u6ewsk5r7e] {
    background-color: var(--surface-white);
    display: flex;
    flex-direction: column;

    /* Switches the menu to a horizontally scrollable row on narrow viewports. */
    @media (width <=768px) {
        flex-direction: row;
        overflow-inline: auto;[b-u6ewsk5r7e]


    }
}

/* Styles links rendered inside the navigation component, including child components. */
nav[b-u6ewsk5r7e]  a {
    font-weight: bold;
    padding: 1rem 1.5rem;
    transition: var(--transition-duration-small);
}

/* Highlights a navigation link while it is hovered. */
nav[b-u6ewsk5r7e]  a:hover {
    color: var(--text-white);
    background-color: var(--surface-color-primary-hover);
}

/* Shows the pressed state of a navigation link. */
nav[b-u6ewsk5r7e]  a:active {
    color: var(--text-white);
    background-color: var(--surface-color-primary-active);
}


/* Marks the currently active navigation destination. */
nav[b-u6ewsk5r7e]  a.active {
    color: var(--text-white);
    background-color: var(--surface-color-primary);
}

@media(width > 768px) {
    nav[b-u6ewsk5r7e]  a:last-child {
        margin-top: auto;
        color: var(--text-white);
        background-color: var(--surface-color-primary);

        &:hover {
            background-color: var(--surface-color-primary-hover);
        }

        &:active[b-u6ewsk5r7e] {
            background-color: var(--surface-color-primary-active);
        }
    }
}
/* /src/Components/QRScaner.razor.rz.scp.css */
/* Component styles for the camera preview and QR scan status states. */
/* Overlays scanner elements in a centered, single-cell grid. */
section[b-8i24oldxsq] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;

    /* Places the camera preview and overlay content in the same grid cell. */
    >* {
        grid-row: 1;
        grid-column: 1;
    }

    /* Keeps the camera preview square and crops excess video to fill it. */
    video[b-8i24oldxsq] {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    /* Styles the scanner's status text as a centered label over the preview. */
    label[b-8i24oldxsq] {
        display: inline-block;
        color: var(--text-white);
        background-color: var(--surface-color-primary);
        padding: 1em 1em;
        pointer-events: none;
    }

    /* Enables interaction and shows a green border after a valid QR code is read. */
    &[data-status="Valid"][b-8i24oldxsq] {
        pointer-events: all;
        cursor: pointer;
        /* box-shadow:
            0 0 8px rgb(230, 251, 227),
            0 0 16px rgb(172, 227, 181); */
        border: 4px solid rgb(56, 189, 79);
        overflow: hidden;
    }

    /* Blocks interaction and shows a yellow border for an invalid QR code. */
    &[data-status="Invalid"][b-8i24oldxsq] {
        pointer-events: none;
        /* box-shadow:
            0 0 8px rgb(251, 248, 227),
            0 0 16px rgb(227, 225, 172); */
        border: 4px solid rgb(249, 241, 12);
        overflow: hidden;
    }

    /* Blocks interaction and shows a red border before a valid scan is available. */
    &[data-status="None"][b-8i24oldxsq] {
        pointer-events: none;
        /* box-shadow:
            0 0 8px rgb(253, 106, 106),
            0 0 16px rgb(227, 172, 172); */
        border: 4px solid rgb(190, 36, 36);
        overflow: hidden;
    }

    /* Vertically stacks and centers scanner status elements with consistent spacing. */
    div[b-8i24oldxsq] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;

    }

}
/* /src/Components/ReconnectModal.razor.rz.scp.css */
/* Styles the Blazor reconnect dialog, status visibility, and reconnect animations. */
/* Hides all reconnection messages and animation elements until their state is active. */
.components-reconnect-first-attempt-visible[b-s3qoiz70b6],
.components-reconnect-repeated-attempt-visible[b-s3qoiz70b6],
.components-reconnect-failed-visible[b-s3qoiz70b6],
.components-pause-visible[b-s3qoiz70b6],
.components-resume-failed-visible[b-s3qoiz70b6],
.components-rejoining-animation[b-s3qoiz70b6] {
    display: none;
}

/* Reveals the message or animation associated with the current Blazor reconnect state. */
#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-retrying[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-failed[b-s3qoiz70b6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-s3qoiz70b6] {
    display: block;
}


/* Styles and animates the reconnect dialog, including its open-state entrance. */
#components-reconnect-modal[b-s3qoiz70b6] {
    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-s3qoiz70b6 0.5s both;
    /* Animates the dialog into view when the native dialog is open. */
    &[open] {
        animation: components-reconnect-modal-slideUp-b-s3qoiz70b6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-s3qoiz70b6 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

/* Dims the page behind the reconnect dialog and fades in its backdrop. */
#components-reconnect-modal[b-s3qoiz70b6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-s3qoiz70b6 0.5s ease-in-out;
    opacity: 1;
}

/* Moves the reconnect dialog from a slightly lowered, scaled position into place. */
@keyframes components-reconnect-modal-slideUp-b-s3qoiz70b6 {
    /* Begins below the final position and slightly reduced in size. */
    0% {
        transform: translateY(30px) scale(0.95);
    }

    /* Ends at the normal dialog position. */
    100% {
        transform: translateY(0);
    }
}

/* Fades reconnect UI content into view. */
@keyframes components-reconnect-modal-fadeInOpacity-b-s3qoiz70b6 {
    /* Starts fully transparent. */
    0% {
        opacity: 0;
    }

    /* Ends fully visible. */
    100% {
        opacity: 1;
    }
}

/* Fades the reconnect dialog out when it closes. */
@keyframes components-reconnect-modal-fadeOutOpacity-b-s3qoiz70b6 {
    /* Starts fully visible. */
    0% {
        opacity: 1;
    }

    /* Ends fully transparent. */
    100% {
        opacity: 0;
    }
}

/* Vertically centers and spaces the reconnect dialog contents. */
.components-reconnect-container[b-s3qoiz70b6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Centers reconnect dialog text and removes default paragraph spacing. */
#components-reconnect-modal p[b-s3qoiz70b6] {
    margin: 0;
    text-align: center;
}

/* Styles the reconnect dialog's retry or dismiss action buttons. */
#components-reconnect-modal button[b-s3qoiz70b6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

/* Darkens the reconnect button on hover. */
    #components-reconnect-modal button:hover[b-s3qoiz70b6] {
        background-color: #3b6ea2;
    }

/* Restores the base button color while it is pressed. */
    #components-reconnect-modal button:active[b-s3qoiz70b6] {
        background-color: #6b9ed2;
    }

/* Creates a fixed square containing the animated reconnect rings. */
.components-rejoining-animation[b-s3qoiz70b6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    /* Animates each child circle outward to indicate a reconnect attempt. */
    .components-rejoining-animation div[b-s3qoiz70b6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-s3qoiz70b6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        /* Offsets the second ring so the animation pulses in sequence. */
        .components-rejoining-animation div:nth-child(2)[b-s3qoiz70b6] {
            animation-delay: -0.5s;
        }

/* Expands and fades the reconnect rings from the center of the animation box. */
@keyframes components-rejoining-animation-b-s3qoiz70b6 {
    /* Initializes a ring at the center with zero size and no opacity. */
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    /* Holds the ring hidden briefly before animation begins. */
    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    /* Makes the centered ring visible at the start of its expansion. */
    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    /* Expands the ring to fill its container, then fades it away. */
    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /src/Features/Asset/AssetView.razor.rz.scp.css */
/* Styles the asset form, its image fields, and transaction-history action links. */
/* Lays out asset form fields and image content, switching to a two-column grid on desktop. */
form fieldset[b-vyp8nswvw3] {
    /* Displays asset photographs with a consistent square crop. */
    img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        height: 200px;
        width: 100%;
    }

    /* Scales the child QR code SVG to the available form width. */
    &[b-vyp8nswvw3]  svg {
        width: 100%;
    }

    /* Uses a two-column form grid on larger viewports. */
    @media (width> 768px) {
        display: grid;
        grid-template-columns: 1fr 1fr;

        /* Spans the photo group across both form columns. */
        ims-form-images[b-vyp8nswvw3] {
            grid-column: span 2;
            display: flex;
            justify-content: space-between;
        }

        /* &:not(:has(svg)) img {
            grid-column: span 2;
        } */


        /* Lets longer text fields span the full form width. */
        ims-form-item:has(textarea)[b-vyp8nswvw3] {
            grid-column: span 2;
        }

        /* Gives the inventory index control a full-width row. */
        ims-form-item:has(#index)[b-vyp8nswvw3] {
            grid-column: span 2;
        }

        /* Gives the last-user control a full-width row. */
        ims-form-item:has(#last-user)[b-vyp8nswvw3] {
            grid-column: span 2;
        }

        /* Spans validation or status messages across the form. */
        ims-form-message[b-vyp8nswvw3] {
            grid-column: span 2;
        }

        /* Places the form's main action across both columns. */
        button[b-vyp8nswvw3] {
            grid-column: span 2;
        }
    }
}

/* Styles the transaction-history card embedded on the asset page. */
ims-card[b-vyp8nswvw3] {
    /* Arranges history content in a centered, wrapping row. */
    section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;

        /* Styles transaction history links as themed action tiles. */
        a {
            color: var(--surface-white);
            background-color: var(--surface-color-primary);
            padding: 1rem 1.5rem;
            transition: var(--transition-duration-small);
            flex: 1;
            text-align: center;
            font-weight: bold;
            /* Prevents long content from breaking equal widths */
            /* Highlights a history link when hovered. */
            &:hover {
                background-color: var(--surface-color-primary-hover);
            }

            /* Shows the pressed state of a history link. */
            &:active[b-vyp8nswvw3] {
                background-color: var(--surface-color-primary-active);
            }
        }
    }
}
/* /src/Features/Dashboard/AdminDashboard.razor.rz.scp.css */
/* Styles administrative dashboard headings, inventory cards, and status summaries. */
/* Sets a compact heading size for the administrative dashboard title. */
h1[b-zy3yulh4to] {
    font-size: var(--font-size-2);
}

/* Establishes section heading scale and separation on the dashboard. */
h2[b-zy3yulh4to] {
    font-size: var(--font-size-1);
    margin-block-start: 2rem;
}


/* Styles the dashboard summary and status cards to span the available width. */
ims-card[b-zy3yulh4to] {
    width: 100%;

    /* Removes the general section-heading offset inside a card header. */
    h2 {
        margin-block-start: 0rem;
    }

    /* Arranges summary content in a horizontally scrollable row. */
    section[b-zy3yulh4to] {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
        overflow-x: auto;
    }
}

/* Aligns asset summary labels and counts vertically. */
ims-asset[b-zy3yulh4to] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    font-weight: bold;

    /* Emphasizes the numeric inventory count. */
    ims-asset-count {
        color: var(--text-color-primary);
        font-size: 2rem;
    }

    /* Sets the label size for each asset status count. */
    ims-asset-status[b-zy3yulh4to] {
        font-size: 1.5rem;
    }
}
/* /src/Features/Dashboard/Dashboard.razor.rz.scp.css */
/* Styles the dashboard page width, spacing, and asset overview alignment. */
/* Adjusts dashboard page spacing and width for wide screens. */
ims-page[b-wm0pg77aqq] {
    gap: 0rem;

    /* Expands the dashboard page at desktop widths to use the available workspace. */
    @media (width >=1080px) {
        min-width: 100%;
        margin-block: 1rem;
        min-width: stretch;
        max-width: max-content;[b-wm0pg77aqq]


    }

    /* Keeps the asset summary cards aligned to the start of their row. */
    .asset-overview {
        @media (width <768px) {
            justify-content: flex-start !important;[b-wm0pg77aqq]
        }
    }
}
/* /src/Features/Dashboard/EmployeeDashboard.razor.rz.scp.css */
/* This component has no page-specific styles; its layout uses shared application styles. */
/* /src/Features/Inventory Check/InventoryCheck.razor.rz.scp.css */
/* Styles inventory-check cards, filters, scan area, and audit progress indicator. */
/* Separates inventory filter and scan cards from following content. */
ims-card[b-4fqte6ydvo] {
    margin-bottom: 1rem;
}

/* Adds space above the inventory results table. */
ims-table[b-4fqte6ydvo] {
    margin-top: 1rem;
}

/* Styles the inventory filter card and its responsive control layout. */
.filter[b-4fqte6ydvo] {
    width: 100%;

    /* Places filter controls in a wrapping row with consistent spacing. */
    section {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Lets the start button fill available row space without forcing a fixed width. */
    button[b-4fqte6ydvo] {
        flex: 1 1 auto;
    }
}

/* Constrains the scanner panel to a compact readable width. */
.scan[b-4fqte6ydvo] {
    max-width: 30ch;
}

/* Pins the live audit progress count to the viewport corner. */
.scan-count[b-4fqte6ydvo] {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: white;
    padding: 1.5rem 2rem;
    font-weight: bold;
    height: auto;
    /* Moves the audit count to the top on narrow screens to avoid bottom controls. */
    @media (width< 768px) {
        top: 3rem;
        right: 1rem;
        bottom: auto;[b-4fqte6ydvo]
    }
}
/* /src/Features/Transaction/TransactionList.razor.rz.scp.css */
/* Styles bulk transaction action links on the transaction list page. */
/* Styles the bulk transaction actions card. */
ims-card[b-sc6g96zv20] {
    margin-block-end : 2rem;
    width: 100%;
    /* Arranges transaction action links in a responsive row. */
    section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;

        /* Presents each action as an evenly sized, themed button. */
        a {
            color: var(--surface-white);
            background-color: var(--surface-color-primary);
            padding: 1rem 1.5rem;
            transition: var(--transition-duration-small);
            flex: 1;
            text-align: center;
            font-weight: bold;
            /* Prevents long content from breaking equal widths */
            /* Highlights an action link while hovered. */
            &:hover {
                background-color: var(--surface-color-primary-hover);
            }

            /* Shows the pressed state of an action link. */
            &:active[b-sc6g96zv20] {
                background-color: var(--surface-color-primary-active);
            }
        }
    }
}
/* /src/Features/Transaction/TransactionMultiView.razor.rz.scp.css */
/* Styles the multi-asset transaction QR scanner and its custom checkbox controls. */
/* Centers and constrains the QR scanner within its transaction form row. */
.qr-scanner-row[b-83igf7no5b] {
    /* Prevents the scanner from growing too wide on larger layouts. */
    section {
        max-width: 20rem;
        margin-inline: auto;
    }
}


/* Replaces the browser checkbox appearance with a themed action toggle. */
input[type="checkbox"][b-83igf7no5b] {
    flex: 0;
    appearance: none;
    color: var(--text-white);
    background-color: var(--surface-color-primary);
    transition: var(--transition-duration-small);

    /* Indicates hover and provides a pointer affordance. */
    &:hover {
        cursor: pointer;
        background-color: var(--surface-color-primary-hover);
    }

    /* Indicates the pressed state of the custom checkbox. */
    &:active[b-83igf7no5b] {
        cursor: pointer;
        background-color: var(--surface-color-primary-active);
    }

    /* Displays the menu glyph when the custom checkbox is unchecked. */
    &[b-83igf7no5b]::after {
        content: "☰";
    }

    /* Displays a close glyph when the custom checkbox is checked. */
    &:checked[b-83igf7no5b]::after {
        content: "✖";
    }
}
/* /src/Features/User/Login.razor.rz.scp.css */
/* Styles the login page's constrained content width. */
/* Limits the login page to a readable width and centers it within the available space. */
ims-page[b-rom0ii1sqx] {
    min-width: min(100%, 60ch);
    max-width: 60ch;
}
/* /src/Layout/MainLayout.razor.rz.scp.css */
/* Defines the responsive application shell and framework error-banner presentation. */
/* Displays the framework error banner as a fixed full-width notice when it is activated. */
#blazor-error-ui[b-hivfaswbsx] {
    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;
}

/* Positions the error banner's dismiss control in its upper-right corner. */
#blazor-error-ui .dismiss[b-hivfaswbsx] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Defines the application shell grid, placing header, navigation, and main content. */
ims-layout[b-hivfaswbsx] {
    min-block-size: 100svh;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    background-color: var(--surface-light-dark);
    /* Spans the header across navigation and main-content columns. */
    header {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    /* Places the sidebar navigation below the header in the first column. */
    nav[b-hivfaswbsx] {
        grid-column: 1;
        grid-row: 2;
    }

    /* Places routed page content in the second column below the header. */
    main[b-hivfaswbsx] {
        grid-column: 2;
        grid-row: 2;

        /* Aligns direct main-content children with the content grid column. */
        >* {
            grid-column: 2;
        }
    }

    /* Reflows the shell into a compact single-column layout on narrow screens. */
    @media (width <=768px) {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        height: 100svh;

        /* Makes routed content independently scrollable in the mobile shell. */
        main[b-hivfaswbsx] {
            grid-column: 1;
            grid-row: 2;
            overflow-y: auto;
            /* overflow-x: auto; */
            height: auto;
            min-height: 0;

            display: block;
        }

    }
}

/* Constrains the main content to a centered responsive grid column. */
main[b-hivfaswbsx] {
    --padding: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(100%, calc(1200px)) minmax(0, 1fr);
    height: fit-content;
    min-width: 0;
    min-height: 0;
}
/* /src/Layout/NoLayout.razor.rz.scp.css */
/* Styles the standalone layout used by pages without the main application shell. */
/* Centers public, standalone pages in the full viewport without application chrome. */
main[b-f8xob7fs57] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
