@import '_content/SimpleBlazorMultiselect/SimpleBlazorMultiselect.bundle.scp.css';

/* /Components/AppDropdown.razor.rz.scp.css */
/* /Components/ApplicationAlertBanner.razor.rz.scp.css */
.alert-all-users[b-nso9dryl5d] {
    min-height: 100px;
    position: sticky;
    top: 0;
    width: 100%;
    margin-bottom: 0;
    z-index: 9999;
    background-color: red;
    color:white;
}

@keyframes flashOpacity-b-nso9dryl5d {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.flashing-element[b-nso9dryl5d] {
    animation: flashOpacity-b-nso9dryl5d 3s linear infinite;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-fk0ns0ty57] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-fk0ns0ty57] {
    flex: 1;
}

.sidebar[b-fk0ns0ty57] {
    /* background: rgb(20, 140, 151); */
    position: sticky;
    top: 0;
    z-index: 2500;
}

.top-row[b-fk0ns0ty57] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3rem;
    display: flex;
    align-items: center;
}

    .top-row[b-fk0ns0ty57]  a, .top-row[b-fk0ns0ty57]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

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

    .top-row[b-fk0ns0ty57]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-fk0ns0ty57] {
        justify-content: space-between;
    }

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

@media (min-width: 641px) {
    .page[b-fk0ns0ty57] {
        flex-direction: row;
    }

    .sidebar[b-fk0ns0ty57] {
        width: 250px;
        height: 100vh;
        /* position: sticky;
        top: 0; */
    }

    .top-row[b-fk0ns0ty57] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

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

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

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

/* 
    .top-row {
        position: relative;
        z-index: 10;
    } 
*/
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-lkvrh0fgsn] {
    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-lkvrh0fgsn] {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.bi[b-lkvrh0fgsn] {
    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-lkvrh0fgsn] {
    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-lkvrh0fgsn] {
    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-lkvrh0fgsn] {
    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-lkvrh0fgsn] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-lkvrh0fgsn]  .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-lkvrh0fgsn]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

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

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

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

    .nav-scrollable[b-lkvrh0fgsn] {
        /* 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/MBFilterAppliedFlag.razor.rz.scp.css */
.filter-applied-flag[b-fn9q304kwb] {
    font-size: 14px;
    color: white;
    background: red;
    /* background: #ca1a1a; */
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 5px;
    cursor: pointer;
    /* z-index: 5 !important;
    position: relative; */
}
/* /Components/MBQuickNav.razor.rz.scp.css */
.mb-quick-nav[b-6ivb36mi3s] {
    /* Layout */
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* Matches original spacing */
    
    /* Font styles */
    font-size: 0.7rem; 
    color: #adb5bd;
    line-height: 1.2;
}

/* Link Styling */
[b-6ivb36mi3s] .mb-quick-nav-item {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

[b-6ivb36mi3s] .mb-quick-nav-item:hover {
    color: #0d6efd; /* Primary Blue */
    text-decoration: underline;
}

/* Separator Styling (Matches your .sep class) */
[b-6ivb36mi3s] .mb-quick-nav-sep {
    color: #dee2e6;
    font-size: 0.6rem;
    align-self: center;
    cursor: default;
}

/* Logic to hide the very last separator dot.
   Because the Link and Dot are siblings in the DOM, 
   the last element in the container is always a Dot.
*/
[b-6ivb36mi3s] .mb-quick-nav-sep:last-child {
    display: none;
}
/* /Components/MBTable/MBTable.razor.rz.scp.css */
/* Allows dropdowns to escape the bounds of the table container */
.table-responsive[b-02206yz4nb] {
    overflow: visible;
}

/* Sets a high z-index to ensure the filter row is on top */
.sticky-header-searchable-table-row-one[b-02206yz4nb] {
    position: sticky;
    top: 0px;
    background-color: white;
    z-index: 20;
}

/* Sets a lower z-index so it appears behind the filter row */
.sticky-header-searchable-table-row-two[b-02206yz4nb] {
    position: sticky;
    top: 80px;
    background-color: white;
    z-index: 19;
}

.selectable[b-02206yz4nb] {
    cursor: pointer;
}

/* This rule no longer has overflow: hidden */
.table-responsive .blazored-typeahead[b-02206yz4nb] {
    width: 100%;
}

/* --- THIS NEW RULE IS THE FIX --- */
/* This targets the input's immediate parent,
   clipping the padding overflow without
   affecting the results dropdown.
*/
.table-responsive .blazored-typeahead__controls[b-02206yz4nb] {
    overflow: hidden;
}


.table-responsive .blazored-typeahead__input[b-02206yz4nb],
.table-responsive .blazored-typeahead__selected[b-02206yz4nb],
.table-responsive .blazored-typeahead__input-mask[b-02206yz4nb] {
    /* Sizing and Layout to match other form controls */
    height: 38px;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;

    /* Text Truncation Logic */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

/* @media (max-width: 768px) { */
@media (max-width: 1300px) {

    .mbtable-card-responsive[b-02206yz4nb] {
        width: 100%;
        display: block;
    }

    .mbtable-card-responsive thead[b-02206yz4nb],
    .mbtable-card-responsive tbody[b-02206yz4nb] {
        display: block;
    }

    /* Hide the header row (row-two), but keep the filter row (row-one) */
    .mbtable-card-responsive .sticky-header-searchable-table-row-two[b-02206yz4nb] {
        display: none;
    }

    /* Make the filter row's cells full width */
    .mbtable-card-responsive .sticky-header-searchable-table-row-one td[b-02206yz4nb] {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 0.5rem;
    }

    /* Remove sticky positioning from the filter row on mobile */
    .mbtable-card-responsive .sticky-header-searchable-table-row-one[b-02206yz4nb] {
        position: static;
        display: block;
        height: auto !important;
    }

    /* Prevent iOS Safari scroll issues when focusing inputs */
    .mbtable-card-responsive input[type="text"][b-02206yz4nb],
    .mbtable-card-responsive input[type="number"][b-02206yz4nb],
    .mbtable-card-responsive input[type="date"][b-02206yz4nb] {
        position: relative;
        z-index: 1;
    }
    
    /* Optional: Add smooth scrolling behavior */
    .mbtable-card-responsive .sticky-header-searchable-table-row-one[b-02206yz4nb] {
        scroll-margin-top: 0;
    }

    /* Make each body row look like a "card" */
    .mbtable-card-responsive tbody tr[b-02206yz4nb] {
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        margin-bottom: 0.75rem;
    }

    /* Stack the cells vertically */
    .mbtable-card-responsive tbody td[b-02206yz4nb] {
        /* UPDATED: Use Flexbox to allow height to grow with content/label */
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start; /* Aligns label and value to the top */
        
        text-align: right;
        border-bottom: 1px solid #e9ecef;
        padding: 0.75rem; /* Replaces the padding-left hack */

        /* Override inline styles */
        white-space: normal !important;
        word-break: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
        
        box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
    }

    /* Add the data-label as the cell's "header" */
    .mbtable-card-responsive tbody td[b-02206yz4nb]:before {
        content: attr(data-label);
        
        /* UPDATED: Flex item properties instead of absolute positioning */
        position: static;
        flex: 0 0 45%; /* Fixed 45% width for label */
        
        text-align: left;
        font-weight: bold;
        padding-right: 0.75rem; /* Space between label and content */
        white-space: normal;
        word-break: break-word;
    }

    /* UPDATED: Ensure the content div fills the remaining space */
    .mbtable-card-responsive tbody td > div[b-02206yz4nb] {
        flex: 1;
        text-align: right;
        min-width: 0; /* Prevents flex overflow issues */
    }

    /* Remove border from the last cell in the "card" */
    .mbtable-card-responsive tbody td:last-child[b-02206yz4nb] {
        border-bottom: 0;
    }

    /* Adjust pagination for small screens */
    .pagination[b-02206yz4nb] {
        justify-content: center !important;
    }
}
/* /Components/ScreenSizeViewSwitcher.razor.rz.scp.css */
.ssv-big-screen[b-m5kx1b2hs5] {
    display: block;
}

.ssv-small-screen[b-m5kx1b2hs5] {
    display: none;
}

@media (max-width: 768px) {

    .ssv-big-screen[b-m5kx1b2hs5] {
        display: none;
    }

    .ssv-small-screen[b-m5kx1b2hs5] {
        display: block;
    }
}
